diff --git a/pom.xml b/pom.xml
index 24bb16a1..3582ca61 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,276 +1,284 @@
-
-
- 4.0.0
-
- com.ruoyi
- ruoyi
- 3.4.0
-
- ruoyi
- http://www.ruoyi.vip
- 若依微服务系统
-
-
- 3.4.0
- UTF-8
- UTF-8
- 1.8
- 2.6.4
- 2021.0.1
- 2021.1
- 2.0.4
- 2.6.2
- 2.2.2
- 3.0.0
- 1.6.2
- 1.27.2
- 2.3.2
- 1.4.1
- 1.2.8
- 3.5.0
- 2.11.0
- 1.4
- 2.3
- 1.2.79
- 0.9.1
- 8.2.2
- 4.1.2
- 3.2.2
- 2.12.2
-
-
-
-
-
-
-
-
- org.springframework.cloud
- spring-cloud-dependencies
- ${spring-cloud.version}
- pom
- import
-
-
-
-
- com.alibaba.cloud
- spring-cloud-alibaba-dependencies
- ${spring-cloud-alibaba.version}
- pom
- import
-
-
-
-
- com.alibaba.nacos
- nacos-client
- ${alibaba.nacos.version}
-
-
-
-
- org.springframework.boot
- spring-boot-dependencies
- ${spring-boot.version}
- pom
- import
-
-
-
-
- de.codecentric
- spring-boot-admin-starter-client
- ${spring-boot-admin.version}
-
-
-
-
- com.github.tobato
- fastdfs-client
- ${tobato.version}
-
-
-
-
- org.mybatis.spring.boot
- mybatis-spring-boot-starter
- ${spring-boot.mybatis}
-
-
-
-
- io.swagger
- swagger-models
- ${swagger.core.version}
-
-
- io.swagger
- swagger-annotations
- ${swagger.core.version}
-
-
-
-
- com.github.penggle
- kaptcha
- ${kaptcha.version}
-
-
-
-
- com.github.pagehelper
- pagehelper-spring-boot-starter
- ${pagehelper.boot.version}
-
-
-
-
- commons-io
- commons-io
- ${commons.io.version}
-
-
-
-
- org.apache.poi
- poi-ooxml
- ${poi.version}
-
-
-
-
- commons-fileupload
- commons-fileupload
- ${commons.fileupload.version}
-
-
-
-
- org.apache.velocity
- velocity-engine-core
- ${velocity.version}
-
-
-
-
- commons-collections
- commons-collections
- ${commons-collections.version}
-
-
-
-
- com.alibaba
- fastjson
- ${fastjson.version}
-
-
-
-
- io.jsonwebtoken
- jjwt
- ${jjwt.version}
-
-
-
-
- com.alibaba
- transmittable-thread-local
- ${transmittable-thread-local.version}
-
-
-
-
- com.ruoyi
- ruoyi-common-core
- ${ruoyi.version}
-
-
-
-
- com.ruoyi
- ruoyi-common-swagger
- ${ruoyi.version}
-
-
-
-
- com.ruoyi
- ruoyi-common-security
- ${ruoyi.version}
-
-
-
-
- com.ruoyi
- ruoyi-common-datascope
- ${ruoyi.version}
-
-
-
-
- com.ruoyi
- ruoyi-common-datasource
- ${ruoyi.version}
-
-
-
-
- com.ruoyi
- ruoyi-common-log
- ${ruoyi.version}
-
-
-
-
- com.ruoyi
- ruoyi-common-redis
- ${ruoyi.version}
-
-
-
-
- com.ruoyi
- ruoyi-api-system
- ${ruoyi.version}
-
-
-
-
-
-
- ruoyi-auth
- ruoyi-gateway
- ruoyi-visual
- ruoyi-modules
- ruoyi-api
- ruoyi-common
-
- pom
-
-
-
-
- org.springframework.cloud
- spring-cloud-starter-bootstrap
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
-
- ${java.version}
- ${java.version}
- ${project.build.sourceEncoding}
-
-
-
-
-
+
+
+ 4.0.0
+
+ com.ruoyi
+ ruoyi
+ 3.4.0
+
+ ruoyi
+ http://www.ruoyi.vip
+ 若依微服务系统
+
+
+ 3.4.0
+ UTF-8
+ UTF-8
+ 1.8
+ 2.6.4
+ 2021.0.1
+ 2021.1
+ 2.0.4
+ 2.6.2
+ 2.2.2
+ 3.5.1
+ 3.0.0
+ 1.6.2
+ 1.27.2
+ 2.3.2
+ 1.4.1
+ 1.2.8
+ 3.5.0
+ 2.11.0
+ 1.4
+ 2.3
+ 1.2.79
+ 0.9.1
+ 8.2.2
+ 4.1.2
+ 3.2.2
+ 2.12.2
+
+
+
+
+
+
+
+
+ org.springframework.cloud
+ spring-cloud-dependencies
+ ${spring-cloud.version}
+ pom
+ import
+
+
+
+
+ com.alibaba.cloud
+ spring-cloud-alibaba-dependencies
+ ${spring-cloud-alibaba.version}
+ pom
+ import
+
+
+
+
+ com.alibaba.nacos
+ nacos-client
+ ${alibaba.nacos.version}
+
+
+
+
+ org.springframework.boot
+ spring-boot-dependencies
+ ${spring-boot.version}
+ pom
+ import
+
+
+
+
+ de.codecentric
+ spring-boot-admin-starter-client
+ ${spring-boot-admin.version}
+
+
+
+
+ com.github.tobato
+ fastdfs-client
+ ${tobato.version}
+
+
+
+
+ org.mybatis.spring.boot
+ mybatis-spring-boot-starter
+ ${spring-boot.mybatis}
+
+
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+ ${spring-boot.mybatisPlus}
+
+
+
+
+ io.swagger
+ swagger-models
+ ${swagger.core.version}
+
+
+ io.swagger
+ swagger-annotations
+ ${swagger.core.version}
+
+
+
+
+ com.github.penggle
+ kaptcha
+ ${kaptcha.version}
+
+
+
+
+ com.github.pagehelper
+ pagehelper-spring-boot-starter
+ ${pagehelper.boot.version}
+
+
+
+
+ commons-io
+ commons-io
+ ${commons.io.version}
+
+
+
+
+ org.apache.poi
+ poi-ooxml
+ ${poi.version}
+
+
+
+
+ commons-fileupload
+ commons-fileupload
+ ${commons.fileupload.version}
+
+
+
+
+ org.apache.velocity
+ velocity-engine-core
+ ${velocity.version}
+
+
+
+
+ commons-collections
+ commons-collections
+ ${commons-collections.version}
+
+
+
+
+ com.alibaba
+ fastjson
+ ${fastjson.version}
+
+
+
+
+ io.jsonwebtoken
+ jjwt
+ ${jjwt.version}
+
+
+
+
+ com.alibaba
+ transmittable-thread-local
+ ${transmittable-thread-local.version}
+
+
+
+
+ com.ruoyi
+ ruoyi-common-core
+ ${ruoyi.version}
+
+
+
+
+ com.ruoyi
+ ruoyi-common-swagger
+ ${ruoyi.version}
+
+
+
+
+ com.ruoyi
+ ruoyi-common-security
+ ${ruoyi.version}
+
+
+
+
+ com.ruoyi
+ ruoyi-common-datascope
+ ${ruoyi.version}
+
+
+
+
+ com.ruoyi
+ ruoyi-common-datasource
+ ${ruoyi.version}
+
+
+
+
+ com.ruoyi
+ ruoyi-common-log
+ ${ruoyi.version}
+
+
+
+
+ com.ruoyi
+ ruoyi-common-redis
+ ${ruoyi.version}
+
+
+
+
+ com.ruoyi
+ ruoyi-api-system
+ ${ruoyi.version}
+
+
+
+
+
+
+ ruoyi-auth
+ ruoyi-gateway
+ ruoyi-visual
+ ruoyi-modules
+ ruoyi-api
+ ruoyi-common
+
+ pom
+
+
+
+
+ org.springframework.cloud
+ spring-cloud-starter-bootstrap
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-compiler-plugin
+
+ ${java.version}
+ ${java.version}
+ ${project.build.sourceEncoding}
+
+
+
+
+
\ No newline at end of file
diff --git a/ruoyi-common/ruoyi-common-core/pom.xml b/ruoyi-common/ruoyi-common-core/pom.xml
index faa871a6..1645b937 100644
--- a/ruoyi-common/ruoyi-common-core/pom.xml
+++ b/ruoyi-common/ruoyi-common-core/pom.xml
@@ -119,6 +119,12 @@
swagger-annotations
+
+
+ com.baomidou
+ mybatis-plus-boot-starter
+
+
diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/domain/CommonMapper.java b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/domain/CommonMapper.java
new file mode 100644
index 00000000..645fc724
--- /dev/null
+++ b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/domain/CommonMapper.java
@@ -0,0 +1,13 @@
+package com.ruoyi.common.core.domain;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+/**
+ * 通用mapper 数据层
+ *
+ * @author pinn
+ */
+public interface CommonMapper extends BaseMapper
+{
+
+}
\ No newline at end of file
diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java
index 71a0bce8..b024eadf 100644
--- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java
+++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysConfigMapper.java
@@ -1,6 +1,7 @@
package com.ruoyi.system.mapper;
import java.util.List;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.SysConfig;
/**
@@ -8,7 +9,7 @@ import com.ruoyi.system.domain.SysConfig;
*
* @author ruoyi
*/
-public interface SysConfigMapper
+public interface SysConfigMapper extends BaseMapper
{
/**
* 查询参数配置信息
diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysConfigService.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysConfigService.java
index 0ea11893..aa0e13f6 100644
--- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysConfigService.java
+++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/ISysConfigService.java
@@ -1,6 +1,8 @@
package com.ruoyi.system.service;
import java.util.List;
+
+import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.SysConfig;
/**
@@ -8,7 +10,7 @@ import com.ruoyi.system.domain.SysConfig;
*
* @author ruoyi
*/
-public interface ISysConfigService
+public interface ISysConfigService extends IService
{
/**
* 查询参数配置信息
diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java
index bbda508a..09a1925c 100644
--- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java
+++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysConfigServiceImpl.java
@@ -2,7 +2,12 @@ package com.ruoyi.system.service.impl;
import java.util.Collection;
import java.util.List;
+import java.util.Map;
+import java.util.function.Function;
import javax.annotation.PostConstruct;
+
+import com.baomidou.mybatisplus.core.conditions.Wrapper;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.common.core.constant.Constants;
@@ -204,4 +209,49 @@ public class SysConfigServiceImpl implements ISysConfigService
{
return Constants.SYS_CONFIG_KEY + configKey;
}
+
+ @Override
+ public boolean saveBatch(Collection entityList, int batchSize) {
+ return false;
+ }
+
+ @Override
+ public boolean saveOrUpdateBatch(Collection entityList, int batchSize) {
+ return false;
+ }
+
+ @Override
+ public boolean updateBatchById(Collection entityList, int batchSize) {
+ return false;
+ }
+
+ @Override
+ public boolean saveOrUpdate(SysConfig entity) {
+ return false;
+ }
+
+ @Override
+ public SysConfig getOne(Wrapper queryWrapper, boolean throwEx) {
+ return null;
+ }
+
+ @Override
+ public Map getMap(Wrapper queryWrapper) {
+ return null;
+ }
+
+ @Override
+ public V getObj(Wrapper queryWrapper, Function super Object, V> mapper) {
+ return null;
+ }
+
+ @Override
+ public BaseMapper getBaseMapper() {
+ return null;
+ }
+
+ @Override
+ public Class getEntityClass() {
+ return null;
+ }
}
diff --git a/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml b/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
index b1570e28..8b979061 100644
--- a/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
+++ b/ruoyi-modules/ruoyi-system/src/main/resources/mapper/system/SysConfigMapper.xml
@@ -1,112 +1,112 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- select config_id, config_name, config_key, config_value, config_type, create_by, create_time, update_by, update_time, remark
- from sys_config
-
-
-
-
-
-
- and config_id = #{configId}
-
-
- and config_key = #{configKey}
-
-
-
-
-
-
-
-
-
-
-
- insert into sys_config (
- config_name,
- config_key,
- config_value,
- config_type,
- create_by,
- remark,
- create_time
- )values(
- #{configName},
- #{configKey},
- #{configValue},
- #{configType},
- #{createBy},
- #{remark},
- sysdate()
- )
-
-
-
- update sys_config
-
- config_name = #{configName},
- config_key = #{configKey},
- config_value = #{configValue},
- config_type = #{configType},
- update_by = #{updateBy},
- remark = #{remark},
- update_time = sysdate()
-
- where config_id = #{configId}
-
-
-
- delete from sys_config where config_id = #{configId}
-
-
-
- delete from sys_config where config_id in
-
- #{configId}
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ select config_id, config_name, config_key, config_value, config_type, create_by, create_time, update_by, update_time, remark
+ from sys_config
+
+
+
+
+
+
+ and config_id = #{configId}
+
+
+ and config_key = #{configKey}
+
+
+
+
+
+
+
+
+
+
+
+ insert into sys_config (
+ config_name,
+ config_key,
+ config_value,
+ config_type,
+ create_by,
+ remark,
+ create_time
+ )values(
+ #{configName},
+ #{configKey},
+ #{configValue},
+ #{configType},
+ #{createBy},
+ #{remark},
+ sysdate()
+ )
+
+
+
+ update sys_config
+
+ config_name = #{configName},
+ config_key = #{configKey},
+ config_value = #{configValue},
+ config_type = #{configType},
+ update_by = #{updateBy},
+ remark = #{remark},
+ update_time = sysdate()
+
+ where config_id = #{configId}
+
+
+
+ delete from sys_config where config_id = #{configId}
+
+
+
+ delete from sys_config where config_id in
+
+ #{configId}
+
+
+
\ No newline at end of file