上架和下架增加创建时间
parent
006600ed16
commit
51066181a7
|
@ -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<String, Object> binMap = systemService.findOneForJdbc(sql);
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue