| | |
| | | throw new CoolException("generate [task] action fail, cause can not acquire lock ..."); |
| | | } |
| | | Date now = new Date(); |
| | | final String sameGroupXy = configService.getVal( "sameGroupXy"); |
| | | final String sameGroupXy = configService.getVal( "sameGroupXy", String.class); |
| | | |
| | | Agv agv = agvService.getById(agvId); |
| | | if (!agvService.judgeEnable(agv.getId(), agvDetail -> agvDetail.getVol() > agv.getChargeLine())) { |
| | |
| | | try { |
| | | if (Cools.isEmpty(agvId, segmentList)) { return; } |
| | | Date now = new Date(); |
| | | JSONObject storeDirection = JSON.parseObject(configService.getVal("storeDirection")); |
| | | JSONObject storeDirection = configService.getVal("storeDirection", JSONObject.class); |
| | | Agv agv = agvService.getById(agvId); |
| | | if (!agvService.judgeEnable(agv.getId())) { |
| | | throw new CoolException("AGV[" + agv.getUuid() + "]当前不可用..."); |