diff --git a/src/main/java/com/zzjee/wm/controller/WmInQmIController.java b/src/main/java/com/zzjee/wm/controller/WmInQmIController.java index 20b9e247..54b8452f 100644 --- a/src/main/java/com/zzjee/wm/controller/WmInQmIController.java +++ b/src/main/java/com/zzjee/wm/controller/WmInQmIController.java @@ -1059,14 +1059,14 @@ public class WmInQmIController extends BaseController { } else { try { MvGoodsEntity mvgoods = systemService.findUniqueByProperty( - MvGoodsEntity.class, "goodsCode", wmInQmI.getGoodsId()); + MvGoodsEntity.class, "goodsCode", wmImNoticeIEntity.getGoodsCode()); if (mvgoods != null) { wmInQmI.setGoodsName(mvgoods.getGoodsName()); if (StringUtil.isNotEmpty(wmInQmI.getItemText())) { MdGoodsEntity mdGoodsEntity = systemService.findUniqueByProperty( MdGoodsEntity.class, "shpBianMa", mvgoods.getGoodsId()); if (mdGoodsEntity != null) { - mdGoodsEntity.setShpTiaoMa(wmInQmI.getItemText()); + mdGoodsEntity.setShpTiaoMa(wmInQmI.getItemText());//更新商品条码 systemService.updateEntitie(mdGoodsEntity); } }