| | |
| | | return R.error("工作档已存在"); |
| | | } |
| | | } |
| | | |
| | | // 空托盘按照托盘码分配库位 |
| | | // else if (param.getIoType() == 10) { |
| | | // if (Cools.isEmpty(param.getBarcode())) { |
| | | // return R.error("条码不能为空"); |
| | | // } |
| | | // if (!param.getBarcode().startsWith("6") && !param.getBarcode().startsWith("7") && !param.getBarcode().startsWith("8")){ |
| | | // return R.error("不存在的托盘类型"); |
| | | // } |
| | | // } |
| | | |
| | | |
| | | if (Cools.isEmpty(param.getLocType1())) { |
| | | return R.error("高低检测信号不能为空"); |
| | | } |
| | |
| | | BasDevp sourceStaNo = basDevpService.checkSiteStatus(devpNo, true); |
| | | // 检索库位 |
| | | StartupDto dto = commonService.getLocNoEmpty(1, 10, devpNo, null, null, null, locTypeDto); |
| | | // StartupDto dto = commonService.getLocNoEmptyNew(1, 10, devpNo,locTypeDto,barcode); |
| | | int workNo = dto.getWorkNo(); |
| | | // 生成工作档 |
| | | WrkMast wrkMast = new WrkMast(); |