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