mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 12:39:05 +08:00
🎨 Improving structure / format of the code. 格式化代码
This commit is contained in:
1 parent
32bcd5465b
commit
5bd6d4643c
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -37,7 +37,7 @@ public class ClientDetailsInitRunner implements InitializingBean {
|
||||
|
||||
private final SysTenantService tenantService;
|
||||
|
||||
private final RedisTemplate<String,String> redisTemplate;
|
||||
private final RedisTemplate<String, String> redisTemplate;
|
||||
|
||||
/**
|
||||
* WebServerInitializedEvent 使用 TransactionalEventListener 时启动时无法获取到事件
|
||||
|
||||
+1
-1
@@ -106,7 +106,7 @@ public class SysFileController {
|
||||
public R upload(@RequestPart("file") MultipartFile file, @RequestParam(value = "dir", required = false) String dir,
|
||||
@RequestParam(value = "groupId", required = false) Long groupId,
|
||||
@RequestParam(value = "type", required = false) String type) {
|
||||
return sysFileService.uploadFile(file, dir,groupId, type);
|
||||
return sysFileService.uploadFile(file, dir, groupId, type);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -56,7 +56,7 @@ public class GenKit {
|
||||
// 为空 根据jdbc-url推断数据库类型
|
||||
if (datasourceConf == null) {
|
||||
DruidDataSourceProperties dataSourceProperties = SpringContextHolder
|
||||
.getBean(DruidDataSourceProperties.class);
|
||||
.getBean(DruidDataSourceProperties.class);
|
||||
DbType dbType = JdbcUtils.getDbType(dataSourceProperties.getUrl());
|
||||
dbConfType = dbType.getDb();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user