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

import com.chinaweal.aiccs.aiccs.claim.entity.TSSupEntBase;
import com.chinaweal.aiccs.aiccs.claim.mapper.TSSupEntBaseMapper;
import com.chinaweal.aiccs.aiccs.claim.service.TSSupEntBaseService;
import com.chinaweal.youfool.framework.springboot.mybatis.plus.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 * 监管主体基本信息表 服务实现类
 * </p>
 *
 * @author <a href="https://blog.lroyia.top">lroyia</a>
 * @since 2021-01-21
 */
@Service
public class TSSupEntBaseServiceImpl extends BaseServiceImpl<TSSupEntBaseMapper, TSSupEntBase> implements TSSupEntBaseService {

    @Override
    public TSSupEntBase findTSSupEntBaseModel(String pripid) {
        return baseMapper.selectById(pripid);
    }

    @Override
    public Map<String, Integer> statisticalEntity(String claimaicid) {
        return baseMapper.statisticalEntity(claimaicid);
    }
}
