修复查询为空问题
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
left join users as u on u.uid = irlr.uid
|
||||
left join account as a on a.uid = irlr.uid
|
||||
<where>
|
||||
<if test="userErBanNo != null">
|
||||
<if test="userErBanNo != null and userErBanNo != ''">
|
||||
and u.erban_no = #{userErBanNo}
|
||||
</if>
|
||||
</where>
|
||||
|
@@ -18,7 +18,7 @@
|
||||
left join hall_member as hm on hm.uid = irw.uid and hm.`status` = 1
|
||||
left join hall as h on h.owner_uid = irw.uid and h.`status` = 1
|
||||
<where>
|
||||
<if test="userErBanNo != null">
|
||||
<if test="userErBanNo != null and userErBanNo != ''">
|
||||
and u.erban_no = #{userErBanNo}
|
||||
</if>
|
||||
<if test="phone != null and phone != ''">
|
||||
|
Reference in New Issue
Block a user