From 6ef354d1015b1d4b08f9276fad5e8945c1fbaacf Mon Sep 17 00:00:00 2001 From: liuy <37787198+LiuyCodes@users.noreply.github.com> Date: Thu, 31 Jul 2025 14:38:04 +0800 Subject: [PATCH] =?UTF-8?q?refactor(sales):=20=E8=B0=83=E6=95=B4=20TOB=20?= =?UTF-8?q?=E9=80=80=E8=B4=A7=E6=B5=81=E7=A8=8B=E5=92=8C=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E6=97=A5=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 注释掉按交易时间启动实施的代码 - 修改业务流程名称为 "TOB退货" - 更新订单成功交易日期的示例 --- .../plugin/sales/SoSaleReturnPluginInitializerToB.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/sales/SoSaleReturnPluginInitializerToB.java b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/sales/SoSaleReturnPluginInitializerToB.java index 161f2669..46e51215 100644 --- a/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/sales/SoSaleReturnPluginInitializerToB.java +++ b/buildpackage/src/main/java/com/hzya/frame/plugin/lets/plugin/sales/SoSaleReturnPluginInitializerToB.java @@ -139,7 +139,7 @@ public class SoSaleReturnPluginInitializerToB extends PluginBaseEntity { //实时执行,每1分钟调度一次 StartAndEndVo startAndEndVo = offsetTimeTime.getCurrentDateRange(); startImplementByStockTime(startAndEndVo.getStart_time(), startAndEndVo.getEnd_time()); - startImplementByTradeTime(startAndEndVo.getStart_time(), startAndEndVo.getEnd_time()); +// startImplementByTradeTime(startAndEndVo.getStart_time(), startAndEndVo.getEnd_time()); } } } catch (Exception e) { @@ -1643,7 +1643,8 @@ public class SoSaleReturnPluginInitializerToB extends PluginBaseEntity { private BdBusitypeEntity u8cOperationFlow() throws Exception { //查询业务流程 //2024年8月6日 11:33:07 具体的业务流程名称,还需要实施提供 - String processName = "TOB销售"; +// String processName = "TOB销售"; + String processName = "TOB退货"; BdBusitypeEntity bdBusitypeEntity = queryBdBusitypeUtil.queryBdBusitype(processName); Assert.notNull(bdBusitypeEntity, "根据业务流程名称({})没有查询到业务流程", processName); return bdBusitypeEntity; @@ -2050,7 +2051,8 @@ public class SoSaleReturnPluginInitializerToB extends PluginBaseEntity { * @author liuyang */ private String createSuccessFulTradeDate(OrderToBHeaderDto orderOutTobHeaderDto) { -// orderOutTobHeaderDto.getHeader().setRefundedAt("2024-11-19 00:00:00"); +// orderOutTobHeaderDto.getHeader().setRefundedAt("2025-07-28 14:49:11"); + String code = null; if (orderOutTobHeaderDto != null && orderOutTobHeaderDto.getHeader() != null) { code = orderOutTobHeaderDto.getHeader().getCode();