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

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
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 com.hzs.system.sys.mapper.SysApprovalBusinessReceiveMapper;
import com.hzs.system.sys.service.ISysApprovalBusinessReceiveService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 审批业务接收表 服务实现类
 *
 * @author hzs
 * @since 2023-05-05
 */
@Service
public class SysApprovalBusinessReceiveServiceImpl extends ServiceImpl<SysApprovalBusinessReceiveMapper, SysApprovalBusinessReceive> implements ISysApprovalBusinessReceiveService {

    @Override
    public int insertBatch(List<SysApprovalBusinessReceive> list) {
        return baseMapper.insertBatch(list);
    }

    @Override
    public List<SysApprovalBusinessReceiveExt> queryList(ReceiveApprovalQueryParam param, Long userId, Integer pkCountry) {
        return baseMapper.queryList(param, userId, pkCountry);
    }

}
