|
|
@ -958,7 +958,7 @@ public class ImsDutyRecServiceImpl extends BaseServiceImpl<ImsDutyRecMapper, Ims |
|
|
|
private void remondingStationV2(User admin, String userName, ImsDutyClassEntity |
|
|
|
private void remondingStationV2(User admin, String userName, ImsDutyClassEntity |
|
|
|
classEntity, String tenantId, Long taskId, Long createDept, Long createUser) { |
|
|
|
classEntity, String tenantId, Long taskId, Long createDept, Long createUser) { |
|
|
|
MessagePushRecordDto messagePushRecordDto = new MessagePushRecordDto(); |
|
|
|
MessagePushRecordDto messagePushRecordDto = new MessagePushRecordDto(); |
|
|
|
messagePushRecordDto.setBusinessClassify(MessageConstants.BusinessClassifyEnum.DUTY.getKey()); |
|
|
|
messagePushRecordDto.setBusinessClassify(OperationalConstants.MessageClassifyEnum.MESSAGE_REMINDSY.getVal()); |
|
|
|
messagePushRecordDto.setBusinessKey(MessageConstants.BusinessClassifyEnum.DUTY.getKey()); |
|
|
|
messagePushRecordDto.setBusinessKey(MessageConstants.BusinessClassifyEnum.DUTY.getKey()); |
|
|
|
messagePushRecordDto.setSubject(MessageConstants.BusinessClassifyEnum.DUTY.getDescription()); |
|
|
|
messagePushRecordDto.setSubject(MessageConstants.BusinessClassifyEnum.DUTY.getDescription()); |
|
|
|
messagePushRecordDto.setTaskId(taskId); |
|
|
|
messagePushRecordDto.setTaskId(taskId); |
|
|
@ -987,7 +987,7 @@ public class ImsDutyRecServiceImpl extends BaseServiceImpl<ImsDutyRecMapper, Ims |
|
|
|
private void remondingHead(PushExtrasReq req, int type, Long managerId, String tenantId, Long createDept, Long createUser) { |
|
|
|
private void remondingHead(PushExtrasReq req, int type, Long managerId, String tenantId, Long createDept, Long createUser) { |
|
|
|
req.setTitle("交接班"); |
|
|
|
req.setTitle("交接班"); |
|
|
|
req.setType(DutyRecProcessConstant.MESSAGE_CLASS_TYPE_DUTY_REC); |
|
|
|
req.setType(DutyRecProcessConstant.MESSAGE_CLASS_TYPE_DUTY_REC); |
|
|
|
req.setBusinessClassify(DutyRecProcessConstant.MESSAGE_CLASS_DAY); |
|
|
|
req.setBusinessClassify(OperationalConstants.MessageClassifyEnum.MESSAGE_REMINDSY.getVal()); |
|
|
|
if (type == OperationalConstants.RecTypeEnum.HAND_REMIND.getVal()) { |
|
|
|
if (type == OperationalConstants.RecTypeEnum.HAND_REMIND.getVal()) { |
|
|
|
req.setPushAlert("您距离本次值班结束时间只剩 15 分钟,请尽快进行交班工作"); |
|
|
|
req.setPushAlert("您距离本次值班结束时间只剩 15 分钟,请尽快进行交班工作"); |
|
|
|
} else if (type == OperationalConstants.RecTypeEnum.HAND_DELAY.getVal()) { |
|
|
|
} else if (type == OperationalConstants.RecTypeEnum.HAND_DELAY.getVal()) { |
|
|
@ -1002,7 +1002,7 @@ public class ImsDutyRecServiceImpl extends BaseServiceImpl<ImsDutyRecMapper, Ims |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private void remondingHeadV2(int type, Long managerId, String userName, String tenantId, Long createDept, Long taskId, Long createUser) { |
|
|
|
private void remondingHeadV2(int type, Long managerId, String userName, String tenantId, Long createDept, Long taskId, Long createUser) { |
|
|
|
MessagePushRecordDto messagePushRecordDto = new MessagePushRecordDto(); |
|
|
|
MessagePushRecordDto messagePushRecordDto = new MessagePushRecordDto(); |
|
|
|
messagePushRecordDto.setBusinessClassify("dailyRemind"); |
|
|
|
messagePushRecordDto.setBusinessClassify(OperationalConstants.MessageClassifyEnum.MESSAGE_REMINDSY.getVal()); |
|
|
|
messagePushRecordDto.setBusinessKey(MessageConstants.BusinessClassifyEnum.DUTY.getKey()); |
|
|
|
messagePushRecordDto.setBusinessKey(MessageConstants.BusinessClassifyEnum.DUTY.getKey()); |
|
|
|
messagePushRecordDto.setSubject(MessageConstants.BusinessClassifyEnum.DUTY.getDescription()); |
|
|
|
messagePushRecordDto.setSubject(MessageConstants.BusinessClassifyEnum.DUTY.getDescription()); |
|
|
|
messagePushRecordDto.setTaskId(taskId); |
|
|
|
messagePushRecordDto.setTaskId(taskId); |
|
|
@ -1032,7 +1032,7 @@ public class ImsDutyRecServiceImpl extends BaseServiceImpl<ImsDutyRecMapper, Ims |
|
|
|
classEntity, String date, String tenantId, Long createDept, Long createUser) { |
|
|
|
classEntity, String date, String tenantId, Long createDept, Long createUser) { |
|
|
|
req.setTitle("交接班"); |
|
|
|
req.setTitle("交接班"); |
|
|
|
req.setType(DutyRecProcessConstant.MESSAGE_CLASS_TYPE_DUTY_REC); |
|
|
|
req.setType(DutyRecProcessConstant.MESSAGE_CLASS_TYPE_DUTY_REC); |
|
|
|
req.setBusinessClassify(DutyRecProcessConstant.MESSAGE_CLASS_DAY); |
|
|
|
req.setBusinessClassify(OperationalConstants.MessageClassifyEnum.MESSAGE_REMINDSY.getVal()); |
|
|
|
if (type == OperationalConstants.RecTypeEnum.HAND_REMIND.getVal()) { |
|
|
|
if (type == OperationalConstants.RecTypeEnum.HAND_REMIND.getVal()) { |
|
|
|
req.setPushAlert(userName + " 于 " + date + " 时已提交交班工作"); |
|
|
|
req.setPushAlert(userName + " 于 " + date + " 时已提交交班工作"); |
|
|
|
} else if (type == OperationalConstants.RecTypeEnum.HAND_DELAY.getVal()) { |
|
|
|
} else if (type == OperationalConstants.RecTypeEnum.HAND_DELAY.getVal()) { |
|
|
@ -1049,7 +1049,7 @@ public class ImsDutyRecServiceImpl extends BaseServiceImpl<ImsDutyRecMapper, Ims |
|
|
|
private void remondingCarryV2(int type, Long managerId, String userName, ImsDutyClassEntity |
|
|
|
private void remondingCarryV2(int type, Long managerId, String userName, ImsDutyClassEntity |
|
|
|
classEntity, String date, String tenantId, Long createDept, Long taskId, Long createUser) { |
|
|
|
classEntity, String date, String tenantId, Long createDept, Long taskId, Long createUser) { |
|
|
|
MessagePushRecordDto messagePushRecordDto = new MessagePushRecordDto(); |
|
|
|
MessagePushRecordDto messagePushRecordDto = new MessagePushRecordDto(); |
|
|
|
messagePushRecordDto.setBusinessClassify("dailyRemind"); |
|
|
|
messagePushRecordDto.setBusinessClassify(OperationalConstants.MessageClassifyEnum.MESSAGE_REMINDSY.getVal()); |
|
|
|
messagePushRecordDto.setBusinessKey(MessageConstants.BusinessClassifyEnum.DUTY.getKey()); |
|
|
|
messagePushRecordDto.setBusinessKey(MessageConstants.BusinessClassifyEnum.DUTY.getKey()); |
|
|
|
messagePushRecordDto.setSubject(MessageConstants.BusinessClassifyEnum.DUTY.getDescription()); |
|
|
|
messagePushRecordDto.setSubject(MessageConstants.BusinessClassifyEnum.DUTY.getDescription()); |
|
|
|
messagePushRecordDto.setTaskId(taskId); |
|
|
|
messagePushRecordDto.setTaskId(taskId); |
|
|
|