看帆软给的文档是普通分层构建,自动构建怎么多值查询有大佬知道吗??
select * from 表名称
where 1=1
${if(len(cs)=0,"","and 表中字段 in ('"+SUBSTITUTE(cs,",","','")+"')")}
多选下拉树实现多值查询
select * FROM S订单 as 订单 where 货主地区 is not null ${if(len(地区)=0,"","and 货主城市 in ('"+REPLACE(地区,",","','")+"')")}
不要怀疑 是一样的处理