package com.yd.csf.service.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.yd.csf.service.dto.CommissionBindPolicyBrokerDto;
import com.yd.csf.service.dto.CommissionDto;
import com.yd.csf.service.model.Commission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yd.csf.service.vo.CommissionStatisticsVO;
import com.yd.csf.service.vo.CommissionVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Zhang Jianan
* @description 针对表【commission(保单来佣表)】的数据库操作Mapper
* @createDate 2025-09-19 16:08:05
* @Entity generator.domain.Commission
*/
public interface CommissionMapper extends BaseMapper<Commission> {

    List<CommissionBindPolicyBrokerDto> queryCommissionBindPolicyBrokerList(@Param("dto") CommissionDto dto);

    CommissionStatisticsVO getCommissionStatistics(@Param("commissionIdList") List<Long> commissionIdList);
}




