PC+移动接口
This commit is contained in:
@@ -304,7 +304,7 @@
|
||||
|
||||
<select id="lineList" resultMap="BaseResultMap">
|
||||
select * from xfsg_line_info
|
||||
where deleted = 0
|
||||
where deleted = 0 and line_status = 1 and join_status = 0
|
||||
<if test="userId != null and userId != ''">
|
||||
and investment_manager = #{userId}
|
||||
</if>
|
||||
@@ -323,6 +323,9 @@
|
||||
<if test="request.createTimeStart!=null and request.createTimeEnd!=null">
|
||||
and create_time between #{request.createTimeStart} and #{request.createTimeEnd}
|
||||
</if>
|
||||
<if test="request.investmentManagerUserId != null and request.investmentManagerUserId != ''">
|
||||
and investment_manager = #{request.investmentManagerUserId}
|
||||
</if>
|
||||
<if test="wantShopAreaIds !=null and wantShopAreaIds.size>0">
|
||||
<foreach collection="wantShopAreaIds" item="wantShopAreaId" open="and want_shop_area_id in (" close=")" separator=",">
|
||||
#{wantShopAreaId}
|
||||
@@ -330,4 +333,28 @@
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
||||
<select id="publicLineList" resultMap="BaseResultMap">
|
||||
select * from xfsg_line_info
|
||||
where deleted = 0 and line_status = 0 and join_status = 0
|
||||
<if test="request.userName != null and request.username!=''">
|
||||
and username = #{request.userName}
|
||||
</if>
|
||||
<if test="request.mobile != null and request.mobile!=''">
|
||||
and mobile = #{request.mobile}
|
||||
</if>
|
||||
<if test="request.lineSource != null">
|
||||
and line_source = #{request.lineSource}
|
||||
</if>
|
||||
<if test="request.createTimeStart!=null and request.createTimeEnd!=null">
|
||||
and create_time between #{request.createTimeStart} and #{request.createTimeEnd}
|
||||
</if>
|
||||
<if test="request.lastDevelopmentManagerUserId != null and request.lastDevelopmentManagerUserId != ''">
|
||||
and development_manager = #{request.lastDevelopmentManagerUserId}
|
||||
</if>
|
||||
<if test="request.lastInvestmentManagerUserId != null and request.lastInvestmentManagerUserId != ''">
|
||||
and investment_manager = #{request.lastInvestmentManagerUserId}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user