liujie
12 小时以前 fddf3d913d47f391f84f9e460cb76d427ef02c44
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.ruoyi.system.mapper;
 
import com.ruoyi.system.domain.SysPlatformSetting;
 
/**
 * 平台设置表 数据层
 *
 * 只有两个语句:读那一行、覆盖那一行。单行表没有列表查询,也就没有 PageHelper 的用武之地,
 * 更不需要按条件筛选的 <where> 分支。
 *
 * @author ruoyi
 */
public interface SysPlatformSettingMapper
{
    /**
     * 查询平台设置(全表唯一一行)
     *
     * @return 平台设置信息;从未保存过时返回 null
     */
    public SysPlatformSetting selectPlatformSetting();
 
    /**
     * 保存平台设置:行存在则覆盖,不存在则建行
     *
     * @param setting 平台设置信息
     * @return 结果
     */
    public int savePlatformSetting(SysPlatformSetting setting);
}