${if( 参数=“A”,sjzzbm like '%${type}%' ,sjzzbm not like '%${type}%' )} 这样怎么拼接 ,写了好几种都报错
${IF(参数 = 'A',"AND SJ LIKE '%"+ TYPE + "%'","")}
试试这个