package tech.glinfo.enbao.modules.sys.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.sys.dao.FeedBackDao;
import tech.glinfo.enbao.modules.sys.entity.FeedBackEntity;
import tech.glinfo.enbao.modules.sys.service.FeedBackService;


@Service("feedBackService")
public class FeedBackServiceImpl extends ServiceImpl<FeedBackDao, FeedBackEntity> implements FeedBackService {

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

        return new PageUtils(page);
    }

}