where 1=1
后面该怎么做呢
https://blog.csdn.net/weixin_33304092/article/details/112891462
SELECT * FROM TABLE WHERE to_char(字段名称, 'yyyy' )='2022'
------------------------------
SELECT * FROM TABLE WHERE 1=1 ${if(len(日期控件)==0,""," and to_char(日期字段名称, 'yyyy' )='"+日期控件+"' ")}