MybatisPlus-使用and|or循环条件查询
Mybatis-plus and|or 循环条件mybatis-plus and|or 循环条件
mybatis-plus and|or 循环条件
目标sql为:
select
user_name , user_type , user_class , user_age
from user
where
user_type = ‘1’
and (
(user_accountno = ? and user_bankname = ?)
or
(user_accountno = ? and user_banknam
原创
2020-12-08 16:13:29 ·
5054 阅读 ·
1 评论