声明了@Readonly 注解,但是在插入的时候这个字段还是被作为了参数传递了过来,为什么?
@Readonly
List<String> dateList;
-----------------------------------------------------------
Caused by: java.lang.IllegalArgumentException: Class class com.znly.app.front.modules.models.Com_power_month didn't have field named (dateList)
at org.nutz.dao.impl.sql.pojo.InsertByChainPItem._colname(InsertByChainPItem.java:66)
at org.nutz.dao.impl.sql.pojo.InsertByChainPItem.joinSql(InsertByChainPItem.java:37)
at org.nutz.dao.impl.jdbc.NutPojo.toPreparedStatement(NutPojo.java:103)
at org.nutz.dao.impl.sql.NutStatement.forPrint(NutStatement.java:194)
at org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388)
at org.nutz.dao.impl.interceptor.DaoLogInterceptor.filter(DaoLogInterceptor.java:20)
at org.nutz.dao.DaoInterceptorChain.doChain(DaoInterceptorChain.java:64)
at org.nutz.dao.DaoInterceptorChain.invoke(DaoInterceptorChain.java:139)
at org.nutz.dao.impl.sql.run.NutDaoRunner.runCallback(NutDaoRunner.java:158)
at org.nutz.dao.impl.sql.run.NutDaoRunner._runWithoutTransaction(NutDaoRunner.java:125)