package com.mortals.xhx.module.check.dao;

import com.mortals.framework.dao.ICRUDDao;
import com.mortals.xhx.module.check.model.CheckEffectRecordEntity;
import com.mortals.xhx.module.check.model.vo.StaffCheckSummaryQuery;
import com.mortals.xhx.module.check.model.vo.StaffCheckSummaryVo;
import com.mortals.xhx.module.dept.model.DeptPerformStatEntity;
import com.mortals.xhx.module.staff.model.StaffPerformStatEntity;

import java.util.List;
/**
* 效能绩效核查信息Dao
* 效能绩效核查信息 DAO接口
*
* @author zxfei
* @date 2023-07-11
*/

public interface  CheckEffectRecordDao extends ICRUDDao<CheckEffectRecordEntity,Long>{

    /**
     * 汇总已审核的核查记录
     * @param query
     * @return
     */
    List<StaffCheckSummaryVo> summaryCheck(StaffCheckSummaryQuery query);

    /**
     * 个人绩效统计
     * @param query
     * @return
     */
    List<StaffPerformStatEntity> getStaffPerformStat(StaffCheckSummaryQuery query);

    /**
     * 部门绩效统计
     * @param query
     * @return
     */
    List<DeptPerformStatEntity> getDeptPerformStat(StaffCheckSummaryQuery query);
}
