From 71a2a8245db4c04be3f96a9eb9b47931d3130650 Mon Sep 17 00:00:00 2001
From: zlyx <1242874891@qq.com>
Date: 星期三, 18 一月 2023 17:09:43 +0800
Subject: [PATCH] refactor 重构 common, framework 包结构, 参照 cloud 版本拆分子模块 ; update 更新模块包名 ; delete 移除 sms 模块, oss 模块, framework 模块 (并入 common 模块) ;

---
 ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java |   63 ++-----------------------------
 1 files changed, 4 insertions(+), 59 deletions(-)

diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java
index 0ed0c0a..52fa701 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java
@@ -1,68 +1,13 @@
 package com.ruoyi.system.mapper;
 
-import java.util.List;
+import com.ruoyi.common.mybatis.core.mapper.BaseMapperPlus;
 import com.ruoyi.system.domain.SysConfig;
 
 /**
  * 鍙傛暟閰嶇疆 鏁版嵁灞�
- * 
- * @author ruoyi
+ *
+ * @author Lion Li
  */
-public interface SysConfigMapper
-{
-    /**
-     * 鏌ヨ鍙傛暟閰嶇疆淇℃伅
-     * 
-     * @param config 鍙傛暟閰嶇疆淇℃伅
-     * @return 鍙傛暟閰嶇疆淇℃伅
-     */
-    public SysConfig selectConfig(SysConfig config);
+public interface SysConfigMapper extends BaseMapperPlus<SysConfigMapper, SysConfig, SysConfig> {
 
-    /**
-     * 鏌ヨ鍙傛暟閰嶇疆鍒楄〃
-     * 
-     * @param config 鍙傛暟閰嶇疆淇℃伅
-     * @return 鍙傛暟閰嶇疆闆嗗悎
-     */
-    public List<SysConfig> selectConfigList(SysConfig config);
-
-    /**
-     * 鏍规嵁閿悕鏌ヨ鍙傛暟閰嶇疆淇℃伅
-     * 
-     * @param configKey 鍙傛暟閿悕
-     * @return 鍙傛暟閰嶇疆淇℃伅
-     */
-    public SysConfig checkConfigKeyUnique(String configKey);
-
-    /**
-     * 鏂板鍙傛暟閰嶇疆
-     * 
-     * @param config 鍙傛暟閰嶇疆淇℃伅
-     * @return 缁撴灉
-     */
-    public int insertConfig(SysConfig config);
-
-    /**
-     * 淇敼鍙傛暟閰嶇疆
-     * 
-     * @param config 鍙傛暟閰嶇疆淇℃伅
-     * @return 缁撴灉
-     */
-    public int updateConfig(SysConfig config);
-
-    /**
-     * 鍒犻櫎鍙傛暟閰嶇疆
-     * 
-     * @param configId 鍙傛暟ID
-     * @return 缁撴灉
-     */
-    public int deleteConfigById(Long configId);
-
-    /**
-     * 鎵归噺鍒犻櫎鍙傛暟淇℃伅
-     * 
-     * @param configIds 闇�瑕佸垹闄ょ殑鍙傛暟ID
-     * @return 缁撴灉
-     */
-    public int deleteConfigByIds(Long[] configIds);
 }

--
Gitblit v1.9.3