线索搜索sql修正

This commit is contained in:
陈伏伽
2023-10-26 11:09:40 +08:00
parent 59e3fa13fa
commit d6d71b76f6

View File

@@ -614,7 +614,7 @@
</foreach> </foreach>
</if> </if>
<if test="userPortraitQueryType!=null and userPortraitQueryType=='blank'"> <if test="userPortraitQueryType!=null and userPortraitQueryType=='blank'">
bi.user_portrait is null AND bi.user_portrait is null
</if> </if>
<if test="userChannelIdList!=null and userChannelIdList.size>0 and userChannelQueryType!=null and userChannelQueryType == 'contains' "> <if test="userChannelIdList!=null and userChannelIdList.size>0 and userChannelQueryType!=null and userChannelQueryType == 'contains' ">
@@ -628,7 +628,7 @@
</foreach> </foreach>
</if> </if>
<if test="userChannelQueryType!=null and userChannelQueryType == 'blank' "> <if test="userChannelQueryType!=null and userChannelQueryType == 'blank' ">
hpuinfo.user_channel_id is null AND hpuinfo.user_channel_id is null
</if> </if>
<if test="userIdList!=null and userIdList.size==0 and developmentManagerList!=null and developmentManagerList.size>0"> <if test="userIdList!=null and userIdList.size==0 and developmentManagerList!=null and developmentManagerList.size>0">
<foreach collection="developmentManagerList" item="developmentManager" open="and hpli.development_manager in (" close=")" separator=","> <foreach collection="developmentManagerList" item="developmentManager" open="and hpli.development_manager in (" close=")" separator=",">