package com.hzs.system.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.system.sys.SysApprovalBusinessReceive;
import com.hzs.common.domain.system.sys.ext.SysApprovalBusinessReceiveExt;
import com.hzs.system.index.param.ReceiveApprovalQueryParam;

import java.util.List;

/**
 * 审批业务接收表 服务类
 *
 * @author hzs
 * @since 2023-05-05
 */
public interface ISysApprovalBusinessReceiveService extends IService<SysApprovalBusinessReceive> {

    /**
     * 批量插入数据
     *
     * @param list
     * @return
     */
    int insertBatch(List<SysApprovalBusinessReceive> list);

    /**
     * 查询列表
     *
     * @param param     入参
     * @param userId    当前用户
     * @param pkCountry 所属国家
     * @return
     */
    List<SysApprovalBusinessReceiveExt> queryList(ReceiveApprovalQueryParam param, Long userId, Integer pkCountry);

}
