peter
2025-08-18 c50561d007e420f7397f73afce8966231973ec54
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
 * Copyright (c) 2018-2999 广州市蓝海创新科技有限公司 All rights reserved.
 *
 * https://www.mall4j.com/
 *
 * 未经允许,不可做商业用途!
 *
 * 版权所有,侵权必究!
 */
 
package com.yami.trading.sys.dao;
 
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.trading.sys.model.SysConfig;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * 系统配置信息
 * @author lgh
 */
public interface SysConfigMapper extends BaseMapper<SysConfig>  {
 
    /**
     * 根据key,查询系统配置信息
     * @param key key
     * @return SysConfig
     */
    SysConfig queryByKey(String key);
 
    /**
     * 根据key,更新value
     * @param key
     * @param value
     * @return 更新成功条数
     */
    int updateValueByKey(@Param("key") String key, @Param("value") String value);
 
    /**
     * 根据key查询系统配置信息
     * @param key
     * @return 系统配置信息列表
     */
    List<SysConfig> selectByKeyLike(String key);
 
    /**
     * 批量删除系统配置
     * @param ids 系统配置信息数组
     */
    void deleteBatch(@Param("ids") Long[] ids);
 
}