${if(料盒首名称==纯,"regexp_like(BOXNUM,'^[0-9]+[.]?$[0-9]*$') "," B.BOXNUM LIKE '${料盒首名称}%'")}
这样写为什么不可以
select * from tabname where 1=1 ${if(料盒首名称="纯"," and regexp_like(BOXNUM,'^[0-9]+[.]?$[0-9]*$')"," and B.BOXNUM LIKE '" + 料盒首名称 + "%'")}
=======