超级管理员 2025-08-15 16:55 回复 可以使用,select * from tbl_student where #{jeelowcode_auto_where} 这样的话,就根据前端配置来自动构造where条件了
神州云合技术 2025-08-15 17:39 回复 是的,我知道您这种用法,但是我想实现类似select * from tabel where 开始日期>= #{jeelowcode_auto_where}.开始日期 and 结束日期<=#{jeelowcode_auto_where}.结束日期 ;的功能,咱们现在那个日期范围是通过范围筛选某一个日期字段的数据在这个范围里面。
超级管理员 2025-08-15 17:44 回复 如果查询提交上来的参数是searchName 可以通过#{searchName} 这样也可以接到参。select * from tabel where 开始日期>= #{searchName1} and 结束日期<=#{searchName2}
林枫 2025-11-28 15:24 回复 @超级管理员 select * from hr_employee where #{jeelowcode_auto_where} ORDER BY xh IS NULL,xh ASC; 这种语句在sql增强中为什么 报错。
可以使用,
select * from tbl_student where #{jeelowcode_auto_where} 这样的话,就根据前端配置来自动构造where条件了