package com.sundot.airport.ledger.mapper;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sundot.airport.ledger.domain.ScoreEmployeeAdditional;
import com.sundot.airport.ledger.domain.vo.EmployeeAdditionalScoreVO;

/**
 * 员工附加分Mapper接口
 */
public interface ScoreEmployeeAdditionalMapper extends BaseMapper<ScoreEmployeeAdditional> {
    /**
     * 查询员工附加分列表
     *
     * @param scoreEmployeeAdditional 员工附加分
     * @return 员工附加分集合
     */
    List<ScoreEmployeeAdditional> selectScoreEmployeeAdditionalList(ScoreEmployeeAdditional scoreEmployeeAdditional);

    /**
     * 按员工分组统计附加总分
     *
     * @param scoreEmployeeAdditional 查询条件
     * @return 员工及对应总分列表
     */
    List<EmployeeAdditionalScoreVO> selectTotalScoreByEmployee(ScoreEmployeeAdditional scoreEmployeeAdditional);
}