| | |
| | | startCode = codeService.getById(oriSta.getCode()); |
| | | endCode = codeService.getById(destSta.getCode()); |
| | | if (null == startCode) { |
| | | throw new BusinessException("oriSta:" + oriSta.getStaNo() + " 未绑定地面码"); |
| | | throw new BusinessException("oriSta:" + oriSta.getStaNo() + " hasn't been bound to a QrCode yet"); |
| | | } |
| | | if (null == endCode) { |
| | | throw new BusinessException("destSta:" + destSta.getStaNo() + " 未绑定地面码"); |
| | | throw new BusinessException("destSta:" + destSta.getStaNo() + " is not bound to a QrCode yet"); |
| | | } |
| | | pathList = mapService.validFeasibility(startCode, endCode); |
| | | if (Cools.isEmpty(pathList)) { |