| | |
| | | |
| | | private void patrolOfMove(String agvNo) { |
| | | Long agvId = agvService.getAgvId(agvNo); |
| | | AgvDetail agvDetail = agvDetailService.selectMajorByAgvId(agvId); |
| | | if (0 < travelService.count(new LambdaQueryWrapper<Travel>() |
| | | .eq(Travel::getAgvId, agvId) |
| | | .eq(Travel::getState, TravelStateType.RUNNING.toString()))) { |
| | |
| | | if (!agvService.judgeEnable(agvId)) { |
| | | return; |
| | | } |
| | | AgvDetail agvDetail = agvDetailService.selectMajorByAgvId(agvId); |
| | | Code destinationCode = this.getDestinationCode(agvNo, agvDetail); |
| | | if (null == destinationCode) { |
| | | return; |