| | |
| | | return Collections.emptyList(); |
| | | } |
| | | List<Long> areaIds = areaGovernService.queryAreas(code); |
| | | return areaAgvService.queryAgvIdsByAreaIds(areaIds); |
| | | List<Long> agvIds = areaAgvService.queryAgvIdsByAreaIds(areaIds); |
| | | agvIds.addAll(areaAgvService.findAgvIdsWithoutAreaAgv()); |
| | | return agvIds; |
| | | } |
| | | |
| | | public List<String> getAgvNosByStaNo(String staNo) { |
| | |
| | | return areaGovernService.queryCodes(areaIds); |
| | | } |
| | | |
| | | public Boolean isAgvExistsInAnyArea(Long agvId) { |
| | | List<Long> agvIdsWithoutAreaAgv = areaAgvService.findAgvIdsWithoutAreaAgv(); |
| | | return !Cools.isEmpty(agvIdsWithoutAreaAgv) && agvIdsWithoutAreaAgv.contains(agvId); |
| | | } |
| | | |
| | | } |