| | |
| | | package com.zy.acs.conveyor.core.operation.handler; |
| | | |
| | | |
| | | import com.zy.acs.common.utils.News; |
| | | import com.zy.acs.common.utils.RedisSupport; |
| | | import com.zy.acs.conveyor.controller.vo.OpenBusSubmitParam; |
| | | import com.zy.acs.conveyor.controller.vo.TaskDto; |
| | |
| | | // 判断是否满足条件 |
| | | if (!staProtocol.isLoading()) { |
| | | if (staProtocol.getWorkNo() > 0) { |
| | | log.error("输送线上有任务号无货,需要人工处理:{}", staProtocol.getSiteId()); |
| | | News.error("输送线上有货无任务号,需要人工处理:{}", staProtocol.getSiteId()); |
| | | //log.error("输送线上有任务号无货,需要人工处理:{}", staProtocol.getSiteId()); |
| | | } |
| | | continue; |
| | | } |
| | | if (staProtocol.getWorkNo() == 0) { |
| | | log.error("输送线上有货无任务号,需要人工处理:{}", staProtocol.getSiteId()); |
| | | News.error("输送线上有货无任务号,需要人工处理:{}", staProtocol.getSiteId()); |
| | | //log.error("输送线上有货无任务号,需要人工处理:{}", staProtocol.getSiteId()); |
| | | continue; |
| | | } |
| | | if (staProtocol.isAutoing()) { |
| | |
| | | } |
| | | } |
| | | } else { |
| | | log.error("输送线为自动,需要开启:{}", staProtocol.getSiteId()); |
| | | log.error("输送线未自动,需要开启:{}", staProtocol.getSiteId()); |
| | | } |
| | | } |
| | | } |