From 485b09d75ac79350392e234a62521050bf6374de Mon Sep 17 00:00:00 2001 From: luofl <1442745593@qq.com> Date: 星期二, 04 三月 2025 11:00:43 +0800 Subject: [PATCH] 修改物流信息导入模板 --- ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/ShoppingCartServiceImpl.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/ShoppingCartServiceImpl.java b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/ShoppingCartServiceImpl.java index efbe37e..d4c663a 100644 --- a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/ShoppingCartServiceImpl.java +++ b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/impl/ShoppingCartServiceImpl.java @@ -41,6 +41,9 @@ import java.time.LocalDateTime; import java.time.ZoneOffset; import java.util.*; +import java.util.concurrent.ArrayBlockingQueue; +import java.util.concurrent.ThreadPoolExecutor; +import java.util.concurrent.TimeUnit; import java.util.stream.Collectors; @Slf4j @@ -1431,8 +1434,18 @@ orderBalancePayment.setDistributionAmount(distributionAmount); orderBalancePaymentService.save(orderBalancePayment); } + + commissionService.calculationCommissionUser(order.getId()); return R.ok(order.getId().toString()); } + + + + + + + + public String getNumber(Integer size){ @@ -1526,6 +1539,8 @@ for (Integer goodsId : goodsIds) { goodsClient.editGoodsNum(goodsId, 1); } + + commissionService.calculationCommissionUser(order.getId()); return R.ok(); } -- Gitblit v1.7.1