待分配线索
This commit is contained in:
@@ -436,14 +436,20 @@
|
||||
<select id="publicLineList" resultMap="BaseResultMap">
|
||||
select * from xfsg_line_info
|
||||
where deleted = 0 and line_status = 0 and join_status = 0
|
||||
<if test="publicFlag">
|
||||
and investment_manager is not null
|
||||
</if>
|
||||
<if test="publicFlag==false">
|
||||
and investment_manager is null
|
||||
</if>
|
||||
<if test="request.userName != null and request.username!=''">
|
||||
and username = #{request.userName}
|
||||
and username like concat('%',#{request.userName},'%')
|
||||
</if>
|
||||
<if test="request.mobile != null and request.mobile!=''">
|
||||
and mobile = #{request.mobile}
|
||||
and mobile like concat('%', #{request.mobile},'%')
|
||||
</if>
|
||||
<if test="request.keyword != null and request.keyword!=''">
|
||||
and (username like #{request.keyword} or mobile like #{request.keyword})
|
||||
and (username like concat('%',#{request.keyword},'%') or mobile like concat('%', #{request.keyword},'%'))
|
||||
</if>
|
||||
<if test="request.lineSource != null">
|
||||
and line_source = #{request.lineSource}
|
||||
|
||||
Reference in New Issue
Block a user