From 2d6e2fc2062d5fc959be8b43a5e7b4af1ba89dd3 Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Tue, 18 Jun 2024 11:10:10 +0800 Subject: [PATCH] =?UTF-8?q?wms=E6=88=90=E5=93=81=E9=80=80=E8=B4=A7?= =?UTF-8?q?=E6=8F=90=E5=8D=95=E4=BF=AE=E6=94=B94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/op/wms/service/impl/WmsProductPutServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsProductPutServiceImpl.java b/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsProductPutServiceImpl.java index 81fe2b75..afa775d5 100644 --- a/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsProductPutServiceImpl.java +++ b/op-modules/op-wms/src/main/java/com/op/wms/service/impl/WmsProductPutServiceImpl.java @@ -937,6 +937,9 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService { String ZSAREA=stringStringMap.get("ZSAREA");//销售大区 String BZTXT1=stringStringMap.get("BZTXT1");//销售大区描述 String POSNR=stringStringMap.get("POSNR");//交货项目 + String AUART=stringStringMap.get("AUART");// + String BEZEI=stringStringMap.get("BEZEI");// + WmsRuturnPutEmbryo wmsRuturnPutEmbryo1=new WmsRuturnPutEmbryo(); wmsRuturnPutEmbryo1.setProductOrder(VBELN); wmsRuturnPutEmbryo1.setFactoryCode(wmsRuturnPutEmbryo.getFactoryCode()); @@ -944,6 +947,8 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService { wmsRuturnPutEmbryo1.setAttr10(POSNR); List wmsRuturnPutEmbryoList= wmsRuturnPutEmbryoMapper.selectWmsRuturnPutEmbryoList(wmsRuturnPutEmbryo1); if ( wmsRuturnPutEmbryoList.size()==0){ + wmsRuturnPutEmbryo1.setAttr7(AUART); + wmsRuturnPutEmbryo1.setAttr8(BEZEI); wmsRuturnPutEmbryo1.setPlanQuantity(new BigDecimal(MENGE)); wmsRuturnPutEmbryo1.setStatus("0"); wmsRuturnPutEmbryo1.setUnitOfMeasure(MEINS);