原文地址:http://blog.ich8.com/post/3948修改 modules/admin-full/luasrc/controller/admin/index.lua 文件–[[LuCI - Lua Configuration InterfaceCopyright 2008 Steven Barth <steven@midlink.org>Licensed under the Apache License, Version 2.0 (the "License");you may not use this fi...【阅读全文】
正常写法: 代码如下:select * from table_name t where t.field1 in (1,2,3,4,...);当在写存储过程in里面的列表用个传入参数代入的时候,就需要用到如下方式:主要用到find_in_set函数 代码如下:select * from table_name t where find_in_set(t.field1,'1,2,3,4');当然还可以比较笨实的方法,就是...【阅读全文】