跟进任务排序
This commit is contained in:
@@ -169,7 +169,13 @@
|
||||
<if test="deadlineEndTime != null">
|
||||
<![CDATA[ and a.deadline <= #{deadlineEndTime}]]>
|
||||
</if>
|
||||
order by a.deadline desc, a.id desc
|
||||
<if test="taskStatus == 0">
|
||||
order by a.deadline asc, a.id desc
|
||||
</if>
|
||||
<if test="taskStatus == 2">
|
||||
order by a.deadline desc, a.id desc
|
||||
</if>
|
||||
|
||||
</select>
|
||||
|
||||
<select id="getFollowTask" resultMap="BaseResultMap">
|
||||
|
||||
@@ -326,9 +326,6 @@
|
||||
and (cr.id in (
|
||||
select max(id) maxId
|
||||
from call_record group by partner_line_id) or cr.id is null)
|
||||
<if test="filter">
|
||||
and b.deleted = 0
|
||||
</if>
|
||||
<if test="workflowStage!=null and workflowStage!=''">
|
||||
and hpli.workflow_stage = #{workflowStage}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user