https://help.fanruan.com/finereport/doc-view-2394.html?source=4#
SELECT * FROM TABLE WHERE 1=1 ${IF(LEN(文本控件名)==0,""," AND 字段 LIKE '%"+文本控件名+"%'")}