package com.limap.core.basic.service;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.IService;
import com.limap.core.basic.domain.BasicProfitSharingUser;
import com.limap.core.basic.vo.SharingUserTaskVo;

/**
 * 用户分润基础信息Service接口
 *
 * @author jjb
 * @date 2025-04-11
 */
public interface IBasicProfitSharingUserService extends IService<BasicProfitSharingUser> {
    /**
     * 查询用户分润基础信息列表
     *
     * @param basicProfitSharingUser 用户分润基础信息
     * @return 用户分润基础信息集合
     */
    public List<BasicProfitSharingUser> selectBasicProfitSharingUserList(BasicProfitSharingUser basicProfitSharingUser);

    /**
     * 查询用户分润基础数据
     * @return 用户分润基础数据
     */
    public List<SharingUserTaskVo> selectBasicInfoList();

    public Map<String, BigDecimal> getSuperiorRatio(Long userId);

    public boolean checkRatio(BasicProfitSharingUser basicProfitSharingUser);
}
