package com.muchinfo.mtp3interface.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.muchinfo.mtp3pojos.entity.Subareagroup;
import com.muchinfo.mtp3pojos.vo.profitshar.ProfitSharGroupOrganResult;
import com.muchinfo.mtp3pojos.vo.profitshar.ProfitSharGroupResult;
import com.muchinfo.mtp3pojos.vo.profitshar.ProfitSharInitConfigResult;
import com.muchinfo.mtp3pojos.vo.profitshar.ProfitSharMemberResult;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 子机构分组表 Mapper 接口
 * </p>
 *
 * @author XKF
 * @since 2024-08-05
 */
@Mapper
public interface ISubareagroupMapper extends BaseMapper<Subareagroup> {

    IPage<ProfitSharGroupResult> getSubGroupPage(IPage<ProfitSharGroupResult> page, @Param("subareagroupname") String subareagroupname, @Param("areauserid")Long areauserid);

    IPage<ProfitSharMemberResult> getMemberPage(IPage<ProfitSharMemberResult> page,@Param("subareagroupid") Long subareagroupid);

    List<ProfitSharInitConfigResult> getDivideConfigPage(@Param("areauserid")Long areauserid);
}
