执行的sq1,sq2里可以设置参数么 我的sql是这样的,比如sql1:SELECT RIGHT(ui.badgenumber,6) 工号,ui.name 姓名,ic.cardno 卡号
from personnel_issuecard ic,userinfo ui
where ui.userid = ic.UserID_id
and ic.cardstatus = 1
and ui.badgenumber in(
SELECT aml.pin from acc_monitor_log aml
WHERE
aml.time between \'${开始时间}\' and \'${结束时间}\'
and aml.pin <> \'--\'
group by aml.pin
HAVING count(aml.pin) = 0
)