package tech.glinfo.enbao.modules.sh.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import tech.glinfo.enbao.common.utils.PageUtils;
import tech.glinfo.enbao.common.utils.Query;

import tech.glinfo.enbao.modules.sh.dao.ShSpeakerSecondaryKeywordsDao;
import tech.glinfo.enbao.modules.sh.entity.ShSpeakerSecondaryKeywordsEntity;
import tech.glinfo.enbao.modules.sh.service.ShSpeakerSecondaryKeywordsService;


@Service("shSpeakerSecondaryKeywordsService")
public class ShSpeakerSecondaryKeywordsServiceImpl extends ServiceImpl<ShSpeakerSecondaryKeywordsDao, ShSpeakerSecondaryKeywordsEntity> implements ShSpeakerSecondaryKeywordsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ShSpeakerSecondaryKeywordsEntity> page = this.page(
                new Query<ShSpeakerSecondaryKeywordsEntity>().getPage(params),
                new QueryWrapper<ShSpeakerSecondaryKeywordsEntity>()
        );

        return new PageUtils(page);
    }

}