line_status
This commit is contained in:
@@ -265,7 +265,7 @@
|
|||||||
b.accept_adjust_type as acceptAdjustType,
|
b.accept_adjust_type as acceptAdjustType,
|
||||||
b.deadline as deadline
|
b.deadline as deadline
|
||||||
from hy_partner_line_info a left join hy_partner_intent_info b on a.id = b.partner_line_id
|
from hy_partner_line_info a left join hy_partner_intent_info b on a.id = b.partner_line_id
|
||||||
where a.deleted = 0
|
where deleted = 0 and line_status!=3
|
||||||
<if test="userId!=null and userId!=''">
|
<if test="userId!=null and userId!=''">
|
||||||
and a.investment_manager = #{userId}
|
and a.investment_manager = #{userId}
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
@@ -312,7 +312,7 @@
|
|||||||
left join hy_partner_interview a on hpli.id = a.partner_line_id
|
left join hy_partner_interview a on hpli.id = a.partner_line_id
|
||||||
left join hy_partner_interview_plan b on a.interview_plan_id = b.id
|
left join hy_partner_interview_plan b on a.interview_plan_id = b.id
|
||||||
<where>
|
<where>
|
||||||
and hpli.deleted = 0 and b.deleted = 0
|
and hpli.deleted = 0 and hpli.line_status!=3 and b.deleted = 0
|
||||||
<if test="workflowStage!=null and workflowStage!=''">
|
<if test="workflowStage!=null and workflowStage!=''">
|
||||||
and hpli.workflow_stage = #{workflowStage}
|
and hpli.workflow_stage = #{workflowStage}
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
@@ -267,11 +267,10 @@
|
|||||||
IFNULL(sum(if(workflow_stage=2 and workflow_status = 1,1,0)),0) as reservationInterviewCount,
|
IFNULL(sum(if(workflow_stage=2 and workflow_status = 1,1,0)),0) as reservationInterviewCount,
|
||||||
IFNULL(sum(if(workflow_stage=3 and workflow_status = 4,1,0)),0) as qualifiedInterviewCount
|
IFNULL(sum(if(workflow_stage=3 and workflow_status = 4,1,0)),0) as qualifiedInterviewCount
|
||||||
from hy_partner_line_info
|
from hy_partner_line_info
|
||||||
<where>
|
where deleted = 0 and line_status!=3
|
||||||
<if test="userId!=null and userId!=''">
|
<if test="userId!=null and userId!=''">
|
||||||
and investment_manager = #{userId}
|
and investment_manager = #{userId}
|
||||||
</if>
|
</if>
|
||||||
</where>
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
@@ -281,11 +280,10 @@
|
|||||||
IFNULL(sum(if(workflow_stage=2 and workflow_status = 0,1,0)),0) as reservationInterviewCount,
|
IFNULL(sum(if(workflow_stage=2 and workflow_status = 0,1,0)),0) as reservationInterviewCount,
|
||||||
IFNULL(sum(if(workflow_stage=3 and workflow_status = 5,1,0)),0) as qualifiedInterviewCount
|
IFNULL(sum(if(workflow_stage=3 and workflow_status = 5,1,0)),0) as qualifiedInterviewCount
|
||||||
from hy_partner_line_info
|
from hy_partner_line_info
|
||||||
<where>
|
where deleted = 0 and line_status!=3
|
||||||
<if test="userId!=null and userId!=''">
|
<if test="userId!=null and userId!=''">
|
||||||
and investment_manager = #{userId}
|
and investment_manager = #{userId}
|
||||||
</if>
|
</if>
|
||||||
</where>
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectPartnerLineInfoAndBaseInfo" resultType="com.cool.store.dto.partner.PartnerLineInfoAndBaseInfoDTO">
|
<select id="selectPartnerLineInfoAndBaseInfo" resultType="com.cool.store.dto.partner.PartnerLineInfoAndBaseInfoDTO">
|
||||||
|
|||||||
Reference in New Issue
Block a user