${IF(LEN(fworkshop) = 0 , "" ,"AND "+{fworkshop}+" "+{AAA}+" = '"+fcondition+"'")}我AAA这个参数应该怎么写,我这样写,这几个参数就都没了
${IF(LEN(fworkshop) = 0 , "" ,"AND "+fworkshop+ AAA+" = '"+fcondition+"'")}
你里面怎么三个参数???你最终要如何?
参考这总格式
where 1=1
${if(len(参数)==0,""," and 字段 ='"+参数+"'")}
${IF(LEN(fworkshop) = 0 , "" ,"AND '"+fworkshop+AAA+"'='"+fcondition+"'")}