数字督察一体化平台
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.
 
 

96 lines
9.0 KiB

ALTER TABLE `negative`.`sup_task_testing_alcohol_people`
ADD COLUMN `is_illegal_banquet` varchar(255) NULL COMMENT '是否存在违规宴请' AFTER `alcohol_content`;
ALTER TABLE `negative`.`sup_task_testing_alcohol_people`
ADD COLUMN `mobile` varchar(255) NULL COMMENT '手机号';
ALTER TABLE rpc_apply_person ADD COLUMN id_code VARCHAR(255) COMMENT '身份证号';
ALTER TABLE rpc_apply_person ADD COLUMN forms_of_tort VARCHAR(255) COMMENT '侵权形式';
ALTER TABLE rpc_apply_person ADD COLUMN emp_type VARCHAR(255) COMMENT '警员身份';
ALTER TABLE rpc_infringer_result ADD COLUMN gender VARCHAR(255) COMMENT '性别';
ALTER TABLE rpc_infringer_result ADD COLUMN id_code VARCHAR(255) COMMENT '身份证号';
/*
Navicat Premium Dump SQL
Source Server : 长沙公安数据督查
Source Server Type : MySQL
Source Server Version : 80029 (8.0.29)
Source Host : 172.31.217.20:31868
Source Schema : negative
Target Server Type : MySQL
Target Server Version : 80029 (8.0.29)
File Encoding : 65001
Date: 18/06/2025 15:10:45
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for rpc_apply_supervise
-- ----------------------------
DROP TABLE IF EXISTS `rpc_apply_supervise`;
CREATE TABLE `rpc_apply_supervise` (
`rpc_id` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`number` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '编号',
`applicant_emp_no` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '申请人',
`applicant_emp_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '申请人',
`apply_date` date DEFAULT NULL COMMENT '申请时间',
`depart_id` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '部门id',
`depart_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '部门',
`is_self` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否本人 0 非本人,1本人',
`relation` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '关系 1,同事,2亲属',
`happen_time` datetime DEFAULT NULL COMMENT '事发时间',
`fact_reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
`Incident_link` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '案发环节',
`Incident_link_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '案发环节名称',
`forms_of_tort` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
`forms_of_tort_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '侵权形式名称',
`infringer_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8_general_ci DEFAULT NULL COMMENT '侵权人姓名',
`infringer_handle` varchar(40) CHARACTER SET utf8mb3 COLLATE utf8_general_ci DEFAULT NULL COMMENT '侵权人处理',
`handle_depart_id` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '办理单位id',
`handle_depart_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '办理单位名称',
`document_file` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
`document_name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
`declaration_level` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '申报层级 0=市局,1=本级',
`declaration_level_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '申报层级名称',
`crt_time` datetime DEFAULT NULL COMMENT '创建时间',
`upt_time` datetime DEFAULT NULL COMMENT '更新时间',
`type` char(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '类型,1维权,2,抚慰,3容错',
`rpc_status` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '状态',
`result_doc_file` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '处理结果文件',
`result_doc_name` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '结果名称',
`handle_result` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '处理结果',
`handle_notice` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '办理结果通知 0 未通知,1通知',
`fault_tolerant_situation` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci,
`input_emp_no` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '录入人警号',
`is_important` varchar(2) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '是否为重大事件 0 不是 1是',
`main_depart` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`main_emp` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`year` int DEFAULT NULL,
`number_index` int DEFAULT NULL,
`approver` varchar(1000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`step` int DEFAULT NULL,
`agent_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`case_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`source` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`second_depart_id` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '二级单位id',
`second_depart_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '二级单位名称',
`rpc_apply_person` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
`case_type` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '案件类型(1、刑事案件;2、行政案件)',
`case_category` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '案件类别',
`verified` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态(1为不属实,2为上报)',
`case_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '案件名称',
`change_mandate` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '变更强制措施报送情况',
`case_submission` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '案件报送情况',
`police_job` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '案发警种',
PRIMARY KEY (`rpc_id`) USING BTREE,
KEY `index_applicant_emp_no` (`applicant_emp_no`) USING BTREE,
KEY `index_apply_date` (`apply_date`) USING BTREE,
KEY `index_crt_time` (`crt_time`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
SET FOREIGN_KEY_CHECKS = 1;