私海线索
This commit is contained in:
@@ -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>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user