| | |
| | | // 获取库位明细 |
| | | List<LocDetl> locDetls = new ArrayList<>(); |
| | | for (StockOutParam.LocDetl locDetl : param.getLocDetls()) { |
| | | if (!Cools.isEmpty(locDetl.getLocNo(), locDetl.getMatnr())) { |
| | | if (!Cools.isEmpty(locDetl.getLocNo(), locDetl.getMatnr(), locDetl.getCount())) { |
| | | LocDetl sqlParam = new LocDetl(); |
| | | sqlParam.setLocNo(locDetl.getLocNo()); |
| | | sqlParam.setMatnr(locDetl.getMatnr()); |
| | |
| | | wrkDetl.setWrkNo(workNo); |
| | | wrkDetl.setIoTime(new Date()); |
| | | wrkDetl.setMatnr(locDetl.getMatnr()); |
| | | wrkDetl.setAnfme(locDetl.getAnfme()); |
| | | wrkDetl.setAnfme(locDetl.getAnfme()); // 数量 |
| | | wrkDetl.setZmatid(locDetl.getZmatid()); |
| | | wrkDetl.setTbpos(locDetl.getTbpos()); |
| | | wrkDetl.setTbnum(locDetl.getTbnum()); |