| | |
| | | detlDtos.add(new DetlDto(manLocDetl.getMatnr(), manLocDetl.getBatch(), manLocDetl.getAnfme())); |
| | | manLocDetl.setOwner(param.getOwnerId()); |
| | | try{ |
| | | manLocDetlService.update(manLocDetl,new EntityWrapper<ManLocDetl>().eq("loc_no", locNo).eq("uuid",manLocDetl.getUuid())); |
| | | manLocDetlService.update(manLocDetl,new EntityWrapper<ManLocDetl>().eq("loc_no", locNo).eq("matnr",manLocDetl.getMatnr())); |
| | | }catch (Exception e){ |
| | | throw new Exception("更新库存明细拥有者字段信息出错了"); |
| | | } |
| | |
| | | detlDtos.add(new DetlDto(locDetl.getMatnr(), locDetl.getBatch(), locDetl.getAnfme())); |
| | | locDetl.setOwner(param.getOwnerId()); |
| | | try{ |
| | | locDetlService.update(locDetl,new EntityWrapper<LocDetl>().eq("loc_no", locNo).eq("uuid",locDetl.getUuid())); |
| | | locDetlService.update(locDetl,new EntityWrapper<LocDetl>().eq("loc_no", locNo).eq("matnr",locDetl.getMatnr())); |
| | | }catch (Exception e){ |
| | | throw new Exception("更新库存明细拥有者字段信息出错了"); |
| | | } |
| | |
| | | for (ManLocDetl manLocDetl:manLocDetls){ |
| | | manLocDetl.setPayment(1); |
| | | try{ |
| | | manLocDetlService.update(manLocDetl,new EntityWrapper<ManLocDetl>().eq("loc_no", locNo).eq("uuid",manLocDetl.getUuid())); |
| | | manLocDetlService.update(manLocDetl,new EntityWrapper<ManLocDetl>().eq("loc_no", locNo).eq("uuid",manLocDetl.getMatnr())); |
| | | }catch (Exception e){ |
| | | throw new Exception("更新库存明细货物形态字段信息出错了"); |
| | | } |
| | |
| | | for (LocDetl locDetl:locDetls){ |
| | | locDetl.setPayment(1); |
| | | try{ |
| | | locDetlService.update(locDetl,new EntityWrapper<LocDetl>().eq("loc_no", locNo).eq("uuid",locDetl.getUuid())); |
| | | locDetlService.update(locDetl,new EntityWrapper<LocDetl>().eq("loc_no", locNo).eq("uuid",locDetl.getMatnr())); |
| | | }catch (Exception e){ |
| | | throw new Exception("更新库存明细货物形态字段信息出错了"); |
| | | } |