Skip to content

Commit 81b4ef0

Browse files
authored
fix: Format code and fix style and data issues (#225)
1 parent bd015fe commit 81b4ef0

File tree

96 files changed

+1640
-1550
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+1640
-1550
lines changed

app/src/main/resources/application-local.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ spring:
88
password:
99
sql:
1010
init:
11-
schema-locations: classpath:sql/h2/create_all_tables_ddl_v1.h2.sql
12-
data-locations: classpath:sql/h2/init_data_for_test.sql
11+
schema-locations: classpath:sql/h2/create_all_tables_ddl_v1.0.0.h2.sql
12+
data-locations: classpath:sql/h2/init_data_for_test_v1.0.0.sql
1313

1414
springdoc:
1515
api-docs:

app/src/main/resources/sql/h2/create_all_tables_ddl_v1.h2.sql renamed to app/src/main/resources/sql/h2/create_all_tables_ddl_v1.0.0.h2.sql

File renamed without changes.

app/src/main/resources/sql/h2/init_data_for_test.sql

Lines changed: 0 additions & 178 deletions
This file was deleted.

app/src/main/resources/sql/h2/init_data_for_test_v1.0.0.sql

Lines changed: 175 additions & 0 deletions
Large diffs are not rendered by default.

app/src/main/resources/sql/h2/update_all_tables_ddl.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ ALTER TABLE t_platform_history MODIFY tenant_id varchar(60) NULL;
2828
ALTER TABLE t_task_record MODIFY tenant_id varchar(60) NULL;
2929
ALTER TABLE t_user MODIFY tenant_id varchar(60) NULL;
3030

31-
ALTER TABLE t_component_library ADD app_id int NULL;
31+
ALTER TABLE t_component_library ADD app_id int NULL;
32+

app/src/main/resources/sql/mysql/create_all_tables_ddl_v1.mysql.sql renamed to app/src/main/resources/sql/mysql/create_all_tables_ddl_v1.0.0.mysql.sql

File renamed without changes.

app/src/main/resources/sql/mysql/init_data_for_test.sql

Lines changed: 0 additions & 180 deletions
This file was deleted.

app/src/main/resources/sql/mysql/init_data_for_test_v1.0.0.sql

Lines changed: 175 additions & 0 deletions
Large diffs are not rendered by default.

app/src/main/resources/sql/mysql/update_all_tables_ddl.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ ALTER TABLE t_platform_history MODIFY tenant_id varchar(60) NULL;
2828
ALTER TABLE t_task_record MODIFY tenant_id varchar(60) NULL;
2929
ALTER TABLE t_user MODIFY tenant_id varchar(60) NULL;
3030

31-
ALTER TABLE t_component_library ADD app_id int NULL;
31+
ALTER TABLE t_component_library ADD app_id int NULL;
32+

base/src/main/java/com/tinyengine/it/common/context/LoginUserContext.java

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,35 @@ public interface LoginUserContext {
2020
* 返回当前用户所诉的业务租户信息
2121
* @return 租户ID
2222
*/
23-
public String getTenantId();
23+
String getTenantId();
2424

2525
/**
2626
* 返回当前用户信息
2727
* @return 用户ID
2828
*/
29-
public String getLoginUserId();
29+
String getLoginUserId();
3030

3131
/**
3232
* 返回当前用户所属业务租户信息
3333
* @return 业务租户ID
3434
*/
35-
public String getRenterId();
35+
String getRenterId();
3636

3737
/**
3838
* 返回当前应用信息
3939
* @return 应用ID
4040
*/
41-
public int getAppId();
41+
int getAppId();
4242

4343
/**
4444
* 返回当前设计器信息
4545
* @return 设计器ID
4646
*/
47-
public int getPlatformId();
47+
int getPlatformId();
4848

49-
public String getSiteId();
49+
/**
50+
* getSiteId
51+
* @return Strinig
52+
*/
53+
String getSiteId();
5054
}

0 commit comments

Comments
 (0)