| | |
| | | if (Cools.isEmpty(param.getSourceStaNo())) { |
| | | return R.error("源站编号不能为空"); |
| | | } |
| | | if (Cools.isEmpty(param.getBarcode())) { |
| | | return R.error("条码不能为空"); |
| | | } |
| | | List<WaitPakin> waitPakins = null; |
| | | if (param.getIoType() == 1) { |
| | | if (Cools.isEmpty(param.getBarcode())) { |
| | |
| | | return R.error(CodeRes.EXIST_500); |
| | | } |
| | | } |
| | | if (Cools.isEmpty(param.getLocType1(),param.getLocType2())){ |
| | | if (Cools.isEmpty(param.getLocType2())){ // param.getLocType1(), |
| | | return R.error("高低/长短检测信号不能为空"); |
| | | } |
| | | |
| | | // 源站点状态检测 |
| | | BasDevp sourceStaNo = basDevpService.checkSiteStatus(param.getSourceStaNo(), true); |
| | | sourceStaNo.setLocType1(param.getLocType1()); |
| | | sourceStaNo.setLocType1((short) 1); // todo 先默认低库位 |
| | | sourceStaNo.setLocType2(param.getLocType2()); |
| | | LocTypeDto locTypeDto = new LocTypeDto(sourceStaNo); |
| | | |