| | |
| | | |
| | | // ori -------------------------- |
| | | if (!Cools.isEmpty(taskDto.getOriLoc())) { |
| | | Loc oriLoc = locService.selecatByLocNo(taskDto.getOriLoc()); |
| | | Loc oriLoc = locService.selectByLocNo(taskDto.getOriLoc()); |
| | | if (null == oriLoc) { |
| | | throw new BusinessException("oriLoc: " + taskDto.getOriLoc() + " doesn't exist!"); |
| | | } |
| | |
| | | } |
| | | // dest -------------------------- |
| | | if (!Cools.isEmpty(taskDto.getDestLoc())) { |
| | | Loc destLoc = locService.selecatByLocNo(taskDto.getDestLoc()); |
| | | Loc destLoc = locService.selectByLocNo(taskDto.getDestLoc()); |
| | | if (null == destLoc) { |
| | | throw new BusinessException("destLoc: " + taskDto.getDestLoc() + " doesn't exist!"); |
| | | } |