Commit 278b2a4d by 叶立庆

删除多余的sql、增加任务中心文档

1 parent 24822702
### 叶立庆 -----------------start-------------------
### 叶立庆 -----------------end---------------------
### 周海宝 -----------------start-------------------
### 周海宝 -----------------end---------------------
### 范富荣 -----------------start-------------------
### 范富荣 -----------------end---------------------
### 林永健 -----------------start-------------------
### 林永健 -----------------end---------------------
### 谢海旭 -----------------start-------------------
### 谢海旭 -----------------end---------------------
### 杨卫 -----------------start--------------------
-- 初始化脚本
delete from clue_burial_point_event_info where event_code in (
'qinggai_temp_001_click', 'uuid_temp_001_click', 'uuid_temp_011_click', 'uuid_temp_012_click',
'uuid_temp_013_click', 'uuid_temp_014_click', 'uuid_temp_015_click', 'uuid_temp_016_click',
'uuid_temp_017_click', 'uuid_temp_018_click', 'uuid_temp_019_click', 'uuid_temp_020_click',
'uuid_temp_021_click', 'uuid_temp_022_click', 'uuid_temp_023_click', 'qinggai_temp_001_browse',
'uuid_temp_001_browse', 'uuid_temp_011_browse', 'uuid_temp_012_browse', 'uuid_temp_013_browse',
'uuid_temp_014_browse', 'uuid_temp_015_browse', 'uuid_temp_016_browse', 'uuid_temp_017_browse',
'uuid_temp_018_browse', 'uuid_temp_019_browse', 'uuid_temp_020_browse', 'uuid_temp_021_browse',
'uuid_temp_022_browse', 'uuid_temp_023_browse', 'qinggai_temp_001_add', 'uuid_temp_001_add',
'uuid_temp_011_add', 'uuid_temp_012_add', 'uuid_temp_013_add', 'uuid_temp_014_add',
'uuid_temp_015_add', 'uuid_temp_016_add', 'uuid_temp_017_add', 'uuid_temp_018_add',
'uuid_temp_019_add', 'uuid_temp_020_add', 'uuid_temp_021_add', 'uuid_temp_022_add',
'uuid_temp_023_add', 'qinggai_temp_001_edit', 'uuid_temp_001_edit', 'uuid_temp_011_edit',
'uuid_temp_012_edit', 'uuid_temp_013_edit', 'uuid_temp_014_edit', 'uuid_temp_015_edit',
'uuid_temp_016_edit', 'uuid_temp_017_edit', 'uuid_temp_018_edit', 'uuid_temp_019_edit',
'uuid_temp_020_edit', 'uuid_temp_021_edit', 'uuid_temp_022_edit', 'uuid_temp_023_edit'
);
insert into clue_burial_point_event_info (event_code, event_name) values
('qinggai_temp_001_click', '点击-1.1轻改区域日报模版'),
('uuid_temp_001_click', '点击-2.3延保区域日报模版'),
('uuid_temp_011_click', '点击-2.1权益区域日报模版'),
('uuid_temp_012_click', '点击-2.1区域经理周报模版'),
('uuid_temp_013_click', '点击-1.1区域经理周报模版'),
('uuid_temp_014_click', '点击-2.3区域经理周报模版'),
('uuid_temp_015_click', '点击-2.1运营主管周报模版'),
('uuid_temp_016_click', '点击-1.1运营主管周报模版'),
('uuid_temp_017_click', '点击-2.3运营主管周报模版'),
('uuid_temp_018_click', '点击-1.1区域经理月报模版'),
('uuid_temp_019_click', '点击-2.1区域经理月报模版'),
('uuid_temp_020_click', '点击-2.3区域经理月报模版'),
('uuid_temp_021_click', '点击-2.1运营主管月报模版'),
('uuid_temp_022_click', '点击-1.1运营主管月报模版'),
('uuid_temp_023_click', '点击-2.3运营主管月报模版'),
('qinggai_temp_001_browse', '浏览-1.1轻改区域日报模版'),
('uuid_temp_001_browse', '浏览-2.3延保区域日报模版'),
('uuid_temp_011_browse', '浏览-2.1权益区域日报模版'),
('uuid_temp_012_browse', '浏览-2.1区域经理周报模版'),
('uuid_temp_013_browse', '浏览-1.1区域经理周报模版'),
('uuid_temp_014_browse', '浏览-2.3区域经理周报模版'),
('uuid_temp_015_browse', '浏览-2.1运营主管周报模版'),
('uuid_temp_016_browse', '浏览-1.1运营主管周报模版'),
('uuid_temp_017_browse', '浏览-2.3运营主管周报模版'),
('uuid_temp_018_browse', '浏览-1.1区域经理月报模版'),
('uuid_temp_019_browse', '浏览-2.1区域经理月报模版'),
('uuid_temp_020_browse', '浏览-2.3区域经理月报模版'),
('uuid_temp_021_browse', '浏览-2.1运营主管月报模版'),
('uuid_temp_022_browse', '浏览-1.1运营主管月报模版'),
('uuid_temp_023_browse', '浏览-2.3运营主管月报模版'),
('qinggai_temp_001_add', '新增-1.1轻改区域日报模版'),
('uuid_temp_001_add', '新增-2.3延保区域日报模版'),
('uuid_temp_011_add', '新增-2.1权益区域日报模版'),
('uuid_temp_012_add', '新增-2.1区域经理周报模版'),
('uuid_temp_013_add', '新增-1.1区域经理周报模版'),
('uuid_temp_014_add', '新增-2.3区域经理周报模版'),
('uuid_temp_015_add', '新增-2.1运营主管周报模版'),
('uuid_temp_016_add', '新增-1.1运营主管周报模版'),
('uuid_temp_017_add', '新增-2.3运营主管周报模版'),
('uuid_temp_018_add', '新增-1.1区域经理月报模版'),
('uuid_temp_019_add', '新增-2.1区域经理月报模版'),
('uuid_temp_020_add', '新增-2.3区域经理月报模版'),
('uuid_temp_021_add', '新增-2.1运营主管月报模版'),
('uuid_temp_022_add', '新增-1.1运营主管月报模版'),
('uuid_temp_023_add', '新增-2.3运营主管月报模版'),
('qinggai_temp_001_edit', '编辑-1.1轻改区域日报模版'),
('uuid_temp_001_edit', '编辑-2.3延保区域日报模版'),
('uuid_temp_011_edit', '编辑-2.1权益区域日报模版'),
('uuid_temp_012_edit', '编辑-2.1区域经理周报模版'),
('uuid_temp_013_edit', '编辑-1.1区域经理周报模版'),
('uuid_temp_014_edit', '编辑-2.3区域经理周报模版'),
('uuid_temp_015_edit', '编辑-2.1运营主管周报模版'),
('uuid_temp_016_edit', '编辑-1.1运营主管周报模版'),
('uuid_temp_017_edit', '编辑-2.3运营主管周报模版'),
('uuid_temp_018_edit', '编辑-1.1区域经理月报模版'),
('uuid_temp_019_edit', '编辑-2.1区域经理月报模版'),
('uuid_temp_020_edit', '编辑-2.3区域经理月报模版'),
('uuid_temp_021_edit', '编辑-2.1运营主管月报模版'),
('uuid_temp_022_edit', '编辑-1.1运营主管月报模版'),
('uuid_temp_023_edit', '编辑-2.3运营主管月报模版');
### 杨卫 -----------------end----------------------
### 叶立庆 -----------------start-------------------
### 叶立庆 -----------------end---------------------
### 周海宝 -----------------start-------------------
### 周海宝 -----------------end---------------------
### 范富荣 -----------------start-------------------
### 范富荣 -----------------end---------------------
### 林永健 -----------------start-------------------
### 林永健 -----------------end---------------------
### 谢海旭 -----------------start-------------------
### 谢海旭 -----------------end---------------------
### 杨卫 -----------------start--------------------
-- 初始化脚本
delete from clue_burial_point_event_info where event_code in (
'qinggai_temp_001_click', 'uuid_temp_001_click', 'uuid_temp_011_click', 'uuid_temp_012_click',
'uuid_temp_013_click', 'uuid_temp_014_click', 'uuid_temp_015_click', 'uuid_temp_016_click',
'uuid_temp_017_click', 'uuid_temp_018_click', 'uuid_temp_019_click', 'uuid_temp_020_click',
'uuid_temp_021_click', 'uuid_temp_022_click', 'uuid_temp_023_click', 'qinggai_temp_001_browse',
'uuid_temp_001_browse', 'uuid_temp_011_browse', 'uuid_temp_012_browse', 'uuid_temp_013_browse',
'uuid_temp_014_browse', 'uuid_temp_015_browse', 'uuid_temp_016_browse', 'uuid_temp_017_browse',
'uuid_temp_018_browse', 'uuid_temp_019_browse', 'uuid_temp_020_browse', 'uuid_temp_021_browse',
'uuid_temp_022_browse', 'uuid_temp_023_browse', 'qinggai_temp_001_add', 'uuid_temp_001_add',
'uuid_temp_011_add', 'uuid_temp_012_add', 'uuid_temp_013_add', 'uuid_temp_014_add',
'uuid_temp_015_add', 'uuid_temp_016_add', 'uuid_temp_017_add', 'uuid_temp_018_add',
'uuid_temp_019_add', 'uuid_temp_020_add', 'uuid_temp_021_add', 'uuid_temp_022_add',
'uuid_temp_023_add', 'qinggai_temp_001_edit', 'uuid_temp_001_edit', 'uuid_temp_011_edit',
'uuid_temp_012_edit', 'uuid_temp_013_edit', 'uuid_temp_014_edit', 'uuid_temp_015_edit',
'uuid_temp_016_edit', 'uuid_temp_017_edit', 'uuid_temp_018_edit', 'uuid_temp_019_edit',
'uuid_temp_020_edit', 'uuid_temp_021_edit', 'uuid_temp_022_edit', 'uuid_temp_023_edit'
);
insert into clue_burial_point_event_info (event_code, event_name) values
('qinggai_temp_001_click', '点击-1.1轻改区域日报模版'),
('uuid_temp_001_click', '点击-2.3延保区域日报模版'),
('uuid_temp_011_click', '点击-2.1权益区域日报模版'),
('uuid_temp_012_click', '点击-2.1区域经理周报模版'),
('uuid_temp_013_click', '点击-1.1区域经理周报模版'),
('uuid_temp_014_click', '点击-2.3区域经理周报模版'),
('uuid_temp_015_click', '点击-2.1运营主管周报模版'),
('uuid_temp_016_click', '点击-1.1运营主管周报模版'),
('uuid_temp_017_click', '点击-2.3运营主管周报模版'),
('uuid_temp_018_click', '点击-1.1区域经理月报模版'),
('uuid_temp_019_click', '点击-2.1区域经理月报模版'),
('uuid_temp_020_click', '点击-2.3区域经理月报模版'),
('uuid_temp_021_click', '点击-2.1运营主管月报模版'),
('uuid_temp_022_click', '点击-1.1运营主管月报模版'),
('uuid_temp_023_click', '点击-2.3运营主管月报模版'),
('qinggai_temp_001_browse', '浏览-1.1轻改区域日报模版'),
('uuid_temp_001_browse', '浏览-2.3延保区域日报模版'),
('uuid_temp_011_browse', '浏览-2.1权益区域日报模版'),
('uuid_temp_012_browse', '浏览-2.1区域经理周报模版'),
('uuid_temp_013_browse', '浏览-1.1区域经理周报模版'),
('uuid_temp_014_browse', '浏览-2.3区域经理周报模版'),
('uuid_temp_015_browse', '浏览-2.1运营主管周报模版'),
('uuid_temp_016_browse', '浏览-1.1运营主管周报模版'),
('uuid_temp_017_browse', '浏览-2.3运营主管周报模版'),
('uuid_temp_018_browse', '浏览-1.1区域经理月报模版'),
('uuid_temp_019_browse', '浏览-2.1区域经理月报模版'),
('uuid_temp_020_browse', '浏览-2.3区域经理月报模版'),
('uuid_temp_021_browse', '浏览-2.1运营主管月报模版'),
('uuid_temp_022_browse', '浏览-1.1运营主管月报模版'),
('uuid_temp_023_browse', '浏览-2.3运营主管月报模版'),
('qinggai_temp_001_add', '新增-1.1轻改区域日报模版'),
('uuid_temp_001_add', '新增-2.3延保区域日报模版'),
('uuid_temp_011_add', '新增-2.1权益区域日报模版'),
('uuid_temp_012_add', '新增-2.1区域经理周报模版'),
('uuid_temp_013_add', '新增-1.1区域经理周报模版'),
('uuid_temp_014_add', '新增-2.3区域经理周报模版'),
('uuid_temp_015_add', '新增-2.1运营主管周报模版'),
('uuid_temp_016_add', '新增-1.1运营主管周报模版'),
('uuid_temp_017_add', '新增-2.3运营主管周报模版'),
('uuid_temp_018_add', '新增-1.1区域经理月报模版'),
('uuid_temp_019_add', '新增-2.1区域经理月报模版'),
('uuid_temp_020_add', '新增-2.3区域经理月报模版'),
('uuid_temp_021_add', '新增-2.1运营主管月报模版'),
('uuid_temp_022_add', '新增-1.1运营主管月报模版'),
('uuid_temp_023_add', '新增-2.3运营主管月报模版'),
('qinggai_temp_001_edit', '编辑-1.1轻改区域日报模版'),
('uuid_temp_001_edit', '编辑-2.3延保区域日报模版'),
('uuid_temp_011_edit', '编辑-2.1权益区域日报模版'),
('uuid_temp_012_edit', '编辑-2.1区域经理周报模版'),
('uuid_temp_013_edit', '编辑-1.1区域经理周报模版'),
('uuid_temp_014_edit', '编辑-2.3区域经理周报模版'),
('uuid_temp_015_edit', '编辑-2.1运营主管周报模版'),
('uuid_temp_016_edit', '编辑-1.1运营主管周报模版'),
('uuid_temp_017_edit', '编辑-2.3运营主管周报模版'),
('uuid_temp_018_edit', '编辑-1.1区域经理月报模版'),
('uuid_temp_019_edit', '编辑-2.1区域经理月报模版'),
('uuid_temp_020_edit', '编辑-2.3区域经理月报模版'),
('uuid_temp_021_edit', '编辑-2.1运营主管月报模版'),
('uuid_temp_022_edit', '编辑-1.1运营主管月报模版'),
('uuid_temp_023_edit', '编辑-2.3运营主管月报模版');
### 杨卫 -----------------end----------------------
### 叶立庆 -----------------start------------------- ### 叶立庆 -----------------start-------------------
CREATE TABLE `task` (
`task_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务id',
`task_no` varchar(64) NOT NULL COMMENT '任务编号(TyyyyMMdd+bizNoCode+5位流水号)',
`title` varchar(100) NOT NULL COMMENT '任务标题',
`description` varchar(4096) DEFAULT NULL COMMENT '任务描述',
`biz_type` varchar(64) NOT NULL COMMENT '业务分类标识',
`biz_instance_id` varchar(128) DEFAULT NULL COMMENT '业务实例id(同biz_type下幂等键;可为空)',
`biz_display_info` longtext COMMENT '业务展示信息(json数组字符串)',
`biz_context` longtext COMMENT '业务上下文(json字符串)',
`status` varchar(32) NOT NULL COMMENT '完成状态(UNFINISHED/FINISHED 或字典值)',
`priority` int(11) DEFAULT NULL COMMENT '优先级(40/30/20/10)',
`due_time` datetime DEFAULT NULL COMMENT '截止时间',
`complete_time` datetime DEFAULT NULL COMMENT '完成时间(任务维度)',
`created_by` varchar(64) NOT NULL COMMENT '创建人',
`created_date` datetime NOT NULL COMMENT '创建时间',
`updated_by` varchar(64) NOT NULL COMMENT '修改人',
`updated_date` datetime NOT NULL COMMENT '修改时间',
`deleted_flag` char(1) NOT NULL DEFAULT 'N' COMMENT '删除标识(D:已删除;N:未删除)',
PRIMARY KEY (`task_id`),
UNIQUE KEY `uniq_task_no_deleted_flag` (`task_no`,`deleted_flag`),
UNIQUE KEY `uniq_biz_type_biz_instance_id_deleted_flag` (`biz_type`,`biz_instance_id`,`deleted_flag`),
KEY `idx_task_no_deleted_flag` (`task_no`,`deleted_flag`),
KEY `idx_biz_type_deleted_flag` (`biz_type`,`deleted_flag`),
KEY `idx_biz_instance_id_deleted_flag` (`biz_instance_id`,`deleted_flag`),
KEY `idx_status_deleted_flag` (`status`,`deleted_flag`),
KEY `idx_due_time_deleted_flag` (`due_time`,`deleted_flag`),
KEY `idx_updated_date_deleted_flag` (`updated_date`,`deleted_flag`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='任务主表';
CREATE TABLE `task_assignee` (
`task_assignee_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务执行人记录id',
`task_id` bigint(20) NOT NULL COMMENT '任务id',
`assignee_id` varchar(64) NOT NULL COMMENT '执行人id',
`assignee_name` varchar(64) DEFAULT NULL COMMENT '执行人名称',
`assignee_status` varchar(32) NOT NULL COMMENT '执行人完成状态(UNFINISHED/FINISHED 或字典值)',
`assignee_finished_date` datetime DEFAULT NULL COMMENT '执行人完成时间',
`created_by` varchar(64) NOT NULL COMMENT '创建人',
`created_date` datetime NOT NULL COMMENT '创建时间',
`updated_by` varchar(64) NOT NULL COMMENT '修改人',
`updated_date` datetime NOT NULL COMMENT '修改时间',
`deleted_flag` char(1) NOT NULL DEFAULT 'N' COMMENT '删除标识(D:已删除;N:未删除)',
PRIMARY KEY (`task_assignee_id`),
UNIQUE KEY `uniq_task_id_assignee_id_deleted_flag` (`task_id`,`assignee_id`,`deleted_flag`),
KEY `idx_assignee_id_deleted_flag` (`assignee_id`,`deleted_flag`),
KEY `idx_task_id_deleted_flag` (`task_id`,`deleted_flag`),
KEY `idx_assignee_id_status_deleted_flag` (`assignee_id`,`assignee_status`,`deleted_flag`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='任务执行人子表(一任务多执行人)';
CREATE TABLE `task_biz_category` (
`category_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '业务分类配置id',
`category_name` varchar(64) NOT NULL COMMENT '业务分类名称',
`biz_type` varchar(64) NOT NULL COMMENT '业务分类标识',
`biz_no_code` varchar(16) NOT NULL COMMENT '业务编号标识',
`status` varchar(16) NOT NULL DEFAULT 'ENABLED' COMMENT '状态:ENABLED/DISABLED',
`remark` varchar(256) DEFAULT NULL COMMENT '备注',
`created_by` varchar(64) NOT NULL COMMENT '创建人',
`created_date` datetime NOT NULL COMMENT '创建时间',
`updated_by` varchar(64) NOT NULL COMMENT '修改人',
`updated_date` datetime NOT NULL COMMENT '修改时间',
`deleted_flag` char(1) NOT NULL DEFAULT 'N' COMMENT '删除标识(D:已删除;N:未删除)',
PRIMARY KEY (`category_id`),
UNIQUE KEY `uniq_biz_type_deleted_flag` (`biz_type`,`deleted_flag`),
UNIQUE KEY `uniq_biz_no_code_deleted_flag` (`biz_no_code`,`deleted_flag`),
KEY `idx_status_deleted_flag` (`status`,`deleted_flag`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='任务业务分类配置表';
### 叶立庆 -----------------end--------------------- ### 叶立庆 -----------------end---------------------
### 周海宝 -----------------start------------------- ### 周海宝 -----------------start-------------------
......
### 叶立庆 -----------------start-------------------
### 叶立庆 -----------------end---------------------
### 周海宝 -----------------start-------------------
### 周海宝 -----------------end---------------------
### 范富荣 -----------------start-------------------
### 范富荣 -----------------end---------------------
### 林永健 -----------------start-------------------
### 林永健 -----------------end---------------------
### 谢海旭 -----------------start-------------------
### 谢海旭 -----------------end---------------------
### 杨卫 -----------------start--------------------
-- 初始化脚本
delete from clue_burial_point_event_info where event_code in (
'qinggai_temp_001_click', 'uuid_temp_001_click', 'uuid_temp_011_click', 'uuid_temp_012_click',
'uuid_temp_013_click', 'uuid_temp_014_click', 'uuid_temp_015_click', 'uuid_temp_016_click',
'uuid_temp_017_click', 'uuid_temp_018_click', 'uuid_temp_019_click', 'uuid_temp_020_click',
'uuid_temp_021_click', 'uuid_temp_022_click', 'uuid_temp_023_click', 'qinggai_temp_001_browse',
'uuid_temp_001_browse', 'uuid_temp_011_browse', 'uuid_temp_012_browse', 'uuid_temp_013_browse',
'uuid_temp_014_browse', 'uuid_temp_015_browse', 'uuid_temp_016_browse', 'uuid_temp_017_browse',
'uuid_temp_018_browse', 'uuid_temp_019_browse', 'uuid_temp_020_browse', 'uuid_temp_021_browse',
'uuid_temp_022_browse', 'uuid_temp_023_browse', 'qinggai_temp_001_add', 'uuid_temp_001_add',
'uuid_temp_011_add', 'uuid_temp_012_add', 'uuid_temp_013_add', 'uuid_temp_014_add',
'uuid_temp_015_add', 'uuid_temp_016_add', 'uuid_temp_017_add', 'uuid_temp_018_add',
'uuid_temp_019_add', 'uuid_temp_020_add', 'uuid_temp_021_add', 'uuid_temp_022_add',
'uuid_temp_023_add', 'qinggai_temp_001_edit', 'uuid_temp_001_edit', 'uuid_temp_011_edit',
'uuid_temp_012_edit', 'uuid_temp_013_edit', 'uuid_temp_014_edit', 'uuid_temp_015_edit',
'uuid_temp_016_edit', 'uuid_temp_017_edit', 'uuid_temp_018_edit', 'uuid_temp_019_edit',
'uuid_temp_020_edit', 'uuid_temp_021_edit', 'uuid_temp_022_edit', 'uuid_temp_023_edit'
);
insert into clue_burial_point_event_info (event_code, event_name) values
('qinggai_temp_001_click', '点击-1.1轻改区域日报模版'),
('uuid_temp_001_click', '点击-2.3延保区域日报模版'),
('uuid_temp_011_click', '点击-2.1权益区域日报模版'),
('uuid_temp_012_click', '点击-2.1区域经理周报模版'),
('uuid_temp_013_click', '点击-1.1区域经理周报模版'),
('uuid_temp_014_click', '点击-2.3区域经理周报模版'),
('uuid_temp_015_click', '点击-2.1运营主管周报模版'),
('uuid_temp_016_click', '点击-1.1运营主管周报模版'),
('uuid_temp_017_click', '点击-2.3运营主管周报模版'),
('uuid_temp_018_click', '点击-1.1区域经理月报模版'),
('uuid_temp_019_click', '点击-2.1区域经理月报模版'),
('uuid_temp_020_click', '点击-2.3区域经理月报模版'),
('uuid_temp_021_click', '点击-2.1运营主管月报模版'),
('uuid_temp_022_click', '点击-1.1运营主管月报模版'),
('uuid_temp_023_click', '点击-2.3运营主管月报模版'),
('qinggai_temp_001_browse', '浏览-1.1轻改区域日报模版'),
('uuid_temp_001_browse', '浏览-2.3延保区域日报模版'),
('uuid_temp_011_browse', '浏览-2.1权益区域日报模版'),
('uuid_temp_012_browse', '浏览-2.1区域经理周报模版'),
('uuid_temp_013_browse', '浏览-1.1区域经理周报模版'),
('uuid_temp_014_browse', '浏览-2.3区域经理周报模版'),
('uuid_temp_015_browse', '浏览-2.1运营主管周报模版'),
('uuid_temp_016_browse', '浏览-1.1运营主管周报模版'),
('uuid_temp_017_browse', '浏览-2.3运营主管周报模版'),
('uuid_temp_018_browse', '浏览-1.1区域经理月报模版'),
('uuid_temp_019_browse', '浏览-2.1区域经理月报模版'),
('uuid_temp_020_browse', '浏览-2.3区域经理月报模版'),
('uuid_temp_021_browse', '浏览-2.1运营主管月报模版'),
('uuid_temp_022_browse', '浏览-1.1运营主管月报模版'),
('uuid_temp_023_browse', '浏览-2.3运营主管月报模版'),
('qinggai_temp_001_add', '新增-1.1轻改区域日报模版'),
('uuid_temp_001_add', '新增-2.3延保区域日报模版'),
('uuid_temp_011_add', '新增-2.1权益区域日报模版'),
('uuid_temp_012_add', '新增-2.1区域经理周报模版'),
('uuid_temp_013_add', '新增-1.1区域经理周报模版'),
('uuid_temp_014_add', '新增-2.3区域经理周报模版'),
('uuid_temp_015_add', '新增-2.1运营主管周报模版'),
('uuid_temp_016_add', '新增-1.1运营主管周报模版'),
('uuid_temp_017_add', '新增-2.3运营主管周报模版'),
('uuid_temp_018_add', '新增-1.1区域经理月报模版'),
('uuid_temp_019_add', '新增-2.1区域经理月报模版'),
('uuid_temp_020_add', '新增-2.3区域经理月报模版'),
('uuid_temp_021_add', '新增-2.1运营主管月报模版'),
('uuid_temp_022_add', '新增-1.1运营主管月报模版'),
('uuid_temp_023_add', '新增-2.3运营主管月报模版'),
('qinggai_temp_001_edit', '编辑-1.1轻改区域日报模版'),
('uuid_temp_001_edit', '编辑-2.3延保区域日报模版'),
('uuid_temp_011_edit', '编辑-2.1权益区域日报模版'),
('uuid_temp_012_edit', '编辑-2.1区域经理周报模版'),
('uuid_temp_013_edit', '编辑-1.1区域经理周报模版'),
('uuid_temp_014_edit', '编辑-2.3区域经理周报模版'),
('uuid_temp_015_edit', '编辑-2.1运营主管周报模版'),
('uuid_temp_016_edit', '编辑-1.1运营主管周报模版'),
('uuid_temp_017_edit', '编辑-2.3运营主管周报模版'),
('uuid_temp_018_edit', '编辑-1.1区域经理月报模版'),
('uuid_temp_019_edit', '编辑-2.1区域经理月报模版'),
('uuid_temp_020_edit', '编辑-2.3区域经理月报模版'),
('uuid_temp_021_edit', '编辑-2.1运营主管月报模版'),
('uuid_temp_022_edit', '编辑-1.1运营主管月报模版'),
('uuid_temp_023_edit', '编辑-2.3运营主管月报模版');
### 杨卫 -----------------end----------------------
### 叶立庆 -----------------start-------------------
insert into `task_biz_category`(`category_id`,`category_name`,`biz_type`,`biz_no_code`,`status`,`remark`,`created_by`,`created_date`,`updated_by`,`updated_date`,`deleted_flag`) values
(1,'人员更换评估','staff-replace-access','SRA','ENABLED','初始化数据','system','2026-05-18 17:14:19','system','2026-05-18 17:14:19','N'),
(2,'商务政策更新评估','policy-update-access','PUA','ENABLED','初始化数据','system','2026-05-18 17:14:19','system','2026-05-18 17:14:19','N'),
(3,'多品类扩张','scene-expand','SE','ENABLED','初始化数据','system','2026-05-18 17:14:19','system','2026-05-18 17:14:19','N'),
(4,'流量问题改善','traffic-optimize','TO','ENABLED','初始化数据','system','2026-05-18 17:14:19','system','2026-05-18 17:14:19','N'),
(5,'专项带教','spec-coach','SC','ENABLED','初始化数据','system','2026-05-18 17:14:19','system','2026-05-18 17:14:19','N');
### 叶立庆 -----------------end---------------------
...@@ -2,22 +2,23 @@ ...@@ -2,22 +2,23 @@
## 一、需求列表 ## 一、需求列表
* 功能点 * 任务中心
## 二、涉及应用列表版本应用信息 ## 二、涉及应用列表版本应用信息
| SVN/Gitlab地址 | 分支标识(Gitlab必填) | 发版项目名称 | 分支创建人 | 分支合并人 | 代码检查人 | 检查情况 | | SVN/Gitlab地址 | 分支标识(Gitlab必填) | 发版项目名称 | 分支创建人 | 分支合并人 | 代码检查人 | 检查情况 |
|--------------|:--------------:|--------|-------|-------|-------|------| |----------------------------------------------------|:--------------:|-------------------|-------|-------|-------|------|
| | | | | | | | | http://192.168.3.233:8090/dj/rop-dj-taskcenter.git | master | rop-dj-taskcenter | 叶立庆 | | | |
| | | | | | | | | http://192.168.3.233:8090/dj/rpc-dj-taskcenter.git | master | rpc-dj-taskcenter | 叶立庆 | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | |
| | | | | | | |
## 三、需求变更记录 ## 三、需求变更记录
...@@ -33,9 +34,19 @@ ...@@ -33,9 +34,19 @@
#### 第一轮提测 #### 第一轮提测
#### 变更内容 #### 变更内容
- rop-dj-taskcenter:
* 1、任务中心-创建任务 dj.api.taskcenter.task.create 功能:创建任务中心任务【新接口】
* 2、任务中心-查询任务详情 dj.api.taskcenter.task.detail 功能:根据任务ID或业务键查询任务详细信息【新接口】
* 3、任务中心-分页查询任务 dj.api.taskcenter.task.page 功能:分页查询任务列表,支持多条件筛选【新接口】
* 4、任务中心-执行人完成任务 dj.api.taskcenter.task.assignee.finish 功能:任务执行人标记任务为完成状态【新接口】
* 5、任务中心-更新任务 dj.api.taskcenter.task.update 功能:更新任务信息(包括标题、描述、状态、业务展示信息等)【新接口】
* 6、任务中心-删除任务 dj.api.taskcenter.task.delete 功能:删除指定任务(逻辑删除)【新接口】
* 7、任务中心-统计任务 dj.api.taskcenter.task.count 功能:统计任务数量(可按状态、业务类型等维度统计)【新接口】
* 8、任务中心-查询任务业务分类列表 dj.api.taskcenter.bizcategory.list 功能:查询任务业务分类列表【新接口】
#### 影响范围 #### 影响范围
- 嘀加智享车生活:
- 任务中心:任务列表、排序、统计、多条件查询、任务详情
### 第二轮提测 ### 第二轮提测
#### 变更内容2 #### 变更内容2
...@@ -48,4 +59,4 @@ ...@@ -48,4 +59,4 @@
#### 影响范围 #### 影响范围
###
\ No newline at end of file \ No newline at end of file
###
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!