package org.jeecg.modules.shop.commission.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.shop.commission.entity.PartnerCommission;
import org.jeecg.modules.shop.commission.entity.vo.CommissionCountVO;
import org.jeecg.modules.shop.commission.entity.vo.PartnerCommissionVO;

import java.math.BigDecimal;

/**
 * @Description: 合作伙伴佣金
 * @Author: jeecg-boot
 * @Date:   2025-07-15
 * @Version: V1.0
 */
public interface IPartnerCommissionService extends IService<PartnerCommission> {

    IPage<PartnerCommissionVO> pagList(Integer pageNo, Integer pageSize);

    CommissionCountVO moneyCount();

    BigDecimal getCommissionByUserAndYear(String userId, String year);

    BigDecimal getOrderCommissionByUserAndYear(String userId, String year);
}
