package com.hzs.system.sys.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hzs.common.domain.system.sys.SysApprovalBusinessMember;
import com.hzs.system.sys.dto.ApprovalMemberNumDTO;
import com.hzs.system.sys.mapper.SysApprovalBusinessMemberMapper;
import com.hzs.system.sys.service.ISysApprovalBusinessMemberService;
import org.springframework.stereotype.Service;

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

/**
 * 审批业务表涉及用户 服务实现类
 *
 * @author hzs
 * @since 2023-03-01
 */
@Service
public class SysApprovalBusinessMemberServiceImpl extends ServiceImpl<SysApprovalBusinessMemberMapper, SysApprovalBusinessMember> implements ISysApprovalBusinessMemberService {

    @Override
    public int insertBatch(Long pkApprovalBusiness, Set<Long> pkMemberList) {
        return baseMapper.insertBatch(pkApprovalBusiness, pkMemberList);
    }

    @Override
    public List<ApprovalMemberNumDTO> queryProcessingApproval(List<Long> pkMemberList, Integer pkCountry) {
        return baseMapper.queryProcessingApproval(pkMemberList, pkCountry);
    }

}
