🎨 Improving structure / format of the code. 格式化代码

This commit is contained in:
lbw committed 2023-10-25 11:24:39 +08:00
1 parent 32bcd5465b
commit 5bd6d4643c
3 files changed
+3 -3

No files matched your search

@@ -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 时启动时无法获取到事件
@@ -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();
}