package com.sundot.airport.ledger.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sundot.airport.ledger.domain.ScoreEmployeeAdditional;
import com.sundot.airport.ledger.domain.vo.EmployeeAdditionalScoreVO;

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

    /**
     * 新增员工附加分
     *
     * @param scoreEmployeeAdditional 员工附加分
     * @return 结果
     */
    int insertScoreEmployeeAdditional(ScoreEmployeeAdditional scoreEmployeeAdditional);

    /**
     * 修改员工附加分
     *
     * @param scoreEmployeeAdditional 员工附加分
     * @return 结果
     */
    int updateScoreEmployeeAdditional(ScoreEmployeeAdditional scoreEmployeeAdditional);

    /**
     * 批量删除员工附加分
     *
     * @param ids 需要删除的员工附加分主键集合
     * @return 结果
     */
    int deleteScoreEmployeeAdditionalByIds(Long[] ids);

    /**
     * 删除员工附加分信息
     *
     * @param id 员工附加分主键
     * @return 结果
     */
    int deleteScoreEmployeeAdditionalById(Long id);

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