package com.hzs.system.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.system.sys.SysApprovalBusinessMember;
import com.hzs.system.sys.dto.ApprovalMemberNumDTO;

import java.util.List;
import java.util.Set;

/**
 * 审批业务表涉及用户 服务类
 *
 * @author hzs
 * @since 2023-03-01
 */
public interface ISysApprovalBusinessMemberService extends IService<SysApprovalBusinessMember> {

    /**
     * 批量插入
     *
     * @param pkApprovalBusiness
     * @param pkMemberList
     * @return
     */
    int insertBatch(Long pkApprovalBusiness, Set<Long> pkMemberList);

    /**
     * 查询会员进行中
     *
     * @param pkMemberList
     * @param pkCountry
     * @return
     */
    List<ApprovalMemberNumDTO> queryProcessingApproval(List<Long> pkMemberList, Integer pkCountry);

}
