package com.gxwebsoft.ai.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.ai.dto.AuditEvidenceRequest;
import com.gxwebsoft.ai.entity.AuditEvidence;
import com.gxwebsoft.ai.param.AuditEvidenceParam;
import com.gxwebsoft.common.core.web.ApiResult;
import com.gxwebsoft.common.core.web.PageParam;
import com.gxwebsoft.common.core.web.PageResult;

public interface AuditEvidenceService extends IService<AuditEvidence> {
    /**
     * 生成审计取证单
     */
    ApiResult<AuditEvidence> generateAuditEvidence(AuditEvidenceRequest request);
    
    /**
     * 分页查询审计取证单记录
     */
    PageResult<AuditEvidence> getAuditEvidencePage(PageParam<AuditEvidence, AuditEvidenceParam> page, AuditEvidenceParam param);
    
    /**
     * 保存审计取证单到数据库（新增或更新）
     */
    ApiResult<AuditEvidence> saveAuditEvidence(AuditEvidenceRequest request);
}