This commit is contained in:
77
2024-05-20 01:18:08 +08:00
parent 74f0f074c1
commit 5bfdde942c
23 changed files with 249 additions and 71 deletions

View File

@@ -21,6 +21,9 @@
<if test="bo.phoneNumber != null and bo.phoneNumber != ''">
and t1.phone_number like concat('%',#{bo.phoneNumber},'%')
</if>
<if test="bo.userCode != null and bo.userCode != ''">
and t1.user_code = #{bo.userCode}
</if>
<if test="bo.nickName != null and bo.nickName != ''">
and (t1.nick_name like concat('%',#{bo.nickName},'%') or t2.real_name like concat('%',#{bo.nickName},'%'))
</if>
@@ -42,6 +45,9 @@
<if test="bo.phoneNumber != null and bo.phoneNumber != ''">
and t1.phone_number like concat('%',#{bo.phoneNumber},'%')
</if>
<if test="bo.userCode != null and bo.userCode != ''">
and t1.user_code = #{bo.userCode}
</if>
<if test="bo.nickName != null and bo.nickName != ''">
and (t1.nick_name like concat('%',#{bo.nickName},'%') or t2.real_name like concat('%',#{bo.nickName},'%'))
</if>