From 6ed28c0eb7dc773ea73a00b8671fa35ab6062759 Mon Sep 17 00:00:00 2001 From: ANDRU-PC\Andru <769883346@qq.com> Date: 星期三, 19 七月 2023 14:04:47 +0800 Subject: [PATCH] 处理方法调整 --- phi_platform_user/src/main/java/com/hx/phip/tool/refund/PartialRefundUtil.java | 4 +++- phi_platform_user/src/main/java/com/hx/phip/service/order/impl/OrderRefundServiceImpl.java | 4 +++- 2 files changed, 6 insertions(+), 2 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 681dce4..b0dde41 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 @@ -2518,7 +2518,9 @@ //鍒濆鍖栧垵澶嶈瘖淇℃伅 if(OrderTotalConstants.STATUS_CANCEL == oldStatus && oldStatus != ordersTotal.getStatus()){ - OrderUtil.reCalcOderBothTheOneData(commonService, VisitRecordMapper.class,null,ordersTotal.getUserId(), BaseEntity.NO); + // OrderUtil.reCalcOrderBothTheOneData(commonService, VisitRecordMapper.class,null,ordersTotal.getUserId(), BaseEntity.NO); + // 澶勭悊鏂规硶璋冩暣 + OrderUtil.reCalcOrderBothTheOneTask(commonService, 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 3eccb71..a1951f6 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 @@ -183,7 +183,9 @@ //鍒濆鍖栧垵澶嶈瘖淇℃伅 if(OrderTotalConstants.STATUS_CANCEL == ordersTotal.getStatus()){ - OrderUtil.reCalcOderBothTheOneData(commonService, VisitRecordMapper.class,null,ordersTotal.getUserId(), BaseEntity.NO); + // OrderUtil.reCalcOrderBothTheOneData(commonService, VisitRecordMapper.class,null,ordersTotal.getUserId(), BaseEntity.NO); + // 澶勭悊鏂规硶璋冩暣 + OrderUtil.reCalcOrderBothTheOneTask(commonService, ordersTotal.getUserId()); } return ordersTotal; -- Gitblit v1.8.0