${DaoFormat.getInStrs(ids)}报错呢
${DaoFormat.getInStrs(ids)}怎么会报错呢?送上本地测试代码:String ids = "402881f3633e483e01633e56b1450003,402881f3633e483e01633e56ebed0009";
List<JeecgDemoEntity> ll = jeecgMinidaoDao.test(ids.split(","));
for (JeecgDemoEntity j : ll) {
System.out.println(j.getName());
}
//dao定义
@ResultType(JeecgDemoEntity.class)
@Sql("select * from jeecg_demo where id in ( ${DaoFormat.getInStrs(ids)} )")
public List<JeecgDemoEntity> test(@Param("ids") String[] ids);送上教程地址:
http://minidao.mydoc.io/?t=300146
jeecg_ty 发表于 2018-12-6 20:22 static/image/common/back.gif
送上本地测试代码:送上教程地址:
http://minidao.mydoc.io/?t=300146
就是这样写的,还是报错 jeecg_ty 发表于 2018-12-6 20:22 static/image/common/back.gif
送上本地测试代码:送上教程地址:
http://minidao.mydoc.io/?t=300146
就是这样写的,还是报错
页:
[1]