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.SysSettingDao;
import tech.glinfo.enbao.modules.sys.entity.SysSettingEntity;
import tech.glinfo.enbao.modules.sys.service.SysSettingService;


@Service("sysSettingService")
public class SysSettingServiceImpl extends ServiceImpl<SysSettingDao, SysSettingEntity> implements SysSettingService {

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

        return new PageUtils(page);
    }

}