package com.chinaweal.aiccs.aiceps.annual.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chinaweal.aiccs.aiceps.annual.entity.TREntBaseInfoSplit;
import com.chinaweal.aiccs.aiceps.annual.mapper.TREntBaseInfoSplitMapper;
import com.chinaweal.aiccs.aiceps.annual.service.TREntBaseInfoSplitService;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * 年报基本信息表，年报库直查分表 Service 实现类
 *
 * @author lroyia
 * @since 2025/2/25 15:53
 **/
@Service
public class TREntBaseInfoSplitServiceImpl extends ServiceImpl<TREntBaseInfoSplitMapper, TREntBaseInfoSplit> implements TREntBaseInfoSplitService {
    @Override
    public List<TREntBaseInfoSplit> getByWrapper(Wrapper<TREntBaseInfoSplit> wrapper, int year, boolean temp) {
        return baseMapper.selectByWrapper(wrapper, year, temp);
    }

    @Override
    public List<TREntBaseInfoSplit> getYbList(String pripid) {
        return baseMapper.getYbList(pripid);
    }
}
