wms销售出库的提单接口32

master
mengjiao 10 months ago
parent d6f2a640ec
commit faa2cc217d

@ -741,7 +741,13 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService {
wmsSellOutEmbryo1.setActiveFlag("1");
wmsSellOutEmbryo1.setCreateBy(wmsSellOutEmbryo.getCreateBy());
wmsSellOutEmbryo1.setCreateTime(new Date());
wmsSellOutEmbryoMapper.insertWmsSellOutEmbryo(wmsSellOutEmbryo1);
//判断有没有这个单子,。如果有的话,就跳过吧
WmsSellOutEmbryo wmsSellOutEmbryo2= wmsSellOutEmbryoMapper.selectWmsSellOutEmbryoByOrderCodeAndProductCode(VBELN,MATNR);
if (wmsSellOutEmbryo2==null){
wmsSellOutEmbryoMapper.insertWmsSellOutEmbryo(wmsSellOutEmbryo1);
}else {
results="已经存在";
}
}
}
return results;

Loading…
Cancel
Save