package com.hzs.activity.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.core.enums.EApprovalBusiness;
import com.hzs.common.core.enums.EApproveRechargeStatus;
import com.hzs.common.domain.activity.base.AcApprovalLog;

import java.util.List;

/**
 * 活动审批日志 服务类
 *
 * @author hzs
 * @since 2023-04-22
 */
public interface IAcApprovalLogService extends IService<AcApprovalLog> {

    /**
     * 查询审核记录
     *
     * @param eApprovalBusiness 业务类型
     * @param businessCode      业务单号
     * @param pkCountry         所属国家
     * @return
     */
    AcApprovalLog queryApprovalLog(EApprovalBusiness eApprovalBusiness, String businessCode, Integer pkCountry);

    /**
     * 查询审批记录列表
     *
     * @param eApprovalBusiness 业务类型
     * @param businessCode      业务单号
     * @param pkCountry         所属国家
     * @return
     */
    List<AcApprovalLog> queryApprovalLogList(EApprovalBusiness eApprovalBusiness, String businessCode, Integer pkCountry);

    /**
     * 更新审核修改记录
     *
     * @param eApprovalBusiness 业务类型
     * @param businessCode      业务单号
     * @param pkCountry         所属国家
     * @param userId            操作用户
     * @param approveStatus     审核状态
     * @param remark            审核意见
     * @return
     */
    boolean updateApprovalLog(EApprovalBusiness eApprovalBusiness, String businessCode, Integer pkCountry, Long userId,
                              EApproveRechargeStatus approveStatus, String remark);


}
