|
@@ -762,11 +762,52 @@ CREATE TABLE "public"."algorithm_task_configuration" (
|
|
test_url VARCHAR(255),
|
|
test_url VARCHAR(255),
|
|
test_params TEXT,
|
|
test_params TEXT,
|
|
remark VARCHAR(400),
|
|
remark VARCHAR(400),
|
|
|
|
+ "create_by" "pg_catalog"."int8",
|
|
|
|
+ "create_time" "pg_catalog"."timestamp" DEFAULT CURRENT_TIMESTAMP,
|
|
|
|
+ "update_by" "pg_catalog"."int8",
|
|
|
|
+ "update_time" "pg_catalog"."timestamp" DEFAULT CURRENT_TIMESTAMP,
|
|
"tenant_id" "pg_catalog"."int8" DEFAULT 0,
|
|
"tenant_id" "pg_catalog"."int8" DEFAULT 0,
|
|
version integer DEFAULT 0,
|
|
version integer DEFAULT 0,
|
|
del_flag smallint DEFAULT '0'::smallint NOT NULL,
|
|
del_flag smallint DEFAULT '0'::smallint NOT NULL,
|
|
- "system" "pg_catalog"."varchar" COLLATE "pg_catalog"."default",
|
|
|
|
CONSTRAINT "algorithm_task_configuration_pkey" PRIMARY KEY ("id")
|
|
CONSTRAINT "algorithm_task_configuration_pkey" PRIMARY KEY ("id")
|
|
);
|
|
);
|
|
ALTER TABLE "public"."algorithm_task_configuration"
|
|
ALTER TABLE "public"."algorithm_task_configuration"
|
|
OWNER TO "postgres";
|
|
OWNER TO "postgres";
|
|
|
|
+
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration" IS '训练测试任务配置表';
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration"."id" IS '主键ID';
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration"."name" IS '算法任务名称';
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration"."train_url" IS '训练算法地址';
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration"."train_params" IS '训练超参配置';
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration"."verify_url" IS '验证算法地址';
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration"."verify_params" IS '验证超参配置';
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration"."test_url" IS '测试算法地址';
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration"."test_params" IS '测试超参配置';
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration"."remark" IS '备注';
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration"."create_by" IS '创建人';
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration"."create_time" IS '创建时间';
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration"."update_by" IS '更新人';
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration"."update_time" IS '更新时间';
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration"."tenant_id" IS '租户编码';
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration"."version" IS '乐观锁';
|
|
|
|
+COMMENT ON COLUMN "public"."algorithm_task_configuration"."del_flag" IS '逻辑删除标志(0代表存在 1代表删除)';
|
|
|
|
+
|
|
|
|
+-- 菜单 SQL
|
|
|
|
+insert into sys_menu (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
|
|
|
|
+values(2024082310223600, '算法任务配置', 152584418900430848, '1', '/config/taskConfiguration', 'task/taskConfiguration/index', 1, 0, 'C', '0', '0', 'task:taskConfiguration:list', '', 1, now(), 1, null, '算法任务菜单');
|
|
|
|
+
|
|
|
|
+-- 按钮 SQL
|
|
|
|
+insert into sys_menu (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
|
|
|
|
+values(2024082310223601, '算法任务查询', 2024082310223600, '1', '', '', 1, 0, 'F', '0', '0', 'task:taskConfiguration:query', '', 1, now(), 1, null, '');
|
|
|
|
+
|
|
|
|
+insert into sys_menu (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
|
|
|
|
+values(2024082310223602, '算法任务新增', 2024082310223600, '2', '', '', 1, 0, 'F', '0', '0', 'task:taskConfiguration:add', '', 1, now(), 1, null, '');
|
|
|
|
+
|
|
|
|
+insert into sys_menu (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
|
|
|
|
+values(2024082310223603, '算法任务修改', 2024082310223600, '3', '', '', 1, 0, 'F', '0', '0', 'task:taskConfiguration:edit', '', 1, now(), 1, null, '');
|
|
|
|
+
|
|
|
|
+insert into sys_menu (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
|
|
|
|
+values(2024082310223604, '算法任务删除', 2024082310223600, '4', '', '', 1, 0, 'F', '0', '0', 'task:taskConfiguration:remove', '', 1, now(), 1, null, '');
|
|
|
|
+
|
|
|
|
+insert into sys_menu (menu_id, menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
|
|
|
|
+values(2024082310223605, '算法任务导出', 2024082310223600, '5', '', '', 1, 0, 'F', '0', '0', 'task:taskConfiguration:export', '', 1, now(), 1, null, '');
|