Merge remote-tracking branch 'origin/cc_20230520_partner' into cc_20230520_partner
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.cool.store.mapper;
|
||||
|
||||
import com.cool.store.dto.message.RemindInterviewMsgDTO;
|
||||
import com.cool.store.dto.partner.PartnerInterviewInfoDTO;
|
||||
import com.cool.store.dto.partner.SpecialDateRangeInterviewCountDTO;
|
||||
import com.cool.store.entity.HyPartnerInterviewPlanDO;
|
||||
@@ -157,4 +158,9 @@ public interface HyPartnerInterviewPlanMapper {
|
||||
|
||||
HyPartnerInterviewPlanDO getInterviewPlanByLineId(Long lineId);
|
||||
|
||||
List<RemindInterviewMsgDTO> selectRemindInterviewPlan(@Param("startTime") Date startTime,
|
||||
@Param("endTime") Date endTime,
|
||||
@Param("workflowStage") String workflowStage,
|
||||
@Param("workflowStatus") String workflowStatus);
|
||||
|
||||
}
|
||||
@@ -498,4 +498,24 @@
|
||||
from hy_partner_interview_plan
|
||||
where partner_line_id = #{lineId} and deleted = 0
|
||||
</select>
|
||||
<select id="selectRemindInterviewPlan" resultType="com.cool.store.dto.message.RemindInterviewMsgDTO">
|
||||
select hpip.partner_id as partnerId,
|
||||
hpip.interviewer as interviewerId,
|
||||
hpui.username as partnerName,
|
||||
hpui.mobile as partnerMobile,
|
||||
hpip.start_time as startTime
|
||||
from hy_partner_interview_plan hpip
|
||||
left join hy_partner_line_info hpll on hpip.partner_line_id = hpll.id
|
||||
left join hy_partner_interview hpi on hpip.id = hpi.interview_plan_id
|
||||
left join hy_partner_user_info hpui on hpui.partner_id = hpip.partner_id
|
||||
where hpip.deleted = 0
|
||||
and hpi.deleted = 0
|
||||
and hpll.deleted = 0
|
||||
and hpip.start_time >= #{startTime}
|
||||
and hpip.start_time <= #{endTime}
|
||||
and hpll.workflow_stage = #{workflowStage}
|
||||
and hpll.workflow_status = #{workflowStatus}
|
||||
|
||||
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user