diff --git a/coolstore-partner-dao/src/main/resources/mapper/HyPartnerInterviewPlanMapper.xml b/coolstore-partner-dao/src/main/resources/mapper/HyPartnerInterviewPlanMapper.xml index 2700a97ca..d41f33d6b 100644 --- a/coolstore-partner-dao/src/main/resources/mapper/HyPartnerInterviewPlanMapper.xml +++ b/coolstore-partner-dao/src/main/resources/mapper/HyPartnerInterviewPlanMapper.xml @@ -264,6 +264,7 @@ and interview_date BETWEEN #{currentDate} and #{endDate} + and deleted = 0 and application_approved = 1 group by interview_date @@ -275,6 +276,7 @@ ifnull(sum(if(start_time>#{startTime} and end_time #{endTime},1,0)),0) as lastSevenDayInterviewCount FROM hy_partner_interview_plan where interviewer = #{userId} + and deleted = 0 and application_approved = 1