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 38165841..2c7097b5 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 @@ -445,7 +445,7 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService { map.put("LGORT",mesReportWork.getWhCode()); map.put("QUANTITY",mesReportWork.getQuantityQualified()); map.put("ERFME",mesReportWork.getUnit()); - String batch= mesReportWork.getBatch().substring(13); + String batch= mesReportWork.getBatch().substring(12); map.put("BATCH",batch); String formattedsDate = mesReportWork.getProductDate().replace("-", ""); map.put("HSDAT",formattedsDate); @@ -480,7 +480,7 @@ public class WmsProductPutServiceImpl implements IWmsProductPutService { map.put("LGORT",mesReportWork.getWhCode()); map.put("QUANTITY",mesReportWork.getQuantityQualified()); map.put("ERFME",mesReportWork.getUnit()); - String batch= mesReportWork.getBatch().substring(13); + String batch= mesReportWork.getBatch().substring(12); map.put("BATCH",batch); String formattedsDate = mesReportWork.getProductDate().replace("-", ""); map.put("HSDAT",formattedsDate);