|
|
|
@ -1184,23 +1184,6 @@ public class ImsDutyRecServiceImpl extends ServiceImpl<ImsDutyRecMapper, ImsDuty
|
|
|
|
|
log.info(booleanR.toString()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 消息提醒接班人 启用 |
|
|
|
|
*/ |
|
|
|
|
private void remondingCarry(PushExtrasReq req, int type, Long managerId, String userName, ImsDutyClassEntity |
|
|
|
|
classEntity, String date, String tenantId, Long createDept, Long createUser) { |
|
|
|
|
req.setTitle("交接班"); |
|
|
|
|
req.setType(DutyRecProcessConstant.MESSAGE_CLASS_TYPE_DUTY_REC); |
|
|
|
|
req.setBusinessClassify(MessageConstants.BusinessClassifyEnum.DUTY.getKey()); |
|
|
|
|
if (type == OperationalConstants.RecTypeEnum.HAND_REMIND.getVal()) { |
|
|
|
|
req.setPushAlert(userName + " 于 " + date + " 时已提交交班工作"); |
|
|
|
|
} else if (type == OperationalConstants.RecTypeEnum.HAND_DELAY.getVal()) { |
|
|
|
|
req.setPushAlert(userName + "值班日期为(" + classEntity.getStartTime() + " - " + classEntity.getEndTime() + "),目前已延迟交班"); |
|
|
|
|
} else if (type == OperationalConstants.RecTypeEnum.REMIND_HAND_PERSON.getVal()) { |
|
|
|
|
req.setPushAlert("您已交班延迟,请尽快进行交班工作"); |
|
|
|
|
} |
|
|
|
|
messagePushClient.sendMessage(managerId.toString(), req, tenantId, createDept, createUser); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 消息提醒接班人 |
|
|
|
|