bug修复
This commit is contained in:
@@ -316,14 +316,10 @@
|
|||||||
b.create_time as createTime,
|
b.create_time as createTime,
|
||||||
b.room_id as roomId
|
b.room_id as roomId
|
||||||
from hy_partner_interview a left join hy_partner_interview_plan b on a.interview_plan_id = b.id
|
from hy_partner_interview a left join hy_partner_interview_plan b on a.interview_plan_id = b.id
|
||||||
<where>
|
where a.status = #{workflowStatus}
|
||||||
<if test="userId!=null and userId!=''">
|
<if test="userId!=null and userId!=''">
|
||||||
and a.interviewer = #{userId}
|
and a.interviewer = #{userId}
|
||||||
</if>
|
</if>
|
||||||
<if test="workflowStatus!=null and workflowStatus!=''">
|
|
||||||
and a.status = #{workflowStatus}
|
|
||||||
</if>
|
|
||||||
</where>
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getInterviewList" resultType="com.cool.store.vo.interview.InterviewVO">
|
<select id="getInterviewList" resultType="com.cool.store.vo.interview.InterviewVO">
|
||||||
|
|||||||
@@ -279,7 +279,7 @@
|
|||||||
select
|
select
|
||||||
IFNULL(sum(if(workflow_stage=1 and workflow_status = 0,1,0)),0) as intentApplyApproveCount,
|
IFNULL(sum(if(workflow_stage=1 and workflow_status = 0,1,0)),0) as intentApplyApproveCount,
|
||||||
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 = 4,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>
|
||||||
<if test="userId!=null and userId!=''">
|
<if test="userId!=null and userId!=''">
|
||||||
|
|||||||
Reference in New Issue
Block a user