package digital.laboratory.platform.entrustment.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import digital.laboratory.platform.entrustment.entity.EntrustApproveRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import digital.laboratory.platform.entrustment.entity.Entrustment;
import digital.laboratory.platform.entrustment.query.BaseQuery;
import digital.laboratory.platform.entrustment.vo.EntrustApproveRecordVO;
import digital.laboratory.platform.sewage.entity.UpdateInfo;

/**
* @author ChenJiangBao
* @description 针对表【b_entrust_approve_record(委托审核记录)】的数据库操作Service
* @createDate 2025-01-23 09:26:25
*/
public interface EntrustApproveRecordService extends IService<EntrustApproveRecord> {

    /**
     * 分页查询-委托审核记录
     * @param query
     * @return
     */
    IPage<EntrustApproveRecordVO> voPage(BaseQuery query);

    /**
     * 保存审核不通过记录
     * @param entrust
     * @param pi
     */
    void saveRecord(Entrustment entrust, UpdateInfo pi);
}
