第一次执行insert正常,第二次执行时错误,多了个id,日志如下:
另外发现:当前非处于第一页,增加和删除之后都会回到第一页,能不能象修改那样当前是在第几页fu 增加和删除后也停留在该页?
JFinal action report -------- 2016-06-04 19:20:40 ------------------------------
Controller : com.eova.widget.grid.GridController.(GridController.java:1)
Method : query
UrlPara : songs_code-songs_code
Interceptor : com.eova.interceptor.LoginInterceptor.(LoginInterceptor.java:1)
Parameter : page=2 rows=15
--------------------------------------------------------------------------------
Sql: insert into `songsselect`(`songid`) values(?)------------------------------------------第一次执行正常
JFinal action report -------- 2016-06-04 19:20:46 ------------------------------
Controller : com.oss.songs.SongsselectController.(SongsselectController.java:1)
Method : add
UrlPara : 24
Interceptor : com.eova.interceptor.LoginInterceptor.(LoginInterceptor.java:1)
--------------------------------------------------------------------------------
JFinal action report -------- 2016-06-04 19:20:50 ------------------------------
Controller : com.eova.core.meta.MetaController.(MetaController.java:1)
Method : fields
UrlPara : selectview
Interceptor : com.eova.interceptor.LoginInterceptor.(LoginInterceptor.java:1)
--------------------------------------------------------------------------------
Sql: select count(*) from songsselectview
Sql: select * from songsselectview limit 0, 15
JFinal action report -------- 2016-06-04 19:20:50 ------------------------------
Controller : com.eova.widget.grid.GridController.(GridController.java:1)
Method : query
UrlPara : selectview-selectview
Interceptor : com.eova.interceptor.LoginInterceptor.(LoginInterceptor.java:1)
Parameter : page=1 rows=15
--------------------------------------------------------------------------------
Sql: insert into `songsselect`(`id`, `songid`) values(?, ?)-----------------------------第二次执行时错误,多了个id
06-04 19:21:00[ERROR]/songsselect/add/14
id的自增功能有问题了