com.jfinal.plugin.activerecord.dialect.Dialect#forPaginateTotalRow
如果SQL语句在select与form中间用到了#para指令,会报错
Parameter index out of range (2 > number of parameters, which is 1).
比如
- SELECT
- (
- SELECT
- count(*)
- FROM
- role
- WHERE
- uid = #para(id)
- ) as number
- from user as a where id = #para(id)
请问 这种怎么解决
项目:JFinal