Skip to content

Commit

Permalink
按源代码管理员的建议,枚举类从50调整为27
Browse files Browse the repository at this point in the history
  • Loading branch information
feng.du committed Jan 15, 2024
1 parent f50c48c commit f6c03c9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sql/1.5/1.5_increment.sql
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ INSERT INTO task_param_template (task_type, task_name, task_version, params, gmt

-- 2023-11-22 add by xjs1983boy OracleSQL to dict
insert into dict(dict_code,dict_name,dict_value,dict_desc,type,sort,data_type,depend_name,is_default,gmt_create,gmt_modified,is_deleted)
values('50','OracleSQL','{"actions":["SAVE_TASK","RUN_TASK","STOP_TASK","SUBMIT_TASK","OPERATOR_TASK"],"barItem":["task","dependency","task_params","env_params"],"formField":["datasource"],"renderKind":"editor","dataTypeCodes":[2]}','',30,0,'STRING','',0,'2023-11-06 13:35:00','2023-11-06 13:35:00',0);
values('27','OracleSQL','{"actions":["SAVE_TASK","RUN_TASK","STOP_TASK","SUBMIT_TASK","OPERATOR_TASK"],"barItem":["task","dependency","task_params","env_params"],"formField":["datasource"],"renderKind":"editor","dataTypeCodes":[2]}','',30,0,'STRING','',0,'2023-11-06 13:35:00','2023-11-06 13:35:00',0);
COMMIT;
2 changes: 1 addition & 1 deletion sql/init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2545,5 +2545,5 @@ COMMIT;

-- 2023-11-22 add by xjs1983boy OracleSQL to dict
insert into dict(dict_code,dict_name,dict_value,dict_desc,type,sort,data_type,depend_name,is_default,gmt_create,gmt_modified,is_deleted)
values('50','OracleSQL','{"actions":["SAVE_TASK","RUN_TASK","STOP_TASK","SUBMIT_TASK","OPERATOR_TASK"],"barItem":["task","dependency","task_params","env_params"],"formField":["datasource"],"renderKind":"editor","dataTypeCodes":[2]}','',30,0,'STRING','',0,'2023-11-06 13:35:00','2023-11-06 13:35:00',0);
values('27','OracleSQL','{"actions":["SAVE_TASK","RUN_TASK","STOP_TASK","SUBMIT_TASK","OPERATOR_TASK"],"barItem":["task","dependency","task_params","env_params"],"formField":["datasource"],"renderKind":"editor","dataTypeCodes":[2]}','',30,0,'STRING','',0,'2023-11-06 13:35:00','2023-11-06 13:35:00',0);
COMMIT;
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public enum EScheduleJobType {
HADOOP_MR(25, "HadoopMR", EJobType.MR.getType(), 16, EComponentType.HDFS, EComputeType.BATCH, EJobClientType.WORKER_PLUGIN),
DATAX(26,"DataX", EJobType.PYTHON.getType(),14, EComponentType.DATAX, EComputeType.BATCH, EJobClientType.WORKER_PLUGIN),

ORACLE_SQL(50, "OracleSQL", EJobType.SQL.getType(), 4, null, EComputeType.BATCH, EJobClientType.DATASOURCE_PLUGIN),
ORACLE_SQL(27, "OracleSQL", EJobType.SQL.getType(), 4, null, EComputeType.BATCH, EJobClientType.DATASOURCE_PLUGIN),
;

private final Integer type;
Expand Down
2 changes: 1 addition & 1 deletion taier-ui/src/constant/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export enum TASK_TYPE_ENUM {
MAX_COMPUTE = 24,
HADOOP_MR = 25,
DATAX,
ORACLE_SQL = 50,
ORACLE_SQL = 27,
}

/**
Expand Down

0 comments on commit f6c03c9

Please sign in to comment.