From d7e902cc7a7f62425bf9dcce50ee0f867e5c7b83 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期二, 18 三月 2025 09:07:14 +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