私海线索

This commit is contained in:
苏竹红
2023-06-20 21:29:22 +08:00
parent 4c3ca1193a
commit 0d84ceea78

View File

@@ -497,16 +497,25 @@
<if test="storeKeywordType!=null and storeKeywordType=='partnerMobile'"> <if test="storeKeywordType!=null and storeKeywordType=='partnerMobile'">
AND hpuinfo.recommend_partner_mobile like concat('%',#{storeKeyword},'%') AND hpuinfo.recommend_partner_mobile like concat('%',#{storeKeyword},'%')
</if> </if>
<!-- <if test="userIdList!=null and userIdList.size>0">--> <if test="userIdList!=null and userIdList.size>0 and developmentManagerList!=null and developmentManagerList.size==0">
<!-- <foreach collection="userIdList" item="userId" open="and hpli.investment_manager in (" close=")" separator=",">--> <foreach collection="userIdList" item="userId" open="and hpli.investment_manager in (" close=")" separator=",">
<!-- #{userId}--> #{userId}
<!-- </foreach>--> </foreach>
<!-- </if>--> </if>
<!-- <if test="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=",">
<!-- #{developmentManager}--> #{developmentManager}
<!-- </foreach>--> </foreach>
<!-- </if>--> </if>
<if test="userIdList!=null and userIdList.size>0 and developmentManagerList!=null and developmentManagerList.size>0">
<foreach collection="userIdList" item="userId" open="and (hpli.investment_manager in (" close=")" separator=",">
#{userId}
</foreach>
<foreach collection="developmentManagerList" item="developmentManager" open="or hpli.development_manager in (" close="))" separator=",">
#{developmentManager}
</foreach>
</if>
</select> </select>