package com.chinaweal.aiccs.aiccs.seriousillegal.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chinaweal.aiccs.aiccs.seriousillegal.entity.TSForIllOperatingList;
import com.chinaweal.aiccs.aiccs.seriousillegal.mapper.TSForIllOperatingListMapper;
import com.chinaweal.aiccs.aiccs.seriousillegal.service.TSForIllOperatingListService;
import com.chinaweal.aiccs.common.constant.Constant;
import com.chinaweal.youfool.framework.springboot.mybatis.plus.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 拟列入严重违法失信企业清单 服务实现类
 * </p>
 *
 * @author <a href="https://blog.lroyia.top">lroyia</a>
 * @since 2021-03-17
 */
@Service
public class TSForIllOperatingListServiceImpl extends BaseServiceImpl<TSForIllOperatingListMapper, TSForIllOperatingList> implements TSForIllOperatingListService {

    @Override
    public List<TSForIllOperatingList> listOutTimeCompanyAbnList(String date) {
        return baseMapper.listOutTimeAbnList(date, Constant.NOT_COMPANY_TYPE);
    }

    @Override
    public Page<TSForIllOperatingList> listRelationEnt(Page<TSForIllOperatingList> page, Map<String, Object> map) {
        return baseMapper.listRelationEnt(page, map);
    }
}
