package com.heketai.website.service.impl;

import com.heketai.website.entity.NewsCategory;
import com.heketai.website.mapper.NewsCategoryMapper;
import com.heketai.website.service.INewsCategoryService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

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

/**
 * <p>
 * 资讯分类列表 服务实现类
 * </p>
 *
 * @author xjl
 * @since 2019-11-19
 */
@Service
public class NewsCategoryServiceImpl extends ServiceImpl<NewsCategoryMapper, NewsCategory> implements INewsCategoryService {

    @Override
    public List<NewsCategory> findByCids(Set<String> cids) {
        return this.baseMapper.selectBatchIds(cids);
    }
}
