。。。instanceId逆序失效的处理

This commit is contained in:
wangliwen 2022-07-13 11:07:24 +08:00
parent 61ab58b704
commit 218d42ad9b
8 changed files with 27 additions and 4 deletions

View File

@ -1,3 +1,3 @@
ALTER TABLE `share_platform`.`tb_data_attr`
ADD INDEX `resource_id`(`data_resource_id`),
ADD FULLTEXT INDEX `attr_value`(`attr_type`, `attr_value`);
ADD FULLTEXT INDEX `attr_value_`(`attr_type`, `attr_value`);

View File

@ -5,9 +5,9 @@ alter table `tb_resource_score` ADD INDEX `resourceid`(`resource_id`) USING BTRE
alter table `tb_resource_browse` ADD INDEX `resourceid`(`resource_id`) USING BTREE comment '资源id索引';
alter table `t_ability_application` ADD INDEX `resourceid`(`resource_id`) USING BTREE comment '资源id';
alter table `t_ability_application` ADD INDEX `userId`(`user_id`) USING BTREE comment '用户';
alter table `tb_data_resource` ADD FULLTEXT INDEX `type`(`type`) with parser ngram;
alter table `tb_data_attr` ADD FULLTEXT INDEX `attr_value`(`attr_value`) with parser ngram;
alter table `tb_data_resource` ADD FULLTEXT INDEX `name`(`name`) with parser ngram;
alter table `tb_data_resource` ADD FULLTEXT INDEX `type`(`type`) WITH PARSER NGRAM;
alter table `tb_data_attr` ADD FULLTEXT INDEX `attr_value`(`attr_value`) WITH PARSER NGRAM;
alter table `tb_data_resource` ADD FULLTEXT INDEX `name`(`name`) WITH PARSER NGRAM;
alter table `tb_data_resource` ADD INDEX `deptId`(`dept_id`) USING BTREE;
alter table `sys_dept` ADD INDEX `type`(`type`) USING BTREE;
alter table `sys_dept` ADD INDEX `district`(`district`) USING BTREE;

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,2 @@
alter table `share_platform`.`tb_data_resource` ADD COLUMN `visitor` bigint NULL comment '浏览量';
UPDATE tb_data_resource SET visitor = (SELECT COUNT(id) FROM tb_resource_browse WHERE resource_id = tb_data_resource.id);

View File

@ -0,0 +1,3 @@
alter table `t_ability_application` ADD COLUMN `apply_flag` varchar(255) NULL comment '申请单标识';
alter table `t_ability_application` ADD COLUMN `resource_owner_dept` json NULL comment '资源所属部门信息';
alter table `t_ability_application` ADD COLUMN `enclosure_name` longtext NULL comment '附件文件名';

View File

@ -0,0 +1,12 @@
alter table `t_ability_application` ADD COLUMN `apply_number` varchar(16) NULL comment '能力使用申请单号';
alter table `t_resource_mount_apply` ADD COLUMN `apply_number` varchar(16) NULL comment '能力上架申请单号';
alter table `t_demand_data` ADD COLUMN `apply_number` varchar(16) NULL comment '能力需求申请单号';
alter table `t_demand_comment` ADD COLUMN `apply_number` varchar(16) NULL comment '需求评论申请单号';
alter table `tb_data_resource` ADD COLUMN `apply_number` varchar(16) NULL comment '能力下架申请单号';
alter table `sys_log_operation` ADD COLUMN `operation_table` varchar(500) NULL comment '操作数据库表';

View File

@ -0,0 +1 @@
alter table `t_ability_application` MODIFY COLUMN `instance_id` bigint(20) NULL DEFAULT NULL comment '流程实例ID' ;

View File

@ -0,0 +1 @@
alter table `t_ability_application` MODIFY COLUMN `instance_id` bigint(20) NULL DEFAULT NULL comment '流程实例ID' ;