From 32cdb9ffa63b46a5fd6ef01eb5c78f0507820d44 Mon Sep 17 00:00:00 2001 From: e Date: Sat, 20 Jul 2019 07:46:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=B8=8B=E6=9E=B6=E8=AF=BB=E5=8F=96?= =?UTF-8?q?=E5=95=86=E5=93=81=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wm/controller/WvStockController.java | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/src/main/java/com/zzjee/wm/controller/WvStockController.java b/src/main/java/com/zzjee/wm/controller/WvStockController.java index 8aa9540b..8678450a 100644 --- a/src/main/java/com/zzjee/wm/controller/WvStockController.java +++ b/src/main/java/com/zzjee/wm/controller/WvStockController.java @@ -398,6 +398,8 @@ public class WvStockController extends BaseController { wmtomove.setBinFrom(t.getKuWeiBianMa()); wmtomove.setCusCode(t.getCusCode()); wmtomove.setCusName(t.getZhongWenQch()); + wmtomove.setToCusName(t.getZhongWenQch()); + wmtomove.setGoodsName(t.getShpMingCheng()); try{ MdCusEntity mdcus = systemService.findUniqueByProperty(MdCusEntity.class,"keHuBianMa",t.getCusCode()); @@ -453,6 +455,14 @@ public class WvStockController extends BaseController { wmtomove.setCusName(t.getZhongWenQch()); wmtomove.setToCusCode(t.getCusCode()); wmtomove.setToCusName(t.getZhongWenQch()); + try{ + MdCusEntity mdcus = systemService.findUniqueByProperty(MdCusEntity.class,"keHuBianMa",t.getCusCode()); + wmtomove.setCusName(mdcus.getZhongWenQch()); + wmtomove.setToCusName(mdcus.getZhongWenQch()); + + }catch (Exception e){ + + } wmtomove.setGoodsId(t.getGoodsId()); wmtomove.setGoodsName(t.getShpMingCheng()); wmtomove.setGoodsProData(t.getGoodsProData()); @@ -497,6 +507,16 @@ public class WvStockController extends BaseController { wmtomove.setCusName(t.getZhongWenQch()); wmtomove.setToCusCode(t.getCusCode()); wmtomove.setToCusName(t.getZhongWenQch()); + + try{ + MdCusEntity mdcus = systemService.findUniqueByProperty(MdCusEntity.class,"keHuBianMa",t.getCusCode()); + wmtomove.setCusName(mdcus.getZhongWenQch()); + wmtomove.setToCusName(mdcus.getZhongWenQch()); + + }catch (Exception e){ + + } + wmtomove.setGoodsId(t.getGoodsId()); wmtomove.setGoodsName(t.getShpMingCheng()); wmtomove.setGoodsProData(t.getGoodsProData()); @@ -548,6 +568,16 @@ public class WvStockController extends BaseController { wmtomove.setCusName(t.getZhongWenQch()); wmtomove.setToCusCode(t.getCusCode()); wmtomove.setToCusName(t.getZhongWenQch()); + + try{ + MdCusEntity mdcus = systemService.findUniqueByProperty(MdCusEntity.class,"keHuBianMa",t.getCusCode()); + wmtomove.setCusName(mdcus.getZhongWenQch()); + wmtomove.setToCusName(mdcus.getZhongWenQch()); + + }catch (Exception e){ + + } + wmtomove.setGoodsId(t.getGoodsId()); wmtomove.setGoodsName(t.getShpMingCheng()); wmtomove.setGoodsProData(t.getGoodsProData());