From 9198b5480be4f109410a3654d6681674920e7633 Mon Sep 17 00:00:00 2001
From: ANDRU-PC\Andru <769883346@qq.com>
Date: 星期四, 07 九月 2023 16:36:27 +0800
Subject: [PATCH] 调整工具类调用

---
 phi_platform_user/src/main/java/com/hx/phip/tool/refund/PartialRefundUtil.java             |    5 +++--
 phi_platform_user/src/main/java/com/hx/phip/service/order/impl/OrderRefundServiceImpl.java |    4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/phi_platform_user/src/main/java/com/hx/phip/service/order/impl/OrderRefundServiceImpl.java b/phi_platform_user/src/main/java/com/hx/phip/service/order/impl/OrderRefundServiceImpl.java
index 61d9bcd..8441ce5 100644
--- a/phi_platform_user/src/main/java/com/hx/phip/service/order/impl/OrderRefundServiceImpl.java
+++ b/phi_platform_user/src/main/java/com/hx/phip/service/order/impl/OrderRefundServiceImpl.java
@@ -8,8 +8,8 @@
 import com.hx.mybatisTool.SqlSentence;
 import com.hx.phiappt.common.*;
 import com.hx.phiappt.constants.tool.PerformanceInfoTool;
+import com.hx.phiappt.constants.tool.TimerHandleTool;
 import com.hx.phiappt.constants.tool.clubEquity.ClubEquityTool;
-import com.hx.phiappt.constants.tool.order.OrderUtil;
 import com.hx.phiappt.model.*;
 import com.hx.phiappt.model.activity.ActivityAction;
 import com.hx.phiappt.model.activity.ActivityRule;
@@ -2491,7 +2491,7 @@
                 && oldStatus != ordersTotal.getStatus()){
             // OrderUtil.reCalcOrderBothTheOneData(commonService, VisitRecordMapper.class,null,ordersTotal.getUserId(), BaseEntity.NO);
             // 澶勭悊鏂规硶璋冩暣
-            OrderUtil.reCalcOrderBothTheOneTask(commonService, ordersTotal.getUserId());
+            TimerHandleTool.addTask(commonService, TimerHandleItem.TYPE_RECALC_ORDER_BOTH, ordersTotal.getUserId());
         }
 
         //棰濆鐨勬搷浣滐紝鍗囬檷绾э紝鏀跺叆纭琛�
diff --git a/phi_platform_user/src/main/java/com/hx/phip/tool/refund/PartialRefundUtil.java b/phi_platform_user/src/main/java/com/hx/phip/tool/refund/PartialRefundUtil.java
index 8a48d14..9665421 100644
--- a/phi_platform_user/src/main/java/com/hx/phip/tool/refund/PartialRefundUtil.java
+++ b/phi_platform_user/src/main/java/com/hx/phip/tool/refund/PartialRefundUtil.java
@@ -7,8 +7,9 @@
 import com.hx.phiappt.common.*;
 import com.hx.phiappt.constants.enums.GroupTypeEnum;
 import com.hx.phiappt.constants.tool.RefundToolUtil;
-import com.hx.phiappt.constants.tool.order.OrderUtil;
+import com.hx.phiappt.constants.tool.TimerHandleTool;
 import com.hx.phiappt.model.BaseEntity;
+import com.hx.phiappt.model.TimerHandleItem;
 import com.hx.phiappt.model.UserMoney;
 import com.hx.phiappt.model.activity.ActivityAction;
 import com.hx.phiappt.model.activity.ActivityRule;
@@ -183,7 +184,7 @@
         if(OrderTotalConstants.STATUS_CANCEL == ordersTotal.getStatus()){
             // OrderUtil.reCalcOrderBothTheOneData(commonService, VisitRecordMapper.class,null,ordersTotal.getUserId(), BaseEntity.NO);
             // 澶勭悊鏂规硶璋冩暣
-            OrderUtil.reCalcOrderBothTheOneTask(commonService, ordersTotal.getUserId());
+            TimerHandleTool.addTask(commonService, TimerHandleItem.TYPE_RECALC_ORDER_BOTH, ordersTotal.getUserId());
         }
 
         return ordersTotal;

--
Gitblit v1.8.0