|
@ -118,14 +118,14 @@ public class HNMLTask extends AbstractTask { |
|
|
task.setRemark("未存在生产该料的压机!"); |
|
|
task.setRemark("未存在生产该料的压机!"); |
|
|
taskService.updateById(task); |
|
|
taskService.updateById(task); |
|
|
// 消息通知
|
|
|
// 消息通知
|
|
|
noticeService.createNotice(task.getRemark(), TASK_CONFIG_CODE + task.getTask_code(), NoticeTypeEnum.WARN.getCode()); |
|
|
noticeService.createNotice(task.getRemark(), TASK_CONFIG_CODE + task.getPoint_code1(), NoticeTypeEnum.WARN.getCode()); |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
|
if (ObjectUtil.isNotEmpty(point.getTask_warn())) { |
|
|
if (ObjectUtil.isNotEmpty(point.getTask_warn())) { |
|
|
task.setRemark(point.getTask_warn()); |
|
|
task.setRemark(point.getTask_warn()); |
|
|
taskService.updateById(task); |
|
|
taskService.updateById(task); |
|
|
// 消息通知
|
|
|
// 消息通知
|
|
|
noticeService.createNotice("找不到困料点", TASK_CONFIG_CODE + task.getTask_code(), NoticeTypeEnum.WARN.getCode()); |
|
|
noticeService.createNotice("找不到困料点", TASK_CONFIG_CODE + task.getPoint_code1(), NoticeTypeEnum.WARN.getCode()); |
|
|
continue; |
|
|
continue; |
|
|
} |
|
|
} |
|
|
log.info("任务【" + task.getTask_code() + "】叫料标识:{}", point.getRecord_id()); |
|
|
log.info("任务【" + task.getTask_code() + "】叫料标识:{}", point.getRecord_id()); |
|
|