parent
fb7b90501e
commit
f8fd0a05e4
8
pom.xml
8
pom.xml
|
|
@ -23,6 +23,7 @@
|
|||
<alibaba.nacos.version>2.0.4</alibaba.nacos.version>
|
||||
<spring-boot-admin.version>2.6.2</spring-boot-admin.version>
|
||||
<spring-boot.mybatis>2.2.2</spring-boot.mybatis>
|
||||
<spring-boot.mybatisPlus>3.5.1</spring-boot.mybatisPlus>
|
||||
<swagger.fox.version>3.0.0</swagger.fox.version>
|
||||
<swagger.core.version>1.6.2</swagger.core.version>
|
||||
<tobato.version>1.27.2</tobato.version>
|
||||
|
|
@ -100,6 +101,13 @@
|
|||
<version>${spring-boot.mybatis}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- mybatis plus 配置-->
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||||
<version>${spring-boot.mybatisPlus}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Swagger 依赖配置 -->
|
||||
<dependency>
|
||||
<groupId>io.swagger</groupId>
|
||||
|
|
|
|||
|
|
@ -119,6 +119,12 @@
|
|||
<artifactId>swagger-annotations</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- mybatis plus 配置-->
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,13 @@
|
|||
package com.ruoyi.common.core.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
|
||||
/**
|
||||
* 通用mapper 数据层
|
||||
*
|
||||
* @author pinn
|
||||
*/
|
||||
public interface CommonMapper<T> extends BaseMapper<T>
|
||||
{
|
||||
|
||||
}
|
||||
|
|
@ -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<SysConfig>
|
||||
{
|
||||
/**
|
||||
* 查询参数配置信息
|
||||
|
|
|
|||
|
|
@ -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<SysConfig>
|
||||
{
|
||||
/**
|
||||
* 查询参数配置信息
|
||||
|
|
|
|||
|
|
@ -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<SysConfig> entityList, int batchSize) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean saveOrUpdateBatch(Collection<SysConfig> entityList, int batchSize) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean updateBatchById(Collection<SysConfig> entityList, int batchSize) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean saveOrUpdate(SysConfig entity) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SysConfig getOne(Wrapper<SysConfig> queryWrapper, boolean throwEx) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, Object> getMap(Wrapper<SysConfig> queryWrapper) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <V> V getObj(Wrapper<SysConfig> queryWrapper, Function<? super Object, V> mapper) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseMapper<SysConfig> getBaseMapper() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<SysConfig> getEntityClass() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue