From 42375eaa7e4aec7f65a5c594b758ab92e9e6588e Mon Sep 17 00:00:00 2001 From: liuy <37787198+LiuyCodes@users.noreply.github.com> Date: Wed, 19 Feb 2025 15:27:54 +0800 Subject: [PATCH] =?UTF-8?q?refactor(purchase):=20=E7=A7=BB=E9=99=A4=20Prox?= =?UTF-8?q?yPurchaseWarehousOrder=20=E4=B8=AD=E7=9A=84=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除了 ProxyPurchaseWarehousOrder 类中 queryOfsSoSaleOutVo 的状态筛选条件。此外,更新了单元测试中的时间范围查询。 --- .../plugin/lets/plugin/purchase/ProxyPurchaseWarehousOrder.java | 2 +- .../lets/plugin/purchase/ProxyPurchaseWarehousOrderTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/purchase/ProxyPurchaseWarehousOrder.java b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/purchase/ProxyPurchaseWarehousOrder.java index cd3f63ef..914d1bcd 100644 --- a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/purchase/ProxyPurchaseWarehousOrder.java +++ b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/purchase/ProxyPurchaseWarehousOrder.java @@ -224,7 +224,7 @@ public class ProxyPurchaseWarehousOrder extends PluginBaseEntity { queryOfsSoSaleOutVo.setAuditAt_end(endTime); queryOfsSoSaleOutVo.setClientCode("LETS"); queryOfsSoSaleOutVo.setPageNo(1L); - queryOfsSoSaleOutVo.setStatus(900L); +// queryOfsSoSaleOutVo.setStatus(900L); ofsStandardUtil.queryOfsPoOrder(queryOfsSoSaleOutVo, allOfsPoOrderList, 1L); logger.info("插件:{} O接口返回行数:{} 时间段:{} {}", getPluginName(), allOfsPoOrderList.size(), startTime, endTime); printOfsDocCode(allOfsPoOrderList, startTime, endTime); diff --git a/buildpackage/src/test/java/com/hzya/frame/plugin/lets/plugin/purchase/ProxyPurchaseWarehousOrderTest.java b/buildpackage/src/test/java/com/hzya/frame/plugin/lets/plugin/purchase/ProxyPurchaseWarehousOrderTest.java index 9cecc6d1..16fc9f4a 100644 --- a/buildpackage/src/test/java/com/hzya/frame/plugin/lets/plugin/purchase/ProxyPurchaseWarehousOrderTest.java +++ b/buildpackage/src/test/java/com/hzya/frame/plugin/lets/plugin/purchase/ProxyPurchaseWarehousOrderTest.java @@ -29,7 +29,7 @@ public class ProxyPurchaseWarehousOrderTest { try { // proxyPurchaseWarehousOrder.startImplementByCode("LETS-PO2025010200000001"); - proxyPurchaseWarehousOrder.startImplementByTime("2025-01-13 00:00:00", "2025-01-13 23:59:59"); + proxyPurchaseWarehousOrder.startImplementByTime("2025-01-21 17:38:26", "2025-01-21 17:38:26"); } catch (Exception e) { e.printStackTrace(); }