SpringBoot中使用SpringDataJPA
2020-07-28 00:17 Spiderman25 阅读(80) 评论(0) 收藏 举报https://www.cnblogs.com/wadmwz/p/10313495.html
and if(:userName is not null and :userName!='', a=:userName, 1=1)
and if(:list is not null, a in (:list), 1=1) list可以为collection也可以为array,但无法判断是否为空集
浙公网安备 33010602011771号