where 1=1
$if{(cl==1,"and chuli=1"," and chuli=0")}
如果查询条件cl选择1,就把数据chuli=1的筛选出来,否则筛选等于2的
${if(cl==1,"and chuli=1"," and chuli=2")}