From 65b91a4d9329a30a6121f8398bd01216cf30adc9 Mon Sep 17 00:00:00 2001 From: liuy <37787198+LiuyCodes@users.noreply.github.com> Date: Tue, 18 Mar 2025 13:45:21 +0800 Subject: [PATCH] =?UTF-8?q?refactor(buildpackage):=20=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E6=97=A0=E6=BA=90=E4=BB=93=E5=BA=93=E6=94=B6=E8=B4=A7=20TOB?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E4=B8=AD=E7=9A=84=E6=B3=A8=E9=87=8A=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 删除了两处被注释掉的代码片段 - 恢复了 storeCode 参数的设置,以便正常查询 TOB 店铺的库存信息 --- .../lets/plugin/sales/PassiveWarehouseReceiptToB.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/sales/PassiveWarehouseReceiptToB.java b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/sales/PassiveWarehouseReceiptToB.java index 0094a684..8bc7d3a5 100644 --- a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/sales/PassiveWarehouseReceiptToB.java +++ b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/sales/PassiveWarehouseReceiptToB.java @@ -267,7 +267,7 @@ public class PassiveWarehouseReceiptToB extends PluginBaseEntity { Assert.notNull(endTime, "endTime不能为空"); //2024年8月19日 15:47:51 查询出U8C里标记的店铺TOB属性 -// String tobShop = shopTobOrToCUtil.getCommaShop("TOB"); + String tobShop = shopTobOrToCUtil.getCommaShop("TOB"); List passiveStorageResponseDataDtoArrayList = new ArrayList<>(); QueryOfsSoSaleOutVo queryOfsSoSaleOutVo = new QueryOfsSoSaleOutVo(); queryOfsSoSaleOutVo.setRelatedAt_start(startTime); @@ -275,7 +275,7 @@ public class PassiveWarehouseReceiptToB extends PluginBaseEntity { queryOfsSoSaleOutVo.setClientCode("LETS"); queryOfsSoSaleOutVo.setPageNo(1L); queryOfsSoSaleOutVo.setPageSize(50L); -// queryOfsSoSaleOutVo.setStoreCode(tobShop); + queryOfsSoSaleOutVo.setStoreCode(tobShop); ofsStandardUtil.queryOfsPassiveComponents(queryOfsSoSaleOutVo, passiveStorageResponseDataDtoArrayList, 1L, "ofs.passive.order.search"); logger.info("插件:{} (库存)O接口返回行数:{} 时间段:{} {}", getPluginName(), passiveStorageResponseDataDtoArrayList.size(), startTime, endTime); printOfsDocCode(passiveStorageResponseDataDtoArrayList, startTime, endTime, "无源入库单"); @@ -321,8 +321,7 @@ public class PassiveWarehouseReceiptToB extends PluginBaseEntity { Assert.notNull(endTime, "endTime不能为空"); //生成一个时间范围 -// String tobShop = shopTobOrToCUtil.getCommaShop("TOB"); - + String tobShop = shopTobOrToCUtil.getCommaShop("TOB"); List passiveStorageResponseDataDtoArrayList = new ArrayList<>(); QueryOfsSoSaleOutVo queryOfsSoSaleOutVo = new QueryOfsSoSaleOutVo(); queryOfsSoSaleOutVo.setRelatedAt_start(startTime); @@ -330,7 +329,7 @@ public class PassiveWarehouseReceiptToB extends PluginBaseEntity { queryOfsSoSaleOutVo.setClientCode("LETS"); queryOfsSoSaleOutVo.setPageNo(1L); queryOfsSoSaleOutVo.setPageSize(50L); -// queryOfsSoSaleOutVo.setStoreCode(tobShop); + queryOfsSoSaleOutVo.setStoreCode(tobShop); ofsStandardUtil.queryOfsPassiveComponents(queryOfsSoSaleOutVo, passiveStorageResponseDataDtoArrayList, 1L, "ofs.passive.order.search"); logger.info("插件:{} (库存)O接口返回行数:{} 时间段:{} {}", getPluginName(), passiveStorageResponseDataDtoArrayList.size(), startTime, endTime); printOfsDocCode(passiveStorageResponseDataDtoArrayList, startTime, endTime, "无源入库单退货");