package com.cyksj.service.distribute;

import com.cyksj.model.entity.OrderDon;

/*
 *项目名: netflix
 *文件名: UserBusinessFrontService
 *创建者: JavaZou
 *创建时间:2023/3/23 14:19
 */
public interface UserBusinessFrontService {
	/**
	 * @param sharedId   分销人id
	 * @param businessId 商务id
	 * @param order      订单
	 * @param distributeRate      平台分销比例
	 */
	void taskDistributeRateBenefits(Long sharedId, Long businessId, Integer goodsType, OrderDon order, Integer distributeRate);

	/**
	 * 设置店铺商务的 提成
	 * @param shopUserId 店铺主用户id
	 * @param businessId
	 * @param goodsType
	 * @param order
	 * @param distributeRate
	 */
	void taskYhShopDistributeRateBenefits(Long shopUserId, Long businessId, Integer goodsType, OrderDon order, Integer distributeRate);
}
