通知站内信
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
package com.newyetai.usercenter.notice.constant;
|
||||
|
||||
public enum NoticeBizTypeEnum {
|
||||
|
||||
/** 岗位报名-邀请面试 */
|
||||
POSITION_INVITE("position_invite"),
|
||||
/** 岗位报名-面试结果 */
|
||||
POSITION_INVITE_result("position_invite_result"),
|
||||
;
|
||||
|
||||
private String type;
|
||||
|
||||
NoticeBizTypeEnum(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package com.newyetai.usercenter.notice.constant;
|
||||
|
||||
public enum NoticeTemplateCodeEnum {
|
||||
|
||||
/** 岗位报名-邀请面试 */
|
||||
POSITION_INVITE("position_invite"),
|
||||
/** 岗位报名-面试通过 */
|
||||
POSITION_INTERVIEW_PASS("position_interview_pass"),
|
||||
/** 岗位报名-面试不通过 */
|
||||
POSITION_INTERVIEW_FAIL("position_interview_fail"),
|
||||
;
|
||||
|
||||
private String type;
|
||||
|
||||
NoticeTemplateCodeEnum(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -90,6 +90,7 @@ public class NoticeSendRecordServiceImpl implements NoticeSendRecordService {
|
||||
noticeTemplateMapper.listNoticeTemplateDTO(noticeTemplateQueryDTO);
|
||||
Assert.isTrue(!noticeTemplateDTOs.isEmpty(), "未找到对应通知模版");
|
||||
NoticeTemplateDTO noticeTemplateDTO = noticeTemplateDTOs.get(0);
|
||||
Assert.isTrue(noticeTemplateDTO.getEnabled(), "通知模版未开启");
|
||||
tempOperateDto.setTemplateId(noticeTemplateDTO.getId());
|
||||
// 平台模版指定接收人机构为平台
|
||||
Long receiverOrgId =
|
||||
|
||||
Reference in New Issue
Block a user