ANDRU-PC\Andru
2023-09-07 9198b5480be4f109410a3654d6681674920e7633
调整工具类调用
2个文件已修改
9 ■■■■■ 已修改文件
phi_platform_user/src/main/java/com/hx/phip/service/order/impl/OrderRefundServiceImpl.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_user/src/main/java/com/hx/phip/tool/refund/PartialRefundUtil.java 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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());
        }
        //额外的操作,升降级,收入确认表
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;