| | |
| | | manPakOut.setCount(manPakOut.getCount() + anfme); |
| | | if (manPakOut.getAnfme().equals(manPakOut.getCount())){ |
| | | manPakOut.setStatus(1); |
| | | manPakOut.setUpdateTime(new Date()); |
| | | manPakOutService.updateById(manPakOut); |
| | | } |
| | | |
| | |
| | | manPakOut.setMaktx(plaNew.getBrand()); |
| | | manPakOut.setBatch(plaNew.getBatch()); |
| | | manPakOut.setBarcode(plaNew.getPackageNo() + ""); |
| | | manPakOut.setUpdateTime(new Date()); |
| | | |
| | | manPakOutService.updateById(manPakOut); |
| | | |
| | |
| | | throw new CoolException("请检查输入的库位码"); |
| | | } |
| | | plaEntityWrapper.eq("loc_no",barcode); |
| | | |
| | | plaEntityWrapper.notLike("status","全部出库"); |
| | | }else { |
| | | throw new CoolException("条码信息有误!"); |
| | | } |
| | | |
| | | |
| | | List<Pla> plaList = plaService.selectList(plaEntityWrapper); |
| | | if (Cools.isEmpty(plaList)){ |
| | | throw new CoolException("未查询到库存物料信息"); |