|
|
|
@ -94,7 +94,7 @@ public class TaskSchedule {
|
|
|
|
|
.taskId(taskEntity.getId()) |
|
|
|
|
.businessKey("巡检任务结束提醒") |
|
|
|
|
.businessClassify(MessageConstants.BusinessClassifyEnum.INSPECT.getKey()) |
|
|
|
|
.content("您有一条未执行的任务【"+taskEntity.getPlanName()+"】将于"+ DateUtil.format(taskEntity.getPlanEndTime(),DateUtil.PATTERN_DATETIME)+"截止,请及时处理!") |
|
|
|
|
.content("您有巡检工作任务("+taskEntity.getPlanName()+")即将在"+DateUtil.format(taskEntity.getPlanEndTime(),DateUtil.PATTERN_DATETIME)+"结束,请及时处理。") |
|
|
|
|
.subject("巡检任务结束提醒") |
|
|
|
|
.pusher(taskEntity.getUserId().toString()) |
|
|
|
|
.createUser(taskEntity.getCreateUser()) |
|
|
|
@ -111,7 +111,7 @@ public class TaskSchedule {
|
|
|
|
|
appMessage.setDeptId(taskEntity.getCreateDept()); |
|
|
|
|
appMessage.setBusinessKey("巡检任务结束提醒"); |
|
|
|
|
appMessage.setBusinessClassify(MessageConstants.BusinessClassifyEnum.INSPECT.getKey()); |
|
|
|
|
appMessage.setContent("您有一条未执行的任务【"+taskEntity.getPlanName()+"】将于"+ DateUtil.format(taskEntity.getPlanEndTime(),DateUtil.PATTERN_DATETIME)+"截止,请及时处理!"); |
|
|
|
|
appMessage.setContent("您有巡检工作任务("+taskEntity.getPlanName()+")即将在"+DateUtil.format(taskEntity.getPlanEndTime(),DateUtil.PATTERN_DATETIME)+"结束,请及时处理。"); |
|
|
|
|
appMessage.setTaskId(taskEntity.getId()); |
|
|
|
|
appMessage.setSubject("巡检任务结束提醒"); |
|
|
|
|
appMessage.setUserIds(taskEntity.getUserId().toString()); |
|
|
|
|