今天用Db.update sqlPara
if(points == null){ total = detal; sqlPara = this.getPointModifyInsertSqlPara(member, pointType, detal); }else{ total = points.getPointValue().add(detal); sqlPara = this.getPointModifyUpdateSqlPara(member, pointType, detal); } int ret = Db.update(sqlPara);
报了下面这个错
java.lang.RuntimeException: java.lang.NoSuchMethodError: com.jfinal.plugin.activerecord.Db.update(Lcom/jfinal/plugin/activerecord/SqlPara;)I at com.jfinal.aop.Invocation.invoke(Invocation.java:93) at com.jfinal.plugin.activerecord.tx.Tx.intercept(Tx.java:63) at com.jfinal.aop.Invocation.invoke(Invocation.java:67) at com.jfinal.aop.Callback.intercept(Callback.java:96) at com.jfinalshop.service.PointsService$$EnhancerByCGLIB$$702aa461.modifySinglePointValue(<generated>) at com.jfinalshop.service.PointsService.modifyMultiPointValue(PointsService.java:176)
但是源码里我看到有这个方法,断点没法进去,项目clean了也没用,有人遇到过这个问题吗
项目:JFinal