短信
This commit is contained in:
@@ -222,6 +222,19 @@ public class LineInterviewServiceImpl extends LineFlowService implements LineInt
|
||||
updateEvent.setEndTime(endTime);
|
||||
updateEvent.setInterviewDate(startTime);
|
||||
lineCalendarsEventDAO.updateCalendarsEvent(updateEvent);
|
||||
Map<String, String> templateParam = new HashMap<>();
|
||||
templateParam.put("interviewTime", DateUtils.parseDateToStr(DateUtils.NOTICE_DATE, startTime));
|
||||
SMSMsgEnum smsMsgEnum = null;
|
||||
if(InterviewTypeEnum.MEET.equals(interviewType)){
|
||||
smsMsgEnum = SMSMsgEnum.INTERVIEW_TIME_MODIFY;
|
||||
}
|
||||
if(InterviewTypeEnum.INTERVIEW.equals(interviewType)){
|
||||
smsMsgEnum = SMSMsgEnum.FIRST_INTERVIEW_TIME_MODIFY;
|
||||
}
|
||||
if(InterviewTypeEnum.SECOND_INTERVIEW.equals(interviewType)){
|
||||
smsMsgEnum = SMSMsgEnum.SECOND_INTERVIEW_TIME_MODIFY;
|
||||
}
|
||||
commonService.sendSms(lineInfo.getMobile(), smsMsgEnum, templateParam);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user