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.ShSpeakerSongDao;
import tech.glinfo.enbao.modules.sh.entity.ShSpeakerSongEntity;
import tech.glinfo.enbao.modules.sh.service.ShSpeakerSongService;


@Service("shSpeakerSongService")
public class ShSpeakerSongServiceImpl extends ServiceImpl<ShSpeakerSongDao, ShSpeakerSongEntity> implements ShSpeakerSongService {

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

        return new PageUtils(page);
    }

}