From aae67832b729b3cfc5cd5832f22b5568a28a3436 Mon Sep 17 00:00:00 2001 From: liuy <37787198+LiuyCodes@users.noreply.github.com> Date: Fri, 23 May 2025 18:03:15 +0800 Subject: [PATCH] =?UTF-8?q?feat(purchase):=20=E6=9B=B4=E6=96=B0=E9=87=87?= =?UTF-8?q?=E8=B4=AD=E8=AE=A2=E5=8D=95=E7=8A=B6=E6=80=81=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将审计时间改为最后更新时间 - 过滤掉状态为 100、500、510 的订单 - 只推送状态为 700 和 900 的订单到 U8C --- .../plugin/purchase/ProxyPurchaseWarehousOrder.java | 12 ++++++++++-- 1 file changed, 10 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 9c7f6639..3311cbbb 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 @@ -217,8 +217,10 @@ public class ProxyPurchaseWarehousOrder extends PluginBaseEntity { //不需要采购订单对应的状态放在接口里查询,和杨运确认过,如果采购订单在订单池,那么不会有审核时间,除了订单池+订单关闭状态,其他状态都可以理解为审批状态 List allOfsPoOrderList = new ArrayList<>(); QueryOfsSoSaleOutVo queryOfsSoSaleOutVo = new QueryOfsSoSaleOutVo(); - queryOfsSoSaleOutVo.setAuditAt_start(startTime); - queryOfsSoSaleOutVo.setAuditAt_end(endTime); +// queryOfsSoSaleOutVo.setAuditAt_start(startTime); +// queryOfsSoSaleOutVo.setAuditAt_end(endTime); + queryOfsSoSaleOutVo.setLastUpdated_start(startTime); + queryOfsSoSaleOutVo.setLastUpdated_end(endTime); queryOfsSoSaleOutVo.setClientCode("LETS"); queryOfsSoSaleOutVo.setPageNo(1L); // queryOfsSoSaleOutVo.setStatus(900L); @@ -236,6 +238,12 @@ public class ProxyPurchaseWarehousOrder extends PluginBaseEntity { if (filter_company.contains(header.getCompanyCode().trim())) { return true; } + //2025年5月23日17:51:14 + //如果采购订单状态为:100订单池、500待同步、510已同步则过滤掉 + //700收货中,900入库完成 则推送到U8C + if (!"700,900".contains(header.getStatus())) { + return true; + } } return false; }