| | |
| | | sourceStaNo.setLocType1(param.getLocType1()); |
| | | LocTypeDto locTypeDto = new LocTypeDto(sourceStaNo); |
| | | |
| | | if (param.getBarcode().startsWith("5")){ |
| | | locTypeDto.setLocType2((short) 5); |
| | | }else if (param.getBarcode().startsWith("6")){ |
| | | locTypeDto.setLocType2((short) 6); |
| | | }else if (param.getBarcode().startsWith("7")){ |
| | | locTypeDto.setLocType2((short) 7); |
| | | }else if (param.getBarcode().startsWith("8")){ |
| | | locTypeDto.setLocType2((short) 8); |
| | | }else if (param.getBarcode().startsWith("4")){ |
| | | locTypeDto.setLocType2((short) 4); |
| | | }else { |
| | | return R.error("条码规则不存在:"+param.getBarcode()); |
| | | } |
| | | |
| | | StartupDto dto = null; |
| | | switch (param.getIoType()) { |
| | | case 1://满托盘入库 |
| | |
| | | wrkDetl.setIoTime(wrkMast.getIoTime()); |
| | | wrkDetl.setAppeTime(now); |
| | | wrkDetl.setModiTime(now); |
| | | wrkDetl.setModel(waitPakin.getModel()); |
| | | if (!Cools.isEmpty(waitPakin.getOrderNo())) { |
| | | Order order = orderService.selectByNo(waitPakin.getOrderNo()); |
| | | if (order != null) { |