|
@@ -151,7 +151,7 @@
|
|
|
<if test="userId != null and userId != ''">
|
|
<if test="userId != null and userId != ''">
|
|
|
and pb.user_id = #{userId}
|
|
and pb.user_id = #{userId}
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="channelOrigin != null">
|
|
|
|
|
|
|
+ <if test="channelOrigin != null and channelOrigin != ''">
|
|
|
and a.ditch_id = #{channelOrigin}
|
|
and a.ditch_id = #{channelOrigin}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="bannedReason != null and bannedReason != ''">
|
|
<if test="bannedReason != null and bannedReason != ''">
|
|
@@ -191,7 +191,7 @@
|
|
|
<if test="userId != null and userId != ''">
|
|
<if test="userId != null and userId != ''">
|
|
|
and pd.user_id = #{userId}
|
|
and pd.user_id = #{userId}
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="channelOrigin != null">
|
|
|
|
|
|
|
+ <if test="channelOrigin != null and channelOrigin != ''">
|
|
|
and a.ditch_id = #{channelOrigin}
|
|
and a.ditch_id = #{channelOrigin}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="deblockingReason != null and deblockingReason != ''">
|
|
<if test="deblockingReason != null and deblockingReason != ''">
|