64 lines
1.3 KiB
Java
64 lines
1.3 KiB
Java
package com.ruoyi.system.mapper;
|
|
|
|
import java.util.List;
|
|
import com.ruoyi.system.domain.SiteConfig;
|
|
|
|
/**
|
|
* 系统配置Mapper接口
|
|
*
|
|
* @author ruoyi
|
|
* @date 2025-05-13
|
|
*/
|
|
public interface SiteConfigMapper
|
|
{
|
|
/**
|
|
* 查询系统配置
|
|
*
|
|
* @param id 系统配置主键
|
|
* @return 系统配置
|
|
*/
|
|
public SiteConfig selectSiteConfigById(Integer id);
|
|
|
|
public SiteConfig selectSiteConfigByName(String name);
|
|
|
|
/**
|
|
* 查询系统配置列表
|
|
*
|
|
* @param siteConfig 系统配置
|
|
* @return 系统配置集合
|
|
*/
|
|
public List<SiteConfig> selectSiteConfigList(SiteConfig siteConfig);
|
|
|
|
/**
|
|
* 新增系统配置
|
|
*
|
|
* @param siteConfig 系统配置
|
|
* @return 结果
|
|
*/
|
|
public int insertSiteConfig(SiteConfig siteConfig);
|
|
|
|
/**
|
|
* 修改系统配置
|
|
*
|
|
* @param siteConfig 系统配置
|
|
* @return 结果
|
|
*/
|
|
public int updateSiteConfig(SiteConfig siteConfig);
|
|
|
|
/**
|
|
* 删除系统配置
|
|
*
|
|
* @param id 系统配置主键
|
|
* @return 结果
|
|
*/
|
|
public int deleteSiteConfigById(Integer id);
|
|
|
|
/**
|
|
* 批量删除系统配置
|
|
*
|
|
* @param ids 需要删除的数据主键集合
|
|
* @return 结果
|
|
*/
|
|
public int deleteSiteConfigByIds(Integer[] ids);
|
|
}
|