From ba364605185e31a8fa013e9db637718bb22c2bed Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Tue, 23 Jul 2024 12:52:25 +0800 Subject: [PATCH] =?UTF-8?q?wms=EF=BC=8C=E6=88=90=E5=93=81=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E5=85=A5=E5=BA=93=E9=A1=B5=E9=9D=A2=E7=9A=84=E8=BF=87?= =?UTF-8?q?=E8=B4=A6=E6=8C=89=E9=92=AE=E9=9A=8F=E4=B9=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/WmsProductPutServiceImpl.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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 e00d5215..bcf01c55 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 @@ -285,14 +285,15 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService { map.put("LGORT", wmsProductPut3.getWhCode()); map.put("QUANTITY", wmsProductPut3.getPutQuantity()); map.put("ERFME", wmsProductPut3.getUnitOfMeasure()); + map.put("BATCH", wmsProductPut3.getAttr4()); //map.put("BATCH", wmsProductPut3.getBatchNumber()); - if (wmsProductPut3.getBatchNumber().length()>12){ - //String batch = mesReportWork.getBatch().substring(12); - String batch = InterceptionRules(wmsProductPut3.getBatchNumber()); - map.put("BATCH", batch); - }else { - map.put("BATCH", wmsProductPut3.getBatchNumber()); - } +// if (wmsProductPut3.getBatchNumber().length()>12){ +// //String batch = mesReportWork.getBatch().substring(12); +// String batch = InterceptionRules(wmsProductPut3.getBatchNumber()); +// map.put("BATCH", batch); +// }else { +// map.put("BATCH", wmsProductPut3.getBatchNumber()); +// } map.put("HSDAT", wmsProductPut3.getProductDate()); mapList.add(map); }