接上面,不选择条件,默认带出全部数据
select * from temp3 where 1=1
${if(len(工单编号)=0,""," and 工单编号 in ('"+工单编号+"')")}
${if(len(完工情况)=0,""," and 完工情况 in ('"+完工情况+"')")}
---------
SELECT * FROM TEMP3 WHERE 1=1 ${IF(LEN(工单编号)==0,""," AND TEMP......")} ${IF(,""," AND ....")}