select id,name,mobile,sex,duties from ssm_center_admin where id = #p(id)
select count(*) from ssm_center_admin where bid = ?
select id,name,mobile,sex,duties from ssm_center_admin where id = #p(id)
最终生成值为:
select id,name,mobile,sex,duties from ssm_center_admin where id = ?
#p 与 #para 在生成问号占位字符的同时,将其参数值放入链表中,具体看一下 jfinal 文档:
https://www.jfinal.com/doc/5-13