From ed76f62db481ab1a8c125cf01d5122d1e1606266 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期三, 26 二月 2025 01:25:09 +0800 Subject: [PATCH] 修改分佣逻辑 --- ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/CommissionService.java | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/CommissionService.java b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/CommissionService.java index b1ae674..bfd0fb0 100644 --- a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/CommissionService.java +++ b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/CommissionService.java @@ -1,5 +1,7 @@ package com.ruoyi.order.service; +import com.ruoyi.order.model.Order; + import java.time.LocalDateTime; import java.util.List; import java.util.Set; @@ -8,6 +10,16 @@ // 计算佣金 void calculationCommission(); - + /** + * 构建个人分佣临时数据 + */ + void calculationCommissionUser(Long orderId); + + /** + * 构建门店及技师分佣临时数据 + */ + void calculationCommissionShop(Long orderId); + + } -- Gitblit v1.7.1