创建1个下拉树,数据集都做好了,然后用它作为查询条件,xxx where 1=1 ${if(len(locationIds)==0,""," and id in ("+locationIds+")")} ) 但是我下拉树选择2个节点时候, debug时候sql语句生产下面的 where 1=1 and id in (100), and id in (101) ) 而且不是我们想要的where 1=1 and id in (100,101) |
最佳回答 |
||||
0
|
|