上架和下架增加创建时间

master
erzhongxmu 2020-10-07 20:11:06 +08:00
parent 006600ed16
commit 51066181a7
2 changed files with 3 additions and 1 deletions

View File

@ -294,6 +294,7 @@ public class wmomController {
wmToDownGoods.setOmBeizhu(wmOmQmI.getOmBeizhu());//备注 wmToDownGoods.setOmBeizhu(wmOmQmI.getOmBeizhu());//备注
wmToDownGoods.setImCusCode(wmOmQmI.getImCusCode());//客户单号 wmToDownGoods.setImCusCode(wmOmQmI.getImCusCode());//客户单号
wmToDownGoods.setOrderType("01");//默认为01 wmToDownGoods.setOrderType("01");//默认为01
wmToDownGoods.setCreateDate(now());
systemService.save(wmToDownGoods); systemService.save(wmToDownGoods);
wmOmQmI.setBinSta("Y"); wmOmQmI.setBinSta("Y");
systemService.saveOrUpdate(wmOmQmI); systemService.saveOrUpdate(wmOmQmI);
@ -366,6 +367,7 @@ public class wmomController {
wmToUpGoodsEntity.setGoodsName(wmInQmIEntity.getGoodsName()); wmToUpGoodsEntity.setGoodsName(wmInQmIEntity.getGoodsName());
wmToUpGoodsEntity.setActTypeCode("01"); wmToUpGoodsEntity.setActTypeCode("01");
wmToUpGoodsEntity.setWmToUpId(wmInQmIEntity.getId()); 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 = '" // String sql = "select md.suo_shu_ke_hu as cuscode from md_bin md where md.ku_wei_bian_ma = '"
// + wmInQmIEntity.getBinId() + "'"; // + wmInQmIEntity.getBinId() + "'";
// Map<String, Object> binMap = systemService.findOneForJdbc(sql); // Map<String, Object> binMap = systemService.findOneForJdbc(sql);

View File

@ -2278,7 +2278,7 @@ Double sum =0.00;
long hiti = 0; long hiti = 0;
try { try {
if(StringUtil.isEmpty(wmImNoticeIEntity.getBinPlan())){ 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)); wmImNoticeIEntity.setBinPlan(Long.toString(hiti));
} }
} catch (Exception e) { } catch (Exception e) {