diff --git a/src/main/java/com/zzjee/api/wmomController.java b/src/main/java/com/zzjee/api/wmomController.java index 2601fac2..7af913e9 100644 --- a/src/main/java/com/zzjee/api/wmomController.java +++ b/src/main/java/com/zzjee/api/wmomController.java @@ -294,6 +294,7 @@ public class wmomController { wmToDownGoods.setOmBeizhu(wmOmQmI.getOmBeizhu());//备注 wmToDownGoods.setImCusCode(wmOmQmI.getImCusCode());//客户单号 wmToDownGoods.setOrderType("01");//默认为01 + wmToDownGoods.setCreateDate(now()); systemService.save(wmToDownGoods); wmOmQmI.setBinSta("Y"); systemService.saveOrUpdate(wmOmQmI); @@ -366,6 +367,7 @@ public class wmomController { wmToUpGoodsEntity.setGoodsName(wmInQmIEntity.getGoodsName()); wmToUpGoodsEntity.setActTypeCode("01"); wmToUpGoodsEntity.setWmToUpId(wmInQmIEntity.getId()); + wmToUpGoodsEntity.setCreateDate(now()); // String sql = "select md.suo_shu_ke_hu as cuscode from md_bin md where md.ku_wei_bian_ma = '" // + wmInQmIEntity.getBinId() + "'"; // Map binMap = systemService.findOneForJdbc(sql); diff --git a/src/main/java/com/zzjee/wm/controller/WmImNoticeHController.java b/src/main/java/com/zzjee/wm/controller/WmImNoticeHController.java index f9e1afcd..f5dd3b3c 100644 --- a/src/main/java/com/zzjee/wm/controller/WmImNoticeHController.java +++ b/src/main/java/com/zzjee/wm/controller/WmImNoticeHController.java @@ -2278,7 +2278,7 @@ Double sum =0.00; long hiti = 0; try { if(StringUtil.isEmpty(wmImNoticeIEntity.getBinPlan())){ - hiti = Long.parseLong(wmImNoticeIEntity.getGoodsCount())/ Long.parseLong(mvgoods.getMpCengGao()) * Long.parseLong(mvgoods.getMpDanCeng()) * Long.parseLong(mvgoods.getChlShl()); + hiti = Long.parseLong(wmImNoticeIEntity.getGoodsCount())/ ( Long.parseLong(mvgoods.getMpCengGao()) * Long.parseLong(mvgoods.getMpDanCeng()) * Long.parseLong(mvgoods.getChlShl())); wmImNoticeIEntity.setBinPlan(Long.toString(hiti)); } } catch (Exception e) {