| | |
| | | package com.ruoyi.system.service; |
| | | |
| | | import com.ruoyi.system.model.TCommissionTransactionFlow; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.system.model.TCommissionTransactionFlow; |
| | | |
| | | import java.math.BigDecimal; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | */ |
| | | public interface TCommissionTransactionFlowService extends IService<TCommissionTransactionFlow> { |
| | | |
| | | /** |
| | | * 计算并保存分佣 |
| | | * |
| | | * @param orderId 订单ID |
| | | * @param orderType 订单类型(1=大礼包,2=实物商品) |
| | | * @param orderPrice 订单金额 |
| | | * @param appUserId 购买用户ID |
| | | */ |
| | | void calculateAndSaveCommission(Integer orderId, Integer orderType, BigDecimal orderPrice, Integer appUserId); |
| | | |
| | | } |