package com.mortals.xhx.module.check.service;
import com.mortals.framework.exception.AppException;
import com.mortals.framework.model.Context;
import com.mortals.framework.service.ICRUDService;
import com.mortals.xhx.module.check.model.CheckOtherRecordEntity;
import com.mortals.xhx.module.check.dao.CheckOtherRecordDao;
import com.mortals.xhx.module.check.model.vo.StaffCheckSummaryQuery;
import com.mortals.xhx.module.check.model.vo.StaffCheckSummaryVo;

import java.util.List;

/**
* CheckOtherRecordService
*
* 其它绩效核查信息 service接口
*
* @author zxfei
* @date 2023-07-11
*/
public interface CheckOtherRecordService extends ICRUDService<CheckOtherRecordEntity,Long>{

    CheckOtherRecordDao getDao();

    /**
     * 核查人工审核
     * @param entity
     * @param context
     * @throws AppException
     */
    void examine(CheckOtherRecordEntity entity, Context context) throws AppException;

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