| | |
| | | 9527L, // 修改人员 |
| | | now, // 修改时间 |
| | | null, // 备注 |
| | | 1 |
| | | 1, |
| | | null |
| | | ); |
| | | |
| | | if (!orderService.insert(order)) { |
| | |
| | | orderDetl.setLineNumber(detlDto.getLineNumber()); |
| | | orderDetl.setBatch(detlDto.getBatch()); |
| | | orderDetl.setAnfme(detlDto.getAnfme()); |
| | | orderDetl.setWeight(detlDto.getWeight()); |
| | | orderDetl.setBrand(detlDto.getBrand()); |
| | | orderDetl.setStandby1(detlDto.getStandby1()); |
| | | orderDetl.setStandby2(detlDto.getStandby2()); |
| | |
| | | 9527L, // 修改人员 |
| | | now, // 修改时间 |
| | | null, // 备注 |
| | | 2 |
| | | 2, |
| | | param.getKpCstmrName() |
| | | ); |
| | | if (!orderService.insert(order)) { |
| | | throw new CoolException("生成单据主档失败,请联系管理员"); |
| | |
| | | |
| | | } |
| | | |
| | | @Override |
| | | public int syncAnfmeToWeight() { |
| | | List<LocDetl> locDetls = locDetlService.selectList(new EntityWrapper<LocDetl>() |
| | | .isNull("weight")); |
| | | |
| | | int i = 0; |
| | | for (LocDetl locDetl : locDetls) { |
| | | // 修改库存 |
| | | locDetlService.updateAnfme(locDetl.getAnfme(), locDetl.getLocNo(), locDetl.getMatnr(), locDetl.getBatch(), locDetl.getBrand(), |
| | | locDetl.getStandby1(), locDetl.getStandby2(), locDetl.getStandby3(), locDetl.getBoxType1(), locDetl.getBoxType2(), locDetl.getBoxType3()); |
| | | i++; |
| | | } |
| | | return i; |
| | | } |
| | | } |