You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
993 B
17 lines
993 B
ALTER TABLE `negative`.`negative` |
|
ADD COLUMN `disciplinary_action_desc` text NULL COMMENT '处分处理情况' AFTER `process_result`; |
|
|
|
ALTER TABLE `negative`.`supervise_report` |
|
ADD COLUMN `type` int NULL DEFAULT 1 COMMENT '通知通报类型 1-通报 2-通知' AFTER `crt_emp_no`, |
|
ADD COLUMN `depart_name` varchar(500) NULL COMMENT '通知单位' AFTER `type`; |
|
|
|
|
|
|
|
CREATE TABLE `supervise_report_depart` ( |
|
`id` int NOT NULL AUTO_INCREMENT COMMENT '主键', |
|
`depart_id` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '单位ID', |
|
`depart_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '单位名称', |
|
`supervise_id` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '通知通报ID', |
|
`crt_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', |
|
PRIMARY KEY (`id`) |
|
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='通知单位'; |