package com.jwipc.sys.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.sys.entity.SysConfig;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.sys.model.po.SysConfigPO;
import com.jwipc.sys.model.query.SysConfigQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统配置表 Mapper 接口
 * </p>
 *
 * @author zhangjie
 * @since 2024-01-27
 */
public interface SysConfigMapper extends BaseMapper<SysConfig> {

    List<SysConfigPO> findPageByQuery(@Param("query") SysConfigQuery query);

    List<SysConfigPO> findPageByQuery(Page<SysConfig> dbPage, @Param("query") SysConfigQuery query);
}
