-- Table structure for biz_business_device_measure_modify_record
-- ----------------------------
CREATE TABLE `biz_business_device_measure_modify_record`  (
  `id` bigint NOT NULL,
  `data_id` bigint NOT NULL COMMENT '检定数据管理基础信息表id',
  `source_system` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计量业务管理系统/自动检定系统',
  `modify_content` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '修改内容',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建用户id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建用户名',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '计量检定业务-受检设备检定管理-检定数据管理检定数据历史修改记录' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_device_measure_modify_record
-- ----------------------------

-- ----------------------------
-- Table structure for biz_business_identify_info
-- ----------------------------
CREATE TABLE `biz_business_identify_info`  (
  `id` bigint NOT NULL,
  `record_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '记录编号',
  `identify_type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标志类型标志类型(直接存计量标识/使用状态/校准状态的字典value)',
  `device_id` bigint NULL DEFAULT NULL COMMENT '设备id(可以是受检设备/设备台账)',
  `device_type` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备类型(字典code，受检设备/设备台账)',
  `device_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备编号',
  `device_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备名字',
  `measure_person_id` bigint NULL DEFAULT NULL COMMENT '检定员id',
  `measure_person` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检定员名字',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '计量检定业务-任务计量管理-标识打印' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_identify_info
-- ----------------------------

-- ----------------------------
-- Table structure for biz_business_interchange_info
-- ----------------------------
CREATE TABLE `biz_business_interchange_info`  (
  `id` bigint NOT NULL,
  `interchange_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '交接单编号',
  `order_id` bigint NOT NULL COMMENT '任务单id',
  `order_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '任务单编号',
  `deliverer` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '送检人(可改写，以实际送检人为准)',
  `deliverer_tel` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '送样人联系方式',
  `customer_id` bigint NOT NULL COMMENT '委托方id',
  `customer_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '委托方编号',
  `customer_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '委托方名字',
  `customer_address` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '委托方地址',
  `is_urgent` tinyint(1) NULL DEFAULT NULL COMMENT '是否加急',
  `maintain_major` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检修专业',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人名字',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0),
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '计量检定业务-业务管理-交接单管理' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_interchange_info
-- ----------------------------

-- ----------------------------
-- Table structure for biz_business_lab_executive_info
-- ----------------------------
CREATE TABLE `biz_business_lab_executive_info`  (
  `id` bigint NOT NULL,
  `order_id` bigint NOT NULL COMMENT '委托单id（可用于区分哪次检测）',
  `sample_id` bigint NULL DEFAULT NULL COMMENT '样品id',
  `measure_dept_id` bigint NOT NULL COMMENT '检定部门id（可用于获取部门负责人）',
  `measure_person_id` bigint NULL DEFAULT NULL COMMENT '检定人id（meter_staff表id）',
  `measure_item` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检定项目(备用)',
  `measure_sequence` int NULL DEFAULT NULL COMMENT '检测顺序，执行流程前及过程中调整的顺序',
  `execute_sequence` int NULL DEFAULT NULL COMMENT '执行顺序（废弃，退回也维护检测顺序）',
  `measure_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检测状态（字典code）',
  `is_auto` tinyint(1) NULL DEFAULT NULL COMMENT '是否自动检定（使用自动检定软件/手动检定）',
  `require_certifications` int NULL DEFAULT NULL COMMENT '应出具证书总数',
  `operate_time` timestamp(0) NULL DEFAULT NULL COMMENT '操作时间（冗余，已在操作记录表中维护操作信息）',
  `start_time` timestamp(0) NULL DEFAULT NULL COMMENT '检定开始时间',
  `end_time` timestamp(0) NULL DEFAULT NULL COMMENT '检定结束时间（仅检定完成，非证书完成）',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注（终止状态终止原因）',
  `create_user` bigint NULL DEFAULT NULL,
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0),
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `index_dept_id`(`measure_dept_id`) USING BTREE,
  INDEX `index_order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '业务管理-实验室检定信息记录表（用于流程中的实验室分配及后续检定过程查询）' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_lab_executive_info
-- ----------------------------
INSERT INTO `biz_business_lab_executive_info` VALUES (1733033679854268418, 1732303324079751170, 1731482833303740417, 1707239571046658050, 1733034506572558337, NULL, 1, NULL, '3', 0, 1, NULL, '2023-12-08 16:11:38', NULL, NULL, 1712422975782285313, '2023-12-08 16:00:03', '2023-12-08 16:11:38');
INSERT INTO `biz_business_lab_executive_info` VALUES (1733033715707179009, 1732303324079751170, 1731483602761392129, 1707239571046658050, 1733034506572558337, NULL, 1, NULL, '3', 0, 1, NULL, '2023-12-08 16:11:40', NULL, NULL, 1712422975782285313, '2023-12-08 16:00:11', '2023-12-08 16:11:40');
INSERT INTO `biz_business_lab_executive_info` VALUES (1733038834477723649, 1732606959124795394, 1732209635378618370, 1707239571046658050, 1733034506572558337, NULL, 0, NULL, '1', 0, 1, NULL, NULL, NULL, NULL, 1711282677995839490, '2023-12-08 16:20:32', '2023-12-08 16:20:32');
INSERT INTO `biz_business_lab_executive_info` VALUES (1733038834481917953, 1732606959124795394, 1732246905401933825, 1707239571046658050, 1733034506572558337, NULL, 0, NULL, '3', 0, 1, NULL, '2023-12-11 15:56:03', NULL, NULL, 1711282677995839490, '2023-12-08 16:20:32', '2023-12-11 15:56:03');
INSERT INTO `biz_business_lab_executive_info` VALUES (1733038834486112257, 1732606959124795394, 1732248045917077505, 1707239571046658050, 1733040101786677249, NULL, 0, NULL, '3', 0, 1, NULL, '2023-12-08 16:27:52', NULL, NULL, 1711282677995839490, '2023-12-08 16:20:32', '2023-12-08 16:27:52');
INSERT INTO `biz_business_lab_executive_info` VALUES (1733038835526299650, 1732606959124795394, 1732209635378618370, 1707239571046658050, 1733034506572558337, NULL, 0, NULL, '1', 0, 1, NULL, NULL, NULL, NULL, 1711282677995839490, '2023-12-08 16:20:32', '2023-12-08 16:20:32');
INSERT INTO `biz_business_lab_executive_info` VALUES (1733038835530493953, 1732606959124795394, 1732246905401933825, 1707239571046658050, 1733034506572558337, NULL, 0, NULL, '3', 0, 1, NULL, '2023-12-11 15:56:03', NULL, NULL, 1711282677995839490, '2023-12-08 16:20:32', '2023-12-11 15:56:03');
INSERT INTO `biz_business_lab_executive_info` VALUES (1733038835530493954, 1732606959124795394, 1732248045917077505, 1707239571046658050, 1733034506572558337, NULL, 0, NULL, '1', 0, 1, NULL, NULL, NULL, NULL, 1711282677995839490, '2023-12-08 16:20:32', '2023-12-08 16:20:32');
INSERT INTO `biz_business_lab_executive_info` VALUES (1734119754202935297, 1734118129895800833, 1734115919929606146, 1707239571046658050, 1733034506572558337, NULL, 1, NULL, '3', 0, 1, NULL, '2023-12-11 16:22:48', NULL, NULL, 1712422975782285313, '2023-12-11 15:55:43', '2023-12-11 16:22:48');

-- ----------------------------
-- Table structure for biz_business_lab_executive_operate_log
-- ----------------------------
CREATE TABLE `biz_business_lab_executive_operate_log`  (
  `id` bigint NOT NULL,
  `order_id` bigint NOT NULL COMMENT '委托单id（可用于区分哪次检测）',
  `sample_id` bigint NOT NULL COMMENT '样品id',
  `measure_dept_id` bigint NOT NULL COMMENT '检定部门id',
  `measure_person_id` bigint NULL DEFAULT NULL COMMENT '检定人id',
  `measure_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检测状态（字典code）',
  `operate_person_id` bigint NULL DEFAULT NULL COMMENT '退回人员（可能是部门负责人or检定人）',
  `operate_person_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '退回人员名字',
  `operate_reason` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '退回原因',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0),
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '业务管理-实验室检定信息操作记录表（目前仅记录退回操作记录）' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_lab_executive_operate_log
-- ----------------------------
INSERT INTO `biz_business_lab_executive_operate_log` VALUES (1734126461738086402, 1734118129895800833, 1731504451086295041, 1707239571046658050, NULL, '5', 1733040101786677249, '宋政辉', '1', '2023-12-11 16:22:23', '2023-12-11 16:22:23');

-- ----------------------------
-- Table structure for biz_business_order_info
-- ----------------------------
CREATE TABLE `biz_business_order_info`  (
  `id` bigint NOT NULL,
  `order_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '任务单编号',
  `deliverer_id` bigint NULL DEFAULT NULL COMMENT '送检人id',
  `deliverer` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '送检人',
  `customer_id` bigint NOT NULL COMMENT '委托方id',
  `customer_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '委托方名称',
  `deliverer_tel` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '送样人电话',
  `plan_deliver_time` timestamp(0) NULL DEFAULT NULL COMMENT '预约送达时间',
  `require_over_time` timestamp(0) NULL DEFAULT NULL COMMENT '要求检完时间',
  `customer_address` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '委托方地址',
  `customer_phone` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '委托方联系电话',
  `is_urgent` tinyint(1) NULL DEFAULT NULL COMMENT '是否加急',
  `maintain_major` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检修专业',
  `undertaker_id` bigint NULL DEFAULT NULL COMMENT '承接人id(在业务系统新建时承接人就是创建人)',
  `measure_company` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检定(校准)单位(固定值)',
  `undertaker_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '承接人名字',
  `undertake_time` timestamp(0) NULL DEFAULT NULL COMMENT '承接时间',
  `receive_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '接收状态(字典code)',
  `receive_illustrate` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '接收说明',
  `is_on_site_check` tinyint NULL DEFAULT NULL COMMENT '是否现场检定',
  `on_site_check_time` timestamp(0) NULL DEFAULT NULL COMMENT '现场检定时间',
  `data_source` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '数据来源(受检设备系统/自动检定系统/计量业务系统)',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人名字',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '计量检定业务-任务单' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_order_info
-- ----------------------------
INSERT INTO `biz_business_order_info` VALUES (1732303324079751170, 'rwd202312060001', NULL, '测试文发二连操作手02', 1691998769869987841, '文昌发测站', NULL, '2023-12-06 00:00:00', '2023-12-08 00:00:00', NULL, '111111111', 1, NULL, NULL, '西昌卫星发射中心计量测试站', NULL, NULL, '2', NULL, NULL, NULL, NULL, 1730424658269855746, '测试文发二连连长', '2023-12-06 15:35:08', '2023-12-08 15:49:09');
INSERT INTO `biz_business_order_info` VALUES (1732606959124795394, 'rwd202312070001', NULL, '测试文发一连连长', 1691998769869987841, '文昌发测站', NULL, '2023-12-08 00:00:00', '2023-12-31 00:00:00', NULL, '1312312', 1, NULL, NULL, '西昌卫星发射中心计量测试站', NULL, NULL, '2', NULL, NULL, NULL, NULL, 1731291855766810625, '测试文发一连连长', '2023-12-07 11:43:18', '2023-12-08 16:15:23');
INSERT INTO `biz_business_order_info` VALUES (1734118129895800833, 'rwd202312110001', NULL, '测试文发一连连长', 1691998769869987841, '文昌发测站', NULL, '2023-12-14 00:00:00', '2023-12-31 00:00:00', NULL, '4564645', 0, NULL, NULL, '西昌卫星发射中心计量测试站', NULL, NULL, '2', NULL, NULL, NULL, NULL, 1731291855766810625, '测试文发一连连长', '2023-12-11 15:47:52', '2023-12-11 15:55:08');
INSERT INTO `biz_business_order_info` VALUES (1734500861641555969, 'rwd202312120001', NULL, '分系统操作手测试01', 1734400114996330498, '系统测试站(测试)', NULL, '2023-12-13 00:00:00', NULL, NULL, '123123', 1, NULL, NULL, '西昌卫星发射中心计量测试站', NULL, NULL, '3', NULL, NULL, NULL, NULL, 1734401688183291905, '连长测试01', '2023-12-12 17:13:11', '2023-12-13 09:25:53');
INSERT INTO `biz_business_order_info` VALUES (1734748196359438338, 'rwd202312130001', NULL, '连长测试01', 1734400114996330498, '系统测试站(测试)', NULL, '2023-12-14 00:00:00', NULL, NULL, '123213', 1, NULL, NULL, '西昌卫星发射中心计量测试站', NULL, NULL, '3', NULL, NULL, NULL, NULL, 1734401688183291905, '连长测试01', '2023-12-13 09:36:10', '2023-12-13 09:34:57');

-- ----------------------------
-- Table structure for biz_business_order_sample_relation
-- ----------------------------
CREATE TABLE `biz_business_order_sample_relation`  (
  `id` bigint NOT NULL,
  `order_id` bigint NOT NULL COMMENT '委托书id',
  `sample_id` bigint NOT NULL COMMENT '样品库样品id',
  `sample_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备编号',
  `sample_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  `sample_model` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '型号规格',
  `interchange_id` bigint NULL DEFAULT NULL COMMENT '交接单id，避免重复交接(可为空)',
  `sample_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '样品在本次委托中分发的状态（字典code）',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '样品在本次委托中的备注(退回/补送原因)',
  `real_deliver_time` timestamp(0) NULL DEFAULT NULL COMMENT '样品实际到达时间',
  `return_time` timestamp(0) NULL DEFAULT NULL COMMENT '样品归还时间',
  `measure_type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检定方式（字典code）',
  `appendix_descn` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '样品在本次委托中的附件说明',
  `appearance_inspect` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '样品在本次委托中的外观和功能检查',
  `special_require` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '样品在本次委托中的特殊要求',
  `measure_content` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '样品在本次委托中的检定项目',
  `measure_complete_time` timestamp(0) NULL DEFAULT NULL COMMENT '检定完成时间',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0),
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `index_order_asmple_id`(`order_id`, `sample_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '计量检定业务-任务单管理-任务单设备样品关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_order_sample_relation
-- ----------------------------
INSERT INTO `biz_business_order_sample_relation` VALUES (1732303324155248641, 1732303324079751170, 1731913376528883714, 'sjsb202312050008', '测试通用设备1', 'casic-well100NA', NULL, '7', NULL, NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, '2023-12-06 15:37:52', '2023-12-08 15:55:19');
INSERT INTO `biz_business_order_sample_relation` VALUES (1732303324159442945, 1732303324079751170, 1731482833303740417, 'sjsb202312040001', '数字多用表', 'UT70C', NULL, '3', NULL, '2023-12-08 00:00:00', NULL, '1', NULL, NULL, NULL, NULL, NULL, '2023-12-06 15:37:52', '2023-12-08 16:00:03');
INSERT INTO `biz_business_order_sample_relation` VALUES (1732303324159442946, 1732303324079751170, 1731483602761392129, 'sjsb202312040002', '数字多用表', 'Fluke 8846A', NULL, '3', NULL, '2023-12-08 00:00:00', NULL, '1', NULL, NULL, NULL, NULL, NULL, '2023-12-06 15:37:52', '2023-12-08 16:00:11');
INSERT INTO `biz_business_order_sample_relation` VALUES (1732606959196098561, 1732606959124795394, 1732209635378618370, 'sjsb202312060001', '数字示波器', 'TDS1012C', NULL, '3', NULL, '2023-12-08 00:00:00', NULL, '1', NULL, NULL, NULL, NULL, NULL, '2023-12-07 11:44:24', '2023-12-08 16:20:32');
INSERT INTO `biz_business_order_sample_relation` VALUES (1732606959200292866, 1732606959124795394, 1732248045917077505, 'sjsb202312060005', '指针式电压表', '450V-3', NULL, '3', NULL, '2023-12-08 00:00:00', NULL, '1', NULL, NULL, NULL, NULL, NULL, '2023-12-07 11:44:24', '2023-12-08 16:20:32');
INSERT INTO `biz_business_order_sample_relation` VALUES (1732606959200292867, 1732606959124795394, 1732246905401933825, 'sjsb202312060004', '指针式电压表', '450V-3', NULL, '3', NULL, '2023-12-08 00:00:00', NULL, '1', NULL, NULL, NULL, NULL, NULL, '2023-12-07 11:44:24', '2023-12-08 16:20:32');
INSERT INTO `biz_business_order_sample_relation` VALUES (1734118130017435650, 1734118129895800833, 1734115919929606146, 'sjsb202312110002', '数字多用表', 'FLUKE 17B+', NULL, '3', NULL, '2023-12-11 00:00:00', NULL, '1', NULL, NULL, NULL, NULL, NULL, '2023-12-11 15:49:16', '2023-12-11 15:55:43');
INSERT INTO `biz_business_order_sample_relation` VALUES (1734118130025824257, 1734118129895800833, 1731504451086295041, 'sjsb202312040005', '信号发生器', 'E8257D', NULL, '2', NULL, '2023-12-11 00:00:00', NULL, '1', NULL, NULL, NULL, NULL, NULL, '2023-12-11 15:49:16', '2023-12-11 16:22:23');
INSERT INTO `biz_business_order_sample_relation` VALUES (1734500861662527489, 1734500861641555969, 1734490469397757953, 'sjsb202312120002', '三用表', 'MF47', NULL, NULL, NULL, NULL, NULL, '1', '测试', NULL, NULL, NULL, NULL, '2023-12-12 17:10:07', '2023-12-12 17:10:07');
INSERT INTO `biz_business_order_sample_relation` VALUES (1734748196388798465, 1734748196359438338, 1734490469397757953, 'sjsb202312120002', '三用表', 'MF47', NULL, NULL, NULL, NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, '2023-12-13 09:32:56', '2023-12-13 09:32:56');

-- ----------------------------
-- Table structure for biz_business_outsource_assess
-- ----------------------------
CREATE TABLE `biz_business_outsource_assess`  (
  `id` bigint NOT NULL,
  `project_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '评审表编号',
  `project_name` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '评审表名称',
  `lab_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '实验室代码(字典code)',
  `group_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '组别代码(字典code)',
  `applicant_id` bigint NULL DEFAULT NULL COMMENT '申请人id',
  `applicant_name` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请人名字',
  `applicant_time` timestamp(0) NULL DEFAULT NULL COMMENT '申请时间',
  `minio_file_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '附件(minio存储文件名)',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人名字',
  `outsourcer_id` bigint NOT NULL COMMENT '分包方id',
  `item` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '分包项目',
  `contacts` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '联系人',
  `mobile` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '联系电话',
  `pre_start_time` timestamp(0) NULL DEFAULT NULL COMMENT '预计开始时间',
  `pre_end_time` timestamp(0) NULL DEFAULT NULL COMMENT '预计结束时间',
  `outsource_reason` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '分包原因(字典code)',
  `pre_cost` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '预计费用',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `approve_situation` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '实验室认可情况',
  `traceability` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '溯源性',
  `test_method` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '测试方法',
  `technique_ability` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '技术能力',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `index_project_no`(`project_no`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '计量检定业务-分包管理-测试、校准或检定工作分包评审表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_outsource_assess
-- ----------------------------

-- ----------------------------
-- Table structure for biz_business_outsource_assess_sample_relation
-- ----------------------------
CREATE TABLE `biz_business_outsource_assess_sample_relation`  (
  `id` bigint NOT NULL,
  `access_id` bigint NOT NULL COMMENT '分包项目id',
  `sample_id` bigint NOT NULL COMMENT '样品id',
  `order_id` bigint NOT NULL COMMENT '委托书id',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '计量检定业务-分包管理-分包评审表-样品关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_outsource_assess_sample_relation
-- ----------------------------

-- ----------------------------
-- Table structure for biz_business_outsource_certificate
-- ----------------------------
CREATE TABLE `biz_business_outsource_certificate`  (
  `id` bigint NOT NULL COMMENT '主键',
  `certificate_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '证书编号',
  `certificate_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '证书名称',
  `outsourcer_id` bigint NOT NULL COMMENT '检测单位id(分包方id)',
  `outsourcer_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检测单位编号',
  `outsourcer_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检测单位名称',
  `sample_id` bigint NOT NULL COMMENT '受检设备id',
  `order_id` bigint NULL DEFAULT NULL COMMENT '任务单id',
  `order_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '任务单编号',
  `check_date` timestamp(0) NULL DEFAULT NULL COMMENT '检定(校准)日期',
  `certificate_valid` timestamp(0) NULL DEFAULT NULL COMMENT '证书有效期',
  `meter_identify` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计量标识(字典code)',
  `original_record_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '原始记录附件',
  `certificate_report_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '证书报告附件',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建用户id',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '计量检定业务-分包管理-分包证书' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_outsource_certificate
-- ----------------------------

-- ----------------------------
-- Table structure for biz_business_outsource_notice
-- ----------------------------
CREATE TABLE `biz_business_outsource_notice`  (
  `id` bigint NOT NULL,
  `notice_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '通知书编号',
  `notice_name` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '通知书名称',
  `lab_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '实验室代码(字典code)',
  `group_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '组别代码(字典code)',
  `customer_id` bigint NOT NULL COMMENT '受检单位id(委托方id)',
  `customer_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '受检单位名称',
  `outsourcer_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '分包方名称',
  `device_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '分包设备名字',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '申请人id(后台自动填为创建人)',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请人名字(后台自动填为创建人)',
  `contacts` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '联系人',
  `mobile` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '电话',
  `notice_date` date NULL DEFAULT NULL COMMENT '通知书时间(通知书底部)',
  `notice_user_id` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '通知委托方用户id(多个逗号分割)',
  `notice_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '通知委托方用户名字',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间(申请时间)',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '计量检定业务-分包管理-分包通知书' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_outsource_notice
-- ----------------------------

-- ----------------------------
-- Table structure for biz_business_outsource_protocol
-- ----------------------------
CREATE TABLE `biz_business_outsource_protocol`  (
  `id` bigint NOT NULL,
  `protocol_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '协议书编号',
  `project_name` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '协议书名称',
  `lab_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '实验室代码(字典code)',
  `group_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '组别代码(字典code)',
  `outsourcer_id` bigint NOT NULL COMMENT '分包方id',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '其他',
  `outsourcer_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '分包方编号',
  `outsourcer_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '分包方名称',
  `contacts` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '联系人',
  `mobile` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '电话',
  `address` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '地址',
  `require_date` date NULL DEFAULT NULL COMMENT '要求完成日期',
  `outsource_cost` double(10, 2) NULL DEFAULT NULL COMMENT '分包费用(元)',
  `director` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '分包方负责人',
  `item` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '分包项目',
  `requires` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '分包要求',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人名字',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `index_project_no`(`protocol_no`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '计量检定业务-分包管理-测试、校准或检定工作分包协议书' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_outsource_protocol
-- ----------------------------

-- ----------------------------
-- Table structure for biz_business_outsourcer_ability
-- ----------------------------
CREATE TABLE `biz_business_outsourcer_ability`  (
  `id` bigint NOT NULL,
  `outsourcer_id` bigint NOT NULL COMMENT '分包方id',
  `ability_name` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '能力名称',
  `ability_desc` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '能力描述',
  `price` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '报价',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '计量检定业务-分包管理-分包方业务能力' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_outsourcer_ability
-- ----------------------------

-- ----------------------------
-- Table structure for biz_business_outsourcer_info
-- ----------------------------
CREATE TABLE `biz_business_outsourcer_info`  (
  `id` bigint NOT NULL,
  `outsourcer_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '分包方编号',
  `outsourcer_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '单位名称',
  `lab_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '实验室代码(字典code)',
  `group_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '组别代码(字典code)',
  `outsourcer_brief_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '单位简称',
  `outsourcer_size` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '规模-字典',
  `business_size` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '业务规模-字典',
  `grade` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '履约评级-字典',
  `evaluation` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '整体评价-字典',
  `tax_number` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '税号',
  `bank_account` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '银行账户名',
  `bank_name` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '银行名称',
  `bank_account_number` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '银行账号',
  `postal_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '邮编',
  `director` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '负责人',
  `phone` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '电话',
  `fax` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '传真',
  `mobile` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '手机',
  `email` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '邮箱',
  `website` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '网址',
  `address_country` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '公司地址-国家',
  `address_province` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '公司地址-省',
  `address_city` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '公司地址-市',
  `address_area` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '公司地址-区',
  `full_address` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '公司地址-详细地址',
  `address_country_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '公司地址-国家',
  `address_province_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '公司地址-省',
  `address_city_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '公司地址-市',
  `address_area_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '公司地址-区',
  `invoice_country` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '开票地址-国家',
  `invoice_province` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '开票地址-省',
  `invoice_city` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '开票地址-市',
  `invoice_area` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '开票地址-区',
  `invoice_full_address` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '开票地址-详细地址',
  `invoice_country_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '开票地址-国家',
  `invoice_province_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '开票地址-省',
  `invoice_city_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '开票地址-市',
  `invoice_area_name` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '开票地址-区',
  `business_scope` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '测试能力',
  `business_content` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '业务内容',
  `minio_file_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'minio存储文件名',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人名字',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0),
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `index_outsourcer_no`(`outsourcer_no`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '计量检定业务-分包管理-分包方名录' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_outsourcer_info
-- ----------------------------

-- ----------------------------
-- Table structure for biz_business_outsourcer_user_info
-- ----------------------------
CREATE TABLE `biz_business_outsourcer_user_info`  (
  `id` bigint NOT NULL,
  `outsourcer_id` bigint NOT NULL COMMENT '分包方id',
  `user_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '人员编号-手动输入',
  `name` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '名称',
  `department` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '部门',
  `job` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '职务',
  `phone` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '联系方式',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '计量检定业务-分包管理-分包方人员' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_outsourcer_user_info
-- ----------------------------

-- ----------------------------
-- Table structure for biz_business_site_executive_equipment_relation
-- ----------------------------
CREATE TABLE `biz_business_site_executive_equipment_relation`  (
  `id` bigint NOT NULL,
  `site_executive_log_id` bigint NOT NULL COMMENT '现场检测记录id',
  `equipment_id` bigint NOT NULL COMMENT '检测设备id（标准装置不能带到外场）',
  `before_work_check` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '工作开始前外观及功能检查',
  `before_work_result` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '工作开始前指标测试结果',
  `before_work_recorder_id` bigint NULL DEFAULT NULL COMMENT '工作开始前记录人-计量人员id',
  `before_work_recorder_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '工作开始前记录人-计量人员名字',
  `before_work_recorder_date` timestamp(0) NULL DEFAULT NULL COMMENT '工作开始前记录日期',
  `after_work_check` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '工作完成后外观及功能检查',
  `after_work_result` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '工作完成后指标测试结果',
  `after_work_recorder_id` bigint NULL DEFAULT NULL COMMENT '工作完成后记录人-计量人员id',
  `after_work_recorder_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '工作完成后记录人-计量人员名字',
  `after_work_recorder_date` timestamp(0) NULL DEFAULT NULL COMMENT '工作完成后记录日期',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '外场检测记录-测量设备关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_site_executive_equipment_relation
-- ----------------------------

-- ----------------------------
-- Table structure for biz_business_site_executive_info
-- ----------------------------
CREATE TABLE `biz_business_site_executive_info`  (
  `id` bigint NOT NULL,
  `lab_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '实验室代码(字典code)',
  `group_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '组别代码(字典code)',
  `site_executive_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '现场检测编号',
  `site_executive_name` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '现场检测名字',
  `apply_id` bigint NULL DEFAULT NULL COMMENT '申请人id',
  `apply_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请人名字',
  `apply_time` timestamp(0) NULL DEFAULT NULL COMMENT '申请时间',
  `order_id` bigint NULL DEFAULT NULL COMMENT '委托书id',
  `customer_id` bigint NOT NULL COMMENT '委托方id',
  `executive_item` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '现场测试、校准或检定项目',
  `executive_address` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '测试、校准或检定地点',
  `executive_environment` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '现场环境条件',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态',
  `print_file_name` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '打印文件名称',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `remark` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人名字',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `index_site_executive_no`(`site_executive_no`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '计量检定业务-现场计量质量保证-现场检测表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_site_executive_info
-- ----------------------------

-- ----------------------------
-- Table structure for biz_business_site_executive_info_equipment_relation
-- ----------------------------
CREATE TABLE `biz_business_site_executive_info_equipment_relation`  (
  `id` bigint NOT NULL,
  `site_executive_info_id` bigint NOT NULL COMMENT '现场检测审批id',
  `equipment_id` bigint NOT NULL COMMENT '检测设备id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '外场检测-测量设备关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_site_executive_info_equipment_relation
-- ----------------------------

-- ----------------------------
-- Table structure for biz_business_site_executive_log
-- ----------------------------
CREATE TABLE `biz_business_site_executive_log`  (
  `id` bigint(20) UNSIGNED ZEROFILL NOT NULL,
  `lab_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '实验室代码(字典code)',
  `group_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '组别代码(字典code)',
  `log_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '现场检测记录单编号',
  `log_name` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '现场检测记录单名称',
  `site_executive_id` bigint NULL DEFAULT NULL COMMENT '现场检测id',
  `site_executive_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '现场检测编号',
  `executive_address` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '现场工作地点',
  `output_voltage` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '输出电压',
  `zero_ground_voltage` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '零地电压',
  `temperature` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '温度',
  `humidity` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '湿度',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `create_user_id` bigint NOT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人名字',
  `laboratory_id` bigint NULL DEFAULT NULL COMMENT '实验室id',
  `record_time` timestamp(0) NULL DEFAULT NULL COMMENT '记录时间',
  `print_file_name` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '打印文件名称',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '现场检测记录表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_site_executive_log
-- ----------------------------

-- ----------------------------
-- Table structure for biz_business_site_executive_staff_relation
-- ----------------------------
CREATE TABLE `biz_business_site_executive_staff_relation`  (
  `id` bigint NOT NULL,
  `site_executive_id` bigint NOT NULL COMMENT '外场检测id',
  `staff_id` bigint NOT NULL COMMENT '计量人员id',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `index_project_no`(`site_executive_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '外场检测-计量人员关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_business_site_executive_staff_relation
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_attachment
-- ----------------------------
CREATE TABLE `biz_equipment_attachment`  (
  `id` bigint NOT NULL,
  `equipment_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT '设备编号',
  `name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '附件名称',
  `information` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '附件信息',
  `location` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '附件位置',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备台账-主附件信息(设备类型为标准设备时有主附件信息)' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_attachment
-- ----------------------------
INSERT INTO `biz_equipment_attachment` VALUES (1734035568544772097, 'sbtz202312110001', '\\', '\\', '\\');
INSERT INTO `biz_equipment_attachment` VALUES (1734046328687751170, 'sbtz202312110002', '\\', '\\', '\\');
INSERT INTO `biz_equipment_attachment` VALUES (1734049653705469954, 'sbtz202312110003', '\\', '\\', '\\');

-- ----------------------------
-- Table structure for biz_equipment_borrow
-- ----------------------------
CREATE TABLE `biz_equipment_borrow`  (
  `id` bigint NOT NULL,
  `register_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '登记表编号',
  `register_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '登记表名称',
  `lab_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '实验室代码(字典code)',
  `group_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '组别代码(字典code)',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人',
  `equipment_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备编号',
  `equipment_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  `manufacture_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '出厂编号',
  `model` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '规格型号',
  `manufacturer` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生产厂家',
  `equipment_company` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备所属单位',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '借用部门id',
  `dept_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '借用部门名',
  `borrow_reason` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '借用原因',
  `borrow_date` timestamp(0) NULL DEFAULT NULL COMMENT '借用日期',
  `borrow_deadline` timestamp(0) NULL DEFAULT NULL COMMENT '借用期限',
  `equipment_performance_status` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '设备性能状态',
  `trace_situation` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '溯源情况',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `return_date` timestamp(0) NULL DEFAULT NULL COMMENT '归还信息-归还日期',
  `return_user` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '归还信息-归还人',
  `receive_date` timestamp(0) NULL DEFAULT NULL COMMENT '归还信息-接收日期',
  `receiver` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '归还信息-接收人',
  `return_equipment_performance_status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '归还信息-设备性能状态',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备履历管理-设备借用管理' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_borrow
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_borrow_attachment
-- ----------------------------
CREATE TABLE `biz_equipment_borrow_attachment`  (
  `id` bigint NOT NULL,
  `borrow_id` bigint NOT NULL COMMENT '借出id',
  `name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '附件名称',
  `information` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '附件信息',
  `location` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '附件位置',
  `return_flag` tinyint(1) NULL DEFAULT NULL COMMENT '归还标志',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备履历管理-设备借用管理-主附件信息' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_borrow_attachment
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_certificate
-- ----------------------------
CREATE TABLE `biz_equipment_certificate`  (
  `id` bigint NOT NULL,
  `equipment_id` bigint NOT NULL COMMENT '设备id',
  `certificate_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '证书编号',
  `certificate_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '证书名称',
  `trace_company` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '溯源单位',
  `trace_date` timestamp(0) NULL DEFAULT NULL COMMENT '检定日期',
  `valid_date` timestamp(0) NULL DEFAULT NULL COMMENT '检定有效期',
  `certificate_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '证书附件',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0),
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备台账-溯源证书报告' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_certificate
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_checkpoint
-- ----------------------------
CREATE TABLE `biz_equipment_checkpoint`  (
  `id` bigint NOT NULL,
  `equipment_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT '设备编号',
  `item` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查项目',
  `check_point` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查点',
  `unit` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '单位',
  `upper_limit` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '上限',
  `lower_limit` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '下限',
  `routine` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '是否例行',
  `trace_value` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '溯源值',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备台账-核查点' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_checkpoint
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_circulation_log
-- ----------------------------
CREATE TABLE `biz_equipment_circulation_log`  (
  `id` bigint NULL DEFAULT NULL,
  `equipment_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备台账编号',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '部门id',
  `dept_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '部门名称',
  `director_id` bigint NULL DEFAULT NULL COMMENT '负责人id',
  `director_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '负责人名字',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0)
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备台账-设备流转日志' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_circulation_log
-- ----------------------------
INSERT INTO `biz_equipment_circulation_log` VALUES (1734042970639888386, 'sbtz202312110001', 1707239571046658050, '海口电学电源组', 1733034506572558337, '王呈倬', '2023-12-11 10:50:37');
INSERT INTO `biz_equipment_circulation_log` VALUES (1734126385158483969, 'sbtz202312110003', 1707239571046658050, '海口电学电源组', 1733034506572558337, '王呈倬', '2023-12-11 16:22:04');
INSERT INTO `biz_equipment_circulation_log` VALUES (1734126394553724929, 'sbtz202312110002', 1707239571046658050, '海口电学电源组', 1733034506572558337, '王呈倬', '2023-12-11 16:22:07');

-- ----------------------------
-- Table structure for biz_equipment_exception_handle
-- ----------------------------
CREATE TABLE `biz_equipment_exception_handle`  (
  `id` bigint NOT NULL,
  `report_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '报告单编号',
  `report_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '报告单名称',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人',
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '设备台账id',
  `exception_time` timestamp(0) NULL DEFAULT NULL COMMENT '故障时间',
  `exception_desc` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '异常情况描述、原因及后果分析',
  `handle_situation` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '应急处置情况',
  `trace_situation` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '追溯情况',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备履历管理-异常情况处置管理' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_exception_handle
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_info
-- ----------------------------
CREATE TABLE `biz_equipment_info`  (
  `id` bigint NOT NULL,
  `equipment_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备编号',
  `equipment_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  `unpack_record_id` bigint NULL DEFAULT NULL COMMENT '开箱记录id',
  `unpack_record_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '开箱记录名字',
  `purchase_date` date NULL DEFAULT NULL COMMENT '购进日期',
  `product_country` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生产国家(名字)',
  `manufacturer` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生产厂家',
  `manufacture_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '出厂编号',
  `produce_date` date NULL DEFAULT NULL COMMENT '生产日期',
  `unit_price` decimal(10, 4) NULL DEFAULT NULL COMMENT '单价(万元)',
  `model` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '型号规格',
  `quality_status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '质量状况',
  `usage_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '使用状态(字典code)',
  `level` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '等级(字典code)',
  `type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备类型(字典code)',
  `standard_type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准类型(字典code)',
  `label` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标签',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '部门id',
  `dept_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '部门名称',
  `director_id` bigint NULL DEFAULT NULL COMMENT '负责人id',
  `director_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '负责人名字',
  `category` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备分类(字典code)',
  `measure_cycle` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检定周期',
  `supplier_id` bigint NULL DEFAULT NULL COMMENT '供方id',
  `supplier_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '供方名字',
  `location` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '位置信息',
  `instructions_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '说明书(minio存储文件名)',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `trace_company` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '溯源单位',
  `trace_date` date NULL DEFAULT NULL COMMENT '溯源日期',
  `measure_valid_date` date NULL DEFAULT NULL COMMENT '检定有效期',
  `meter_identify` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计量标识(字典code)，即溯源结果确认结论',
  `meter_standard_id` bigint NULL DEFAULT NULL COMMENT '所属标准装置id',
  `meter_standard_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '所属标准装置名字',
  `technical_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '依据技术文件(minio存储文件名)',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人名字',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备台账表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_info
-- ----------------------------
INSERT INTO `biz_equipment_info` VALUES (1734042970639888386, 'sbtz202312110001', '多功能校准器', 1734027642925019137, '开箱验收记录表', '2012-12-01', 'US', 'FLUKE', '2077205', '2012-12-01', 30.0000, '5720A', '堪用', '1', '1', '1', '1', NULL, 1707239571046658050, '海口电学电源组', 1733034506572558337, '王呈倬', '2', '12', NULL, NULL, NULL, NULL, NULL, '航天514所', '2022-10-15', '2023-10-14', '1', 1734059890810351618, '多功能校准源标准装置', NULL, 1712422975782285313, '王呈倬', '2023-12-11 10:12:04', '2023-12-11 11:58:24');
INSERT INTO `biz_equipment_info` VALUES (1734126385158483969, 'sbtz202312110003', '多功能校准器', 1734029511894298625, '开箱验收记录表', '2012-12-01', 'US', 'FLUKE', '2071903', '2012-11-01', 30.0000, '5522A', '堪用', '1', '1', '1', '2', NULL, 1707239571046658050, '海口电学电源组', 1733034506572558337, '王呈倬', '2', '12', NULL, NULL, NULL, NULL, NULL, '计量中心', '2022-10-15', '2022-10-14', '1', 1734059890810351618, '多功能校准源标准装置', NULL, 1712422975782285313, '王呈倬', '2023-12-11 11:05:39', '2023-12-11 16:31:41');
INSERT INTO `biz_equipment_info` VALUES (1734126394553724929, 'sbtz202312110002', '放大器', 1734028803040145409, '开箱验收记录表', '2012-12-01', 'US', 'FLUKE', '2087022', '2012-11-01', 30.0000, '5725A', '堪用', '1', '1', '1', '1', NULL, 1707239571046658050, '海口电学电源组', 1733034506572558337, '王呈倬', '2', '12', NULL, NULL, NULL, '多功能校准源校准规范_1702263490629.pdf', NULL, '航天514所', '2022-10-13', '2023-10-13', '1', 1734059890810351618, '多功能校准源标准装置', NULL, 1712422975782285313, '王呈倬', '2023-12-11 10:57:19', '2023-12-11 16:31:41');

-- ----------------------------
-- Table structure for biz_equipment_info_approval
-- ----------------------------
CREATE TABLE `biz_equipment_info_approval`  (
  `id` bigint NOT NULL,
  `approval_type` tinyint NOT NULL COMMENT '申请审批类型(1新增2编辑3删除)',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态(字典code,工作流回填)',
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '设备id',
  `equipment_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT '设备编号',
  `equipment_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  `unpack_record_id` bigint NULL DEFAULT NULL COMMENT '开箱记录id',
  `unpack_record_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '开箱记录名字',
  `purchase_date` timestamp(0) NULL DEFAULT NULL COMMENT '购进日期',
  `product_country` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生产国家(名字)',
  `manufacturer` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生产厂家',
  `manufacture_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '出厂编号',
  `produce_date` timestamp(0) NULL DEFAULT NULL COMMENT '生产日期',
  `unit_price` decimal(10, 4) NULL DEFAULT NULL COMMENT '单价(万元)',
  `model` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '型号规格',
  `quality_status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '质量状况',
  `usage_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '使用状态(字典code)',
  `level` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '等级(字典code)',
  `type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备类型(字典code)',
  `standard_type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准类型(字典code)',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '部门id',
  `dept_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '部门名称',
  `director_id` bigint NULL DEFAULT NULL COMMENT '负责人id',
  `director_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '负责人名字',
  `category` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备分类(字典code)',
  `measure_cycle` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检定周期',
  `supplier_id` bigint NULL DEFAULT NULL COMMENT '供方id',
  `supplier_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '供方名字',
  `location` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '位置信息',
  `instructions_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '说明书(minio存储文件名)',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `trace_company` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '溯源单位',
  `trace_date` timestamp(0) NULL DEFAULT NULL COMMENT '溯源日期',
  `measure_valid_date` timestamp(0) NULL DEFAULT NULL COMMENT '检定有效期',
  `meter_identify` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计量标识(字典code)，即溯源结果确认结论',
  `meter_standard_id` bigint NULL DEFAULT NULL COMMENT '所属标准装置id',
  `meter_standard_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '所属标准装置名字',
  `technical_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '依据技术文件(minio存储文件名)',
  `create_user_id` bigint NOT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人名字',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备台账-审批申请表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_info_approval
-- ----------------------------
INSERT INTO `biz_equipment_info_approval` VALUES (1734035568389582849, 1, 'e5d1f323-97cf-11ee-8910-5254008a5fee', '4', NULL, 'sbtz202312110001', '多功能校准器', 1734027642925019137, '开箱验收记录表', '2012-12-01 00:00:00', 'US', 'FLUKE', '2077205', '2012-12-01 00:00:00', 30.0000, '5720A', '堪用', '1', '1', '1', '1', 1707239571046658050, '海口电学电源组', 1733034506572558337, '王呈倬', '2', '12', NULL, NULL, NULL, NULL, NULL, '航天514所', '2022-10-15 00:00:00', '2023-10-14 00:00:00', '1', NULL, NULL, NULL, 1712422975782285313, '王呈倬', '2023-12-11 10:12:04', '2023-12-11 10:50:37');
INSERT INTO `biz_equipment_info_approval` VALUES (1734046328662585345, 1, 'f9807b22-97d1-11ee-8910-5254008a5fee', '4', NULL, 'sbtz202312110002', '放大器', 1734028803040145409, '开箱验收记录表', '2012-12-01 00:00:00', 'US', 'FLUKE', '2087022', '2012-11-01 00:00:00', 30.0000, '5725A', '堪用', '1', '1', '1', '1', 1707239571046658050, '海口电学电源组', 1733034506572558337, '王呈倬', '2', '12', NULL, NULL, NULL, '多功能校准源校准规范_1702263490629.pdf', NULL, '航天514所', '2022-10-13 00:00:00', '2023-10-13 00:00:00', '1', NULL, NULL, NULL, 1712422975782285313, '王呈倬', '2023-12-11 10:57:19', '2023-12-11 16:22:07');
INSERT INTO `biz_equipment_info_approval` VALUES (1734049653655138306, 1, 'c60712dc-97d3-11ee-8910-5254008a5fee', '4', NULL, 'sbtz202312110003', '多功能校准器', 1734029511894298625, '开箱验收记录表', '2012-12-01 00:00:00', 'US', 'FLUKE', '2071903', '2012-11-01 00:00:00', 30.0000, '5522A', '堪用', '1', '1', '1', '2', 1707239571046658050, '海口电学电源组', 1733034506572558337, '王呈倬', '2', '12', NULL, NULL, NULL, NULL, NULL, '计量中心', '2022-10-15 00:00:00', '2022-10-14 00:00:00', '1', NULL, NULL, NULL, 1712422975782285313, '王呈倬', '2023-12-11 11:05:39', '2023-12-11 16:22:04');

-- ----------------------------
-- Table structure for biz_equipment_info_copy1
-- ----------------------------
CREATE TABLE `biz_equipment_info_copy1`  (
  `id` bigint NOT NULL,
  `equipment_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备编号',
  `equipment_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  `unpack_record_id` bigint NULL DEFAULT NULL COMMENT '开箱记录id',
  `unpack_record_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '开箱记录名字',
  `purchase_date` date NULL DEFAULT NULL COMMENT '购进日期',
  `product_country` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生产国家(名字)',
  `manufacturer` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生产厂家',
  `manufacture_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '出厂编号',
  `produce_date` date NULL DEFAULT NULL COMMENT '生产日期',
  `unit_price` decimal(10, 4) NULL DEFAULT NULL COMMENT '单价(万元)',
  `model` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '型号规格',
  `quality_status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '质量状况',
  `usage_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '使用状态(字典code)',
  `level` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '等级(字典code)',
  `type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备类型(字典code)',
  `standard_type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准类型(字典code)',
  `label` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标签',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '部门id',
  `dept_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '部门名称',
  `director_id` bigint NULL DEFAULT NULL COMMENT '负责人id',
  `director_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '负责人名字',
  `category` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备分类(字典code)',
  `measure_cycle` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检定周期',
  `supplier_id` bigint NULL DEFAULT NULL COMMENT '供方id',
  `supplier_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '供方名字',
  `location` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '位置信息',
  `instructions_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '说明书(minio存储文件名)',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `trace_company` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '溯源单位',
  `trace_date` date NULL DEFAULT NULL COMMENT '溯源日期',
  `measure_valid_date` date NULL DEFAULT NULL COMMENT '检定有效期',
  `meter_identify` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计量标识(字典code)，即溯源结果确认结论',
  `meter_standard_id` bigint NULL DEFAULT NULL COMMENT '所属标准装置id',
  `meter_standard_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '所属标准装置名字',
  `technical_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '依据技术文件(minio存储文件名)',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人名字',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备台账表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_info_copy1
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_lend
-- ----------------------------
CREATE TABLE `biz_equipment_lend`  (
  `id` bigint NOT NULL,
  `register_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '登记表编号',
  `register_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '登记表名称',
  `lab_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '实验室代码(字典code)',
  `group_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '组别代码(字典code)',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人',
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '设备台账id',
  `borrower` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '借用人',
  `borrow_company` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '借用单位',
  `borrow_date` timestamp(0) NULL DEFAULT NULL COMMENT '借用日期',
  `borrow_deadline` timestamp(0) NULL DEFAULT NULL COMMENT '借用期限',
  `equipment_performance_status` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '设备性能状态',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `return_date` timestamp(0) NULL DEFAULT NULL COMMENT '归还信息-归还日期',
  `return_user` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '归还信息-归还人',
  `receive_date` timestamp(0) NULL DEFAULT NULL COMMENT '归还信息-接收日期',
  `receiver` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '归还信息-接收人',
  `return_equipment_performance_status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '归还信息-设备性能状态',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备履历管理-设备借出管理' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_lend
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_lend_attachment
-- ----------------------------
CREATE TABLE `biz_equipment_lend_attachment`  (
  `id` bigint NOT NULL,
  `lend_id` bigint NOT NULL COMMENT '借出id',
  `name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '附件名称',
  `information` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '附件信息',
  `location` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '附件位置',
  `return_flag` tinyint(1) NULL DEFAULT NULL COMMENT '归还标志',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备履历管理-设备借出管理-主附件信息' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_lend_attachment
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_maintain
-- ----------------------------
CREATE TABLE `biz_equipment_maintain`  (
  `id` bigint NOT NULL,
  `maintain_type` tinyint(1) NULL DEFAULT NULL COMMENT '保养类型(1周维护/2月保养)',
  `log_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '记录编号',
  `log_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '记录名称',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '记录部门id',
  `dept_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '记录部门',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `dust_abnormal_reason` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '除尘除潮不正常原因(若不正常，不正常原因均为必填)',
  `appearance_abnormal_reason` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '外观检查不正常原因',
  `work_abnormal_reason` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '工作正常性检查不正常原因',
  `performance_abnormal_reason` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '性能测试不正常原因',
  `attachment_abnormal_reason` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备附件和资料检查不正常原因',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '记录人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '记录人',
  `check_result` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检查结果(字典code)',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '记录时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备履历管理-周维护' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_maintain
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_standard_build
-- ----------------------------
CREATE TABLE `biz_equipment_standard_build`  (
  `id` bigint NOT NULL,
  `apply_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请单编号',
  `apply_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请单名称',
  `standard_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准名称',
  `meter_organize` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计量机构名称',
  `standard_file_template` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准文档模板',
  `build_standard_report_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '建标报告(minio存储文件名)',
  `exam_table_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '考核表(minio存储文件名)',
  `standard_certificate_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准证书(minio存储文件名)',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态(字典code,工作流回填)',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '申请人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请人',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '申请时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置管理-标准建立' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_build
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_standard_carryout_item
-- ----------------------------
CREATE TABLE `biz_equipment_standard_carryout_item`  (
  `id` bigint NOT NULL,
  `standard_id` bigint NOT NULL COMMENT '标准装置id',
  `item_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '项目名称',
  `item_param` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '参数及测量范围',
  `item_uncertainty` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '不确定度、准确度等级或最大允许误差',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置-开展的检定或校准项目' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_carryout_item
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_standard_certificate
-- ----------------------------
CREATE TABLE `biz_equipment_standard_certificate`  (
  `id` bigint NOT NULL,
  `standard_id` bigint NOT NULL COMMENT '标准装置id',
  `certificate_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '证书编号',
  `certificate_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '证书名称',
  `provide_company` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '出具单位',
  `certificate_date` timestamp(0) NULL DEFAULT NULL COMMENT '证书日期',
  `certificate_expire_date` timestamp(0) NULL DEFAULT NULL COMMENT '证书有效期',
  `attachment_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '附件',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置-标准证书' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_certificate
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_standard_change_relation
-- ----------------------------
CREATE TABLE `biz_equipment_standard_change_relation`  (
  `id` bigint NOT NULL,
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '配套设备id',
  `standard_status_id` bigint NULL DEFAULT NULL COMMENT '标准装置状态维护表id',
  `change_type` tinyint NULL DEFAULT NULL COMMENT '1被更换2更换',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置状态维护-标准装置更换申请设备信息' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_change_relation
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_standard_check_data_calibrator
-- ----------------------------
CREATE TABLE `biz_equipment_standard_check_data_calibrator`  (
  `id` bigint NOT NULL,
  `data_id` bigint NOT NULL COMMENT '核查数据管理基础信息表id',
  `check_type` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查类型(直接存字典value)',
  `test_type` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查点类型(直接存字典value)',
  `params` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查项目(直接存字典value)',
  `unit` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '单位(直接存字典value)',
  `frequency` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '频率',
  `check_point` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查点',
  `test_value_one_date` date NULL DEFAULT NULL COMMENT '核查读数1日期（稳定性）',
  `test_value_one` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查读数1（示值）',
  `test_value_two_date` date NULL DEFAULT NULL COMMENT '核查读数2日期（稳定性）',
  `test_value_two` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查读数2（示值）',
  `test_value_three_date` date NULL DEFAULT NULL COMMENT '核查读数3日期（稳定性）',
  `test_value_three` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查读数3（示值）',
  `test_value_four_date` date NULL DEFAULT NULL COMMENT '核查读数4日期（稳定性）',
  `test_value_four` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查读数4（示值）',
  `test_value_five_date` date NULL DEFAULT NULL COMMENT '核查读数5日期（稳定性）',
  `test_value_five` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查读数5（示值）',
  `test_value_six_date` date NULL DEFAULT NULL COMMENT '核查读数6日期（稳定性）',
  `test_value_six` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查读数6（本次示值）',
  `average_value` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查读数平均值(算数平均值)',
  `standard_deviation` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Sn(x)(标准偏差)',
  `relative_repeatability` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Sn(x)/核查读数平均值(相对重复性)',
  `urel` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'UREL',
  `less_than` tinyint(1) NULL DEFAULT NULL COMMENT '是否小于相对扩展不确定度Urel(0/1)',
  `qualified` tinyint(1) NULL DEFAULT NULL COMMENT '稳定性考核是否合格',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置管理-核查数据管理多功能校准源数据表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_check_data_calibrator
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_standard_check_data_electrical_safety
-- ----------------------------
CREATE TABLE `biz_equipment_standard_check_data_electrical_safety`  (
  `id` bigint NOT NULL,
  `data_id` bigint NOT NULL COMMENT '核查数据管理基础信息表id',
  `check_type` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查类型(直接存字典value)',
  `test_type` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查点类型(直接存字典value)',
  `params` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查项目(直接存字典value)',
  `check_point` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查点',
  `unit` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '单位(直接存字典value)',
  `average_value` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '算数平均值',
  `previous_check` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '历次核查的标准偏差Sn(x)',
  `test_value_one_date` date NULL DEFAULT NULL COMMENT '核查读数1日期（稳定性）',
  `test_value_one` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查读数1（示值）',
  `test_value_two_date` date NULL DEFAULT NULL COMMENT '核查读数2日期（稳定性）',
  `test_value_two` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查读数2（示值）',
  `test_value_three_date` date NULL DEFAULT NULL COMMENT '核查读数3日期（稳定性）',
  `test_value_three` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查读数3（示值）',
  `test_value_four_date` date NULL DEFAULT NULL COMMENT '核查读数4日期（稳定性）',
  `test_value_four` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查读数4（示值）',
  `test_value_five_date` date NULL DEFAULT NULL COMMENT '核查读数5日期（稳定性）',
  `test_value_five` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查读数5（示值）',
  `test_value_six_date` date NULL DEFAULT NULL COMMENT '核查读数6日期（稳定性）',
  `test_value_six` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查读数6（本次示值）',
  `standard_deviation` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'Sn(x)(标准偏差)',
  `relative_repeatability` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '相对重复性',
  `urel` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'UREL',
  `less_than` tinyint(1) NULL DEFAULT NULL COMMENT '是否小于相对扩展不确定度Urel(0/1)',
  `qualified` tinyint(1) NULL DEFAULT NULL COMMENT '稳定性考核是否合格',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置管理-核查数据管理多功能电气安全校准器数据表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_check_data_electrical_safety
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_standard_check_data_piston_gauge
-- ----------------------------
CREATE TABLE `biz_equipment_standard_check_data_piston_gauge`  (
  `id` bigint NOT NULL,
  `data_id` bigint NOT NULL COMMENT '核查数据管理基础信息表id',
  `unit` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '单位(直接存字典value)',
  `check_point` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查点',
  `first_forward_stroke` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '第一次正行程',
  `first_reverse_stroke` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '第一次反行程',
  `second_forward_stroke` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '第二次正行程',
  `second_reverse_stroke` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '第二次反行程',
  `third_forward_stroke` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '第三次正行程',
  `third_reverse_stroke` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '第三次反行程',
  `average_value` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '平均值',
  `average_average_value` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '测量标准示值平均值(电信号中)',
  `max_indicating_error` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '示值误差最大值',
  `max_return_error` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '回程误差最大值',
  `params` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查项目(直接存字典value)',
  `test_value_one` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查标准示值1',
  `measure_value_one` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '测量标准示值1',
  `test_value_two` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查标准示值2',
  `measure_value_two` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '测量标准示值2',
  `test_value_three` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查标准示值3',
  `measure_value_three` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '测量标准示值3',
  `test_value_four` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查标准示值4',
  `measure_value_four` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '测量标准示值4',
  `test_value_five` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查标准示值5',
  `measure_value_five` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '测量标准示值5',
  `test_value_six` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查标准示值6',
  `measure_value_six` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '测量标准示值6',
  `maximum_error` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '最大允许误差',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置管理-核查数据管理0.02级活塞式压力计数据表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of biz_equipment_standard_check_data_piston_gauge
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_standard_check_info
-- ----------------------------
CREATE TABLE `biz_equipment_standard_check_info`  (
  `id` bigint NOT NULL,
  `data_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '数据编号',
  `check_date` date NULL DEFAULT NULL COMMENT '核查日期',
  `check_address` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查地点',
  `temperature` double(4, 2) NULL DEFAULT NULL COMMENT '温度',
  `humidity` double(4, 2) NULL DEFAULT NULL COMMENT '湿度',
  `check_accord` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查依据(即标准装置的作业指导书文件minio文件名，多个分号分割)',
  `stability_examine` tinyint(1) NULL DEFAULT NULL COMMENT '是否用于稳定性考核(1/0)',
  `standard_equipment_id` bigint NULL DEFAULT NULL COMMENT '被核查标准装置id',
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '被核查设备id',
  `item_category_id` bigint NULL DEFAULT NULL COMMENT '核查项分类id',
  `conclusion` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '结论(字典value)',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '核查员id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查员',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置管理-核查数据基本信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of biz_equipment_standard_check_info
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_standard_check_info_equipment
-- ----------------------------
CREATE TABLE `biz_equipment_standard_check_info_equipment`  (
  `id` bigint NOT NULL,
  `check_equipment_id` bigint NULL DEFAULT NULL COMMENT '做核查标准设备id',
  `data_id` bigint NULL DEFAULT NULL COMMENT '核查数据基本信息表id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置管理-核查数据基本信息关联的核查标准设备，即给设备做核查的设备' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of biz_equipment_standard_check_info_equipment
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_standard_check_item_category
-- ----------------------------
CREATE TABLE `biz_equipment_standard_check_item_category`  (
  `id` bigint NOT NULL,
  `category_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '分类编号',
  `category_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '分类名称',
  `equipment_type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准装置分类(bizEquipmentCategory字典code)',
  `belong_standard_equipment` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查标准装置(字典code)',
  `belong_standard_equipment_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查标准装置(字典value，value用于标准装置匹配得到核查项信息)',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置管理-核查项分类' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of biz_equipment_standard_check_item_category
-- ----------------------------
INSERT INTO `biz_equipment_standard_check_item_category` VALUES (1734381425072861186, 'hcxfl202312120001', '多功能校准器', '2', '1', '多功能校准源标准装置', '2023-12-12 09:15:31', '2024-01-10 17:56:33');
INSERT INTO `biz_equipment_standard_check_item_category` VALUES (1744914839723069442, 'hcxfl202401100001', '压力值', '3', '4', '0.02级活塞式压力计标准装置', '2024-01-10 10:51:37', '2024-01-10 17:56:52');
INSERT INTO `biz_equipment_standard_check_item_category` VALUES (1744914894358073345, 'hcxfl202401100001', '电信号', '3', '4', '0.02级活塞式压力计标准装置', '2024-01-10 10:51:50', '2024-01-10 17:57:00');

-- ----------------------------
-- Table structure for biz_equipment_standard_check_item_data_calibrator
-- ----------------------------
CREATE TABLE `biz_equipment_standard_check_item_data_calibrator`  (
  `id` bigint NOT NULL,
  `item_category_id` bigint NOT NULL COMMENT '核查项分类id(能够确定是哪个标准装置)',
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '配套设备id',
  `check_type` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查类型(直接存字典value)',
  `test_type` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查点类型(直接存字典value)',
  `params` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查项目(直接存字典value)',
  `unit` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '单位(直接存字典value)',
  `frequency` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '频率',
  `resolution` decimal(11, 6) NULL DEFAULT NULL COMMENT '分辨力',
  `check_point` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查点',
  `frequency_unit` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '频率单位(直接存字典value)',
  `cycle_number` int NULL DEFAULT NULL COMMENT '循环次数',
  `urel` decimal(20, 6) NULL DEFAULT NULL COMMENT 'Urel',
  `thoroughfare` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '通道(直接存字典value,多个分号分割)',
  `tfer` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'TFER(直接存字典value)',
  `dccp` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'DCCP(直接存字典value)',
  `flit` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'FLIT(直接存字典value)',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查项备注',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置管理-核查项多功能校准源数据(包含字典的字段都存为字典value)' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_check_item_data_calibrator
-- ----------------------------
INSERT INTO `biz_equipment_standard_check_item_data_calibrator` VALUES (1734767608663674881, 1734381425072861186, 1734126385158483969, '重复性,稳定性', '最佳点', 'DCV', 'V', NULL, NULL, '3', NULL, 6, 0.000014, NULL, NULL, NULL, NULL, NULL, '2023-12-13 10:50:04', '2023-12-13 10:50:04');
INSERT INTO `biz_equipment_standard_check_item_data_calibrator` VALUES (1734767608663674882, 1734381425072861186, 1734126385158483969, '重复性,稳定性', '最佳点', 'ACV', 'V', '1000', NULL, '3', 'Hz', 6, 0.000200, NULL, NULL, NULL, NULL, NULL, '2023-12-13 10:50:04', '2023-12-13 10:50:04');
INSERT INTO `biz_equipment_standard_check_item_data_calibrator` VALUES (1734767608667869186, 1734381425072861186, 1734126385158483969, '重复性,稳定性', '最佳点', 'DCI', 'mA', NULL, NULL, '30', NULL, 6, 0.000130, NULL, NULL, NULL, NULL, NULL, '2023-12-13 10:50:04', '2023-12-13 10:50:04');
INSERT INTO `biz_equipment_standard_check_item_data_calibrator` VALUES (1734767608667869187, 1734381425072861186, 1734126385158483969, '重复性,稳定性', '最佳点', 'ACI', 'mA', '1000', NULL, '30', 'Hz', 6, 0.001000, NULL, NULL, NULL, NULL, NULL, '2023-12-13 10:50:04', '2023-12-13 10:50:04');
INSERT INTO `biz_equipment_standard_check_item_data_calibrator` VALUES (1734767608667869188, 1734381425072861186, 1734126385158483969, '重复性,稳定性', '最佳点', 'R', 'KΩ', NULL, NULL, '1', NULL, 6, 0.000040, NULL, NULL, NULL, NULL, NULL, '2023-12-13 10:50:04', '2023-12-13 10:50:04');
INSERT INTO `biz_equipment_standard_check_item_data_calibrator` VALUES (1734767608672063489, 1734381425072861186, 1734126385158483969, '重复性,稳定性', '最差点', 'DCV', 'mV', NULL, NULL, '10', NULL, 6, 0.000170, NULL, NULL, NULL, NULL, NULL, '2023-12-13 10:50:04', '2023-12-13 10:50:04');
INSERT INTO `biz_equipment_standard_check_item_data_calibrator` VALUES (1734767608672063490, 1734381425072861186, 1734126385158483969, '重复性,稳定性', '最差点', 'ACV', 'mV', '500', NULL, '10', 'kHz', 6, 0.160000, NULL, NULL, NULL, NULL, NULL, '2023-12-13 10:50:04', '2023-12-13 10:50:04');
INSERT INTO `biz_equipment_standard_check_item_data_calibrator` VALUES (1734767608672063491, 1734381425072861186, 1734126385158483969, '重复性,稳定性', '最差点', 'DCI', 'A', NULL, NULL, '1', NULL, 6, 0.000280, NULL, NULL, NULL, NULL, NULL, '2023-12-13 10:50:04', '2023-12-13 10:50:04');
INSERT INTO `biz_equipment_standard_check_item_data_calibrator` VALUES (1734767608676257793, 1734381425072861186, 1734126385158483969, '重复性,稳定性', '最差点', 'ACI', 'A', '10', NULL, '1', 'kHz', 6, 0.035000, NULL, NULL, NULL, NULL, NULL, '2023-12-13 10:50:04', '2023-12-13 10:50:04');
INSERT INTO `biz_equipment_standard_check_item_data_calibrator` VALUES (1734767608676257794, 1734381425072861186, 1734126385158483969, '重复性,稳定性', '最差点', 'R', 'MΩ', NULL, NULL, '100', NULL, 6, 0.000630, NULL, NULL, NULL, NULL, NULL, '2023-12-13 10:50:04', '2023-12-13 10:50:04');
INSERT INTO `biz_equipment_standard_check_item_data_calibrator` VALUES (1734767608676257795, 1734381425072861186, 1734126385158483969, '重复性,稳定性', '典型点', 'DCV', 'V', NULL, NULL, '1000', NULL, 6, 0.000023, NULL, NULL, NULL, NULL, NULL, '2023-12-13 10:50:04', '2023-12-13 10:50:04');
INSERT INTO `biz_equipment_standard_check_item_data_calibrator` VALUES (1734767608676257796, 1734381425072861186, 1734126385158483969, '重复性,稳定性', '典型点', 'ACV', 'V', '1', NULL, '1000', 'kHz', 6, 0.000310, NULL, NULL, NULL, NULL, NULL, '2023-12-13 10:50:04', '2023-12-13 10:50:04');
INSERT INTO `biz_equipment_standard_check_item_data_calibrator` VALUES (1734767608680452097, 1734381425072861186, 1734126385158483969, '重复性,稳定性', '典型点', 'DCI', 'A', NULL, NULL, '19', NULL, 6, 0.001200, NULL, NULL, NULL, NULL, NULL, '2023-12-13 10:50:04', '2023-12-13 10:50:04');
INSERT INTO `biz_equipment_standard_check_item_data_calibrator` VALUES (1734767608680452098, 1734381425072861186, 1734126385158483969, '重复性,稳定性', '典型点', 'ACI', 'A', '1', NULL, '19', 'kHz', 6, 0.035000, NULL, NULL, NULL, NULL, NULL, '2023-12-13 10:50:04', '2023-12-13 10:50:04');
INSERT INTO `biz_equipment_standard_check_item_data_calibrator` VALUES (1734767608680452099, 1734381425072861186, 1734126385158483969, '重复性,稳定性', '典型点', 'R', 'Ω', NULL, NULL, '10', NULL, 6, 0.000180, NULL, NULL, NULL, NULL, NULL, '2023-12-13 10:50:04', '2023-12-13 10:50:04');

-- ----------------------------
-- Table structure for biz_equipment_standard_check_item_data_electrical_safety
-- ----------------------------
CREATE TABLE `biz_equipment_standard_check_item_data_electrical_safety`  (
  `id` bigint NOT NULL,
  `item_category_id` bigint NOT NULL COMMENT '核查项分类id(能够确定是哪个标准装置)',
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '配套设备id',
  `test_type` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查点类型(直接存字典value)',
  `params` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查项目(直接存字典value)',
  `check_point` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查点',
  `unit` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '单位(直接存字典value)',
  `resolution` decimal(11, 6) NULL DEFAULT NULL COMMENT '分辨力',
  `cycle_number` int NULL DEFAULT NULL COMMENT '循环次数',
  `urel` decimal(20, 6) NULL DEFAULT NULL COMMENT 'Urel',
  `check_type` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查类型(直接存字典value)',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查项备注',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置管理-核查项多功能电气安全校准器数据(包含字典的字段都存为字典value)' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_check_item_data_electrical_safety
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_standard_check_item_data_piston_gauge
-- ----------------------------
CREATE TABLE `biz_equipment_standard_check_item_data_piston_gauge`  (
  `id` bigint NOT NULL,
  `item_category_id` bigint NOT NULL COMMENT '核查项分类id(能够确定是哪个标准装置)',
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '配套设备id',
  `check_item` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查项目(直接存字典value)',
  `unit` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '单位(直接存字典value)',
  `check_point` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查点(直接存字典value)',
  `standard_indication` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查标准示值',
  `maximum_error_absolute` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '最大允许误差绝对值(直接存字典value)',
  `resolution` decimal(11, 6) NULL DEFAULT NULL COMMENT '分辨力',
  `cycle_number` int NULL DEFAULT NULL COMMENT '循环次数（正行程和反行程）',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查项备注',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置管理-核查项0.02活塞式压力计数据' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of biz_equipment_standard_check_item_data_piston_gauge
-- ----------------------------
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1744917302756790274, 1744914894358073345, 1744908781118050306, '2', 'mA', '4', '4', '0.0038', 0.000100, 0, NULL, '2024-01-10 11:01:24', '2024-01-10 11:01:24');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1744917302760984578, 1744914894358073345, 1744908781118050306, '2', 'mA', '10', '10', '0.0045', 0.000100, 0, NULL, '2024-01-10 11:01:24', '2024-01-10 11:01:24');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1744917302760984579, 1744914894358073345, 1744908781118050306, '2', 'mA', '20', '20', '0.0057', 0.000100, 0, NULL, '2024-01-10 11:01:24', '2024-01-10 11:01:24');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1744917302769373185, 1744914894358073345, 1744908781118050306, '1', 'V', '5', '5', '0.0011', 0.000010, 0, NULL, '2024-01-10 11:01:24', '2024-01-10 11:01:24');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1744917302769373186, 1744914894358073345, 1744908781118050306, '1', 'V', '10', '10', '0.0016', 0.000010, 0, NULL, '2024-01-10 11:01:24', '2024-01-10 11:01:24');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1744917302777761794, 1744914894358073345, 1744908781118050306, '1', 'V', '20', '20', '0.0026', 0.000010, 0, NULL, '2024-01-10 11:01:24', '2024-01-10 11:01:24');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1744969651919540225, 1744914839723069442, 1744908843445407746, '2', 'MPa', '2', NULL, '0.0071', 0.000100, 3, NULL, '2024-01-10 14:29:25', '2024-01-10 14:29:25');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1744969651923734530, 1744914839723069442, 1744908843445407746, '2', 'MPa', '12', NULL, '0.0071', 0.000100, 3, NULL, '2024-01-10 14:29:25', '2024-01-10 14:29:25');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1744969651923734531, 1744914839723069442, 1744908843445407746, '2', 'MPa', '25', NULL, '0.0071', 0.000100, 3, NULL, '2024-01-10 14:29:25', '2024-01-10 14:29:25');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745009981406605313, 1744914839723069442, 1744928795393019906, '2', 'MPa', '5', NULL, '0.0184', 0.001000, 3, NULL, '2024-01-10 17:09:40', '2024-01-10 17:09:40');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745009981423382530, 1744914839723069442, 1744928795393019906, '2', 'MPa', '30', NULL, '0.0184', 0.001000, 3, NULL, '2024-01-10 17:09:40', '2024-01-10 17:09:40');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745009981423382531, 1744914839723069442, 1744928795393019906, '2', 'MPa', '60', NULL, '0.0184', 0.001000, 3, NULL, '2024-01-10 17:09:40', '2024-01-10 17:09:40');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745010655045382146, 1744914839723069442, 1744908795613564930, '2', 'MPa', '5', NULL, '0.037', 0.000100, 3, NULL, '2024-01-10 17:12:21', '2024-01-10 17:12:21');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745264870271512578, 1744914839723069442, 1744908795613564930, '2', 'MPa', '30', NULL, '0.037', 0.000100, 3, NULL, '2024-01-11 10:02:31', '2024-01-11 10:02:31');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745264870275706881, 1744914839723069442, 1744908795613564930, '2', 'MPa', '60', NULL, '0.037', 0.000100, 3, NULL, '2024-01-11 10:02:31', '2024-01-11 10:02:31');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745265102283632642, 1744914839723069442, 1744908859320848385, '2', 'MPa', '1', NULL, '0.0028', 0.000100, 3, NULL, '2024-01-11 10:03:26', '2024-01-11 10:03:26');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745265102287826946, 1744914839723069442, 1744908859320848385, '2', 'MPa', '5', NULL, '0.0028', 0.000100, 3, NULL, '2024-01-11 10:03:26', '2024-01-11 10:03:26');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745265102287826947, 1744914839723069442, 1744908859320848385, '2', 'MPa', '10', NULL, '0.0028', 0.000100, 3, NULL, '2024-01-11 10:03:26', '2024-01-11 10:03:26');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745265355342770178, 1744914839723069442, 1744908874562949121, '2', 'MPa', '0.1', NULL, '0.0009', 0.000010, 3, NULL, '2024-01-11 10:04:26', '2024-01-11 10:04:26');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745265355342770179, 1744914839723069442, 1744908874562949121, '2', 'MPa', '1', NULL, '0.0009', 0.000010, 3, NULL, '2024-01-11 10:04:26', '2024-01-11 10:04:26');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745265355346964481, 1744914839723069442, 1744908874562949121, '2', 'MPa', '2', NULL, '0.0009', 0.000010, 3, NULL, '2024-01-11 10:04:26', '2024-01-11 10:04:26');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745265967576936449, 1744914839723069442, 1744908969312276481, '2', 'MPa', '2', NULL, '0.012', 0.001000, 3, NULL, '2024-01-11 10:06:52', '2024-01-11 10:06:52');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745265967581130753, 1744914839723069442, 1744908969312276481, '2', 'MPa', '25', NULL, '0.013', 0.001000, 3, NULL, '2024-01-11 10:06:52', '2024-01-11 10:06:52');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745265967585325058, 1744914839723069442, 1744908969312276481, '2', 'MPa', '60', NULL, '0.017', 0.001000, 3, NULL, '2024-01-11 10:06:52', '2024-01-11 10:06:52');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745266284804730881, 1744914839723069442, 1744908979953225730, '2', 'MPa', '0.1', NULL, '0.002', 0.000100, 3, NULL, '2024-01-11 10:08:08', '2024-01-11 10:08:08');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745266284808925185, 1744914839723069442, 1744908979953225730, '2', 'MPa', '2.5', NULL, '0.002', 0.000100, 3, NULL, '2024-01-11 10:08:08', '2024-01-11 10:08:08');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745266284808925186, 1744914839723069442, 1744908979953225730, '2', 'MPa', '7', NULL, '0.002', 0.000100, 3, NULL, '2024-01-11 10:08:08', '2024-01-11 10:08:08');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745266771402715137, 1744914839723069442, 1744908990623535106, '2', 'kPa', '20', NULL, '0.20', 0.010000, 3, NULL, '2024-01-11 10:10:04', '2024-01-11 10:10:04');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745266771406909441, 1744914839723069442, 1744908990623535106, '2', 'kPa', '400', NULL, '0.22', 0.010000, 3, NULL, '2024-01-11 10:10:04', '2024-01-11 10:10:04');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745266771406909442, 1744914839723069442, 1744908990623535106, '2', 'kPa', '1000', NULL, '0.28', 0.010000, 3, NULL, '2024-01-11 10:10:04', '2024-01-11 10:10:04');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745267357791580162, 1744914839723069442, 1744909002275311617, '2', 'kPa', '-3', NULL, '0.42', 0.010000, 3, NULL, '2024-01-11 10:12:24', '2024-01-11 10:12:24');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745267357791580163, 1744914839723069442, 1744909002275311617, '2', 'kPa', '-20', NULL, '0.42', 0.010000, 3, NULL, '2024-01-11 10:12:24', '2024-01-11 10:12:24');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745267357795774466, 1744914839723069442, 1744909002275311617, '2', 'kPa', '-90', NULL, '0.42', 0.010000, 3, NULL, '2024-01-11 10:12:24', '2024-01-11 10:12:24');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745267357795774467, 1744914839723069442, 1744909002275311617, '2', 'kPa', '3', NULL, '0.05', 0.010000, 3, NULL, '2024-01-11 10:12:24', '2024-01-11 10:12:24');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745267357795774468, 1744914839723069442, 1744909002275311617, '2', 'kPa', '100', NULL, '0.05', 0.010000, 3, NULL, '2024-01-11 10:12:24', '2024-01-11 10:12:24');
INSERT INTO `biz_equipment_standard_check_item_data_piston_gauge` VALUES (1745267357799968769, 1744914839723069442, 1744909002275311617, '2', 'kPa', '200', NULL, '0.06', 0.010000, 3, NULL, '2024-01-11 10:12:24', '2024-01-11 10:12:24');

-- ----------------------------
-- Table structure for biz_equipment_standard_check_modify_record
-- ----------------------------
CREATE TABLE `biz_equipment_standard_check_modify_record`  (
  `id` bigint NOT NULL,
  `data_id` bigint NOT NULL COMMENT '核查数据管理基础信息表id',
  `source_system` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计量业务管理系统/自动检定系统',
  `modify_content` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '修改内容',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建用户id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建用户名',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置管理-核查数据管理核查数据历史修改记录' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_check_modify_record
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_standard_check_record_approval
-- ----------------------------
CREATE TABLE `biz_equipment_standard_check_record_approval`  (
  `id` bigint NOT NULL,
  `record_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查记录编号',
  `record_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '核查记录名称',
  `lab_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '实验室代码(字典code,A全站X西昌H海口)',
  `group_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '组别代码(字典code)',
  `data_id` bigint NOT NULL COMMENT '核查数据基本信息表id',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `check_record_file` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生成的核查记录文件名称',
  `check_record_word_file` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生成的核查记录文件word名称',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置管理-核查记录审批表(类别检定审批表)' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_check_record_approval
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_standard_info
-- ----------------------------
CREATE TABLE `biz_equipment_standard_info`  (
  `id` bigint NOT NULL,
  `standard_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准代码(手填)',
  `standard_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准装置名称',
  `storage_location` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '存放地点(字典code)',
  `major` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '所属专业(字典code)',
  `build_standard_id` bigint NULL DEFAULT NULL COMMENT '建标申请表id(审批通过的)',
  `standard_cert_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计量标准证书号',
  `last_review_date` timestamp(0) NULL DEFAULT NULL COMMENT '最近复查日期',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '标准所在部门id',
  `dept_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准所在部门名称',
  `director_id` bigint NULL DEFAULT NULL COMMENT '负责人id',
  `director_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '负责人名字',
  `manage_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '管理状态(字典code)',
  `build_standard_report_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '建标报告(与标准建立单独存在，minio存储文件名)',
  `exam_table_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '考核表(与标准建立单独存在，minio存储文件名)',
  `standard_cert_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准证书(minio存储文件名)',
  `temperature` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '温度(℃)',
  `humidity` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '湿度(%)',
  `voltage` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '电压(V)',
  `power_frequency` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '电源频率',
  `surround_environment` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '周围环境',
  `electric_field` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '电磁场',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人名字',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置台账' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_info
-- ----------------------------
INSERT INTO `biz_equipment_standard_info` VALUES (1734059890810351618, '00001', '多功能校准源标准装置', '2', '2', NULL, '[TJ]计机考字第0614号', '2021-08-13 00:00:00', 1707239571046658050, '海口电学电源组', 1733040101786677249, '宋政辉', '1', NULL, NULL, NULL, '20℃±2℃', '≤75%', '220V±22V', '(50±0.5)Hz', '无干扰', '\\', 1712422975782285313, '王呈倬', '2023-12-11 11:47:11', '2023-12-11 11:57:51');

-- ----------------------------
-- Table structure for biz_equipment_standard_info_approval
-- ----------------------------
CREATE TABLE `biz_equipment_standard_info_approval`  (
  `id` bigint NOT NULL,
  `approval_type` tinyint NOT NULL COMMENT '申请审批类型(1新增2编辑3删除)',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态(字典code,工作流回填)',
  `standard_id` bigint NULL DEFAULT NULL COMMENT '标准装置id',
  `standard_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT '标准代码',
  `standard_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准装置名称',
  `storage_location` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '存放地点(字典code)',
  `major` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '所属专业(字典code)',
  `build_standard_id` bigint NULL DEFAULT NULL COMMENT '建标申请表id(审批通过的)',
  `standard_cert_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计量标准证书号',
  `last_review_date` timestamp(0) NULL DEFAULT NULL COMMENT '最近复查日期',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '标准所在部门id',
  `dept_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准所在部门名称',
  `director_id` bigint NULL DEFAULT NULL COMMENT '负责人id',
  `director_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '负责人名字',
  `manage_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '管理状态(字典code)',
  `build_standard_report_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '建标报告(与标准建立单独存在，minio存储文件名)',
  `exam_table_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '考核表(minio存储文件名)',
  `standard_cert_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准证书(minio存储文件名)',
  `temperature` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '温度(℃)',
  `humidity` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '湿度(%)',
  `voltage` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '电压(V)',
  `power_frequency` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '电源频率',
  `surround_environment` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '周围环境',
  `electric_field` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '电磁场',
  `create_user_id` bigint NOT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人名字',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置台账-审批申请表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_info_approval
-- ----------------------------
INSERT INTO `biz_equipment_standard_info_approval` VALUES (1734058553745928194, 1, '6261d4aa-97d9-11ee-8910-5254008a5fee', '4', NULL, '00001', '多功能校准源标准装置', '2', '2', NULL, '[TJ]计机考字第0614号', '2021-08-13 00:00:00', 1707239571046658050, '海口电学电源组', 1733040101786677249, '宋政辉', '1', NULL, NULL, NULL, '20℃±2℃', '≤75%', '220V±22V', '(50±0.5)Hz', '无干扰', '\\', 1712422975782285313, '王呈倬', '2023-12-11 11:47:11', '2023-12-11 11:57:51');

-- ----------------------------
-- Table structure for biz_equipment_standard_staff_relation
-- ----------------------------
CREATE TABLE `biz_equipment_standard_staff_relation`  (
  `id` bigint NOT NULL,
  `staff_id` bigint NOT NULL COMMENT '人员表id',
  `standard_id` bigint NOT NULL COMMENT '标准装置表id',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置台账-计量人员关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_staff_relation
-- ----------------------------
INSERT INTO `biz_equipment_standard_staff_relation` VALUES (1734060489635328002, 1733040101786677249, 1734059890810351618, NULL);
INSERT INTO `biz_equipment_standard_staff_relation` VALUES (1734060489635328003, 1733034506572558337, 1734059890810351618, NULL);

-- ----------------------------
-- Table structure for biz_equipment_standard_status
-- ----------------------------
CREATE TABLE `biz_equipment_standard_status`  (
  `id` bigint NOT NULL,
  `apply_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请单编号',
  `apply_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请单名称',
  `approval_type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请类型(字典code)',
  `standard_id` bigint NULL DEFAULT NULL COMMENT '标准装置id',
  `standard_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准装置名字',
  `apply_illustrate` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请说明',
  `apply_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请附件(minio存储文件名)',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '申请人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请人',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '申请时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置状态维护' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_status
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_standard_system_file_relation
-- ----------------------------
CREATE TABLE `biz_equipment_standard_system_file_relation`  (
  `id` bigint NOT NULL,
  `file_id` bigint NOT NULL COMMENT '体系文件表id',
  `standard_id` bigint NOT NULL COMMENT '标准装置表id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置台账-体系文件中作业指导书关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_system_file_relation
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_standard_technical_target_log
-- ----------------------------
CREATE TABLE `biz_equipment_standard_technical_target_log`  (
  `id` bigint NOT NULL,
  `standard_id` bigint NULL DEFAULT NULL COMMENT '标准装置id',
  `measure_range` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '测量范围',
  `uncertainty` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '不确定度',
  `measure_item` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '检定或校准项目',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0),
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置台账-技术指标修改记录' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_technical_target_log
-- ----------------------------
INSERT INTO `biz_equipment_standard_technical_target_log` VALUES (1734058553888534530, NULL, '±(10mV~1000V)', 'Urel=5.2E-6~6.8E-5(k=2)', '直流电压', '2023-12-11 11:52:32', '2023-12-11 11:52:32');

-- ----------------------------
-- Table structure for biz_equipment_standard_technology_index_relation
-- ----------------------------
CREATE TABLE `biz_equipment_standard_technology_index_relation`  (
  `id` bigint NOT NULL,
  `measure_range` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '测量范围',
  `uncertainty` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '不确定度',
  `measure_item` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '检定或校准项目',
  `standard_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准代码',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置台账-技术指标关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_technology_index_relation
-- ----------------------------
INSERT INTO `biz_equipment_standard_technology_index_relation` VALUES (1734058553863368706, '±(10mV~1000V)', 'Urel=5.2E-6~6.8E-5(k=2)', '直流电压', '00001');

-- ----------------------------
-- Table structure for biz_equipment_standard_technology_relation
-- ----------------------------
CREATE TABLE `biz_equipment_standard_technology_relation`  (
  `id` bigint NOT NULL,
  `technology_file_id` bigint NULL DEFAULT NULL COMMENT '依据的技术文件id(技术文件中现行测试校准检定方法表id)',
  `technology_file_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '依据的技术文件编号',
  `technology_file_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '依据的技术文件名',
  `standard_id` bigint NULL DEFAULT NULL COMMENT '标注装置表id(冗余)',
  `standard_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准代码',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-标准装置台账-依据技术文件关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_standard_technology_relation
-- ----------------------------
INSERT INTO `biz_equipment_standard_technology_relation` VALUES (1734058553800454146, 1734052806593146881, 'JJF1587-2016', '数字多用表校准规范', NULL, '00001', NULL);

-- ----------------------------
-- Table structure for biz_equipment_status
-- ----------------------------
CREATE TABLE `biz_equipment_status`  (
  `id` bigint NOT NULL COMMENT '主键',
  `approval_no` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '登记表编号',
  `approval_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '登记表名称',
  `approval_type` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请类型(字典code)',
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '设备id',
  `perform_status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备性能状态',
  `approval_reason` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '封存原因/启封原因/延用原因/禁用原因/报废原因',
  `approval_address` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '封存地点/存放地点/报废地点',
  `approval_time` timestamp(0) NULL DEFAULT NULL COMMENT '封存时间/存放时间/报废时间',
  `equipment_status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '启封设备状态',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请状态',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '申请人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请人姓名',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-设备状态维护' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_status
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_status_log
-- ----------------------------
CREATE TABLE `biz_equipment_status_log`  (
  `id` bigint NOT NULL,
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '测量设备id',
  `status_type` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '状态变更类型',
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '开始日期',
  `end_time` datetime(0) NULL DEFAULT NULL COMMENT '结束日期',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '申请人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请人名字',
  `reason` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '原因',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-设备台账-状态变更记录' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_status_log
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_technical_target
-- ----------------------------
CREATE TABLE `biz_equipment_technical_target`  (
  `id` bigint NOT NULL,
  `equipment_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT '设备编号',
  `measure_param` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '检定参数名称',
  `measure_range` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '测量范围',
  `uncertainty` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '不确定度',
  `error_calculate_indicators` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '误差计算指标',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0),
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备台账-技术指标' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_technical_target
-- ----------------------------
INSERT INTO `biz_equipment_technical_target` VALUES (1734035568448303105, 'sbtz202312110001', '直流电压', '±(10mV~1000V)', '±(4.3×10E-6~5.9×10E-5)', '\\', '2023-12-11 10:21:12', '2023-12-11 10:21:12');
INSERT INTO `biz_equipment_technical_target` VALUES (1734035568452497410, 'sbtz202312110001', '交流电压', '10mV~1000V(10Hz~1MHz)', '±(6.2×10E-5~1.2×10E-2)', '\\', '2023-12-11 10:21:12', '2023-12-11 10:21:12');
INSERT INTO `biz_equipment_technical_target` VALUES (1734035568456691714, 'sbtz202312110001', '直流电流', '±(10μA~2.2A)', '±(4.5×10E-5~7.5×10E-4)', '\\', '2023-12-11 10:21:12', '2023-12-11 10:21:12');
INSERT INTO `biz_equipment_technical_target` VALUES (1734035568465080321, 'sbtz202312110001', '交流电流', '10mA~2.2A(10Hz~10kHz)', '±(2.8×10E-4~7.7×10E-3)', '\\', '2023-12-11 10:21:12', '2023-12-11 10:21:12');
INSERT INTO `biz_equipment_technical_target` VALUES (1734035568465080322, 'sbtz202312110001', '直流电阻', '1Ω~100MΩ', '±(1.0×10E-5~1.2×10E-4)', '\\', '2023-12-11 10:21:12', '2023-12-11 10:21:12');
INSERT INTO `biz_equipment_technical_target` VALUES (1734046328670973954, 'sbtz202312110002', '交流电压', '220V~1000V(40Hz~100kHz)', '±(9.4×10E-5~2.5×10E-3)', '\\', '2023-12-11 11:03:57', '2023-12-11 11:03:57');
INSERT INTO `biz_equipment_technical_target` VALUES (1734046328675168257, 'sbtz202312110002', '直流电流', '±(2.2A~10A)', '±(4.0×10E-4~5.8×10E-4)', '\\', '2023-12-11 11:03:57', '2023-12-11 11:03:57');
INSERT INTO `biz_equipment_technical_target` VALUES (1734046328675168258, 'sbtz202312110002', '交流电流', '2.2A~10A(40Hz~10kHz)', '±(4.8×10E-4~3.9×10E-3)', '\\', '2023-12-11 11:03:57', '2023-12-11 11:03:57');
INSERT INTO `biz_equipment_technical_target` VALUES (1734049653680304130, 'sbtz202312110003', '直流电压', '±(10mV~1000V)', '±(1.2×10E-5~1.2×10E-4)', '\\', '2023-12-11 11:17:10', '2023-12-11 11:17:10');
INSERT INTO `biz_equipment_technical_target` VALUES (1734049653684498433, 'sbtz202312110003', '交流电压', '10mV~1000V（10Hz~500kHz）', '±(1.7×10E-4~1.3×10E-2)', '\\', '2023-12-11 11:17:10', '2023-12-11 11:17:10');
INSERT INTO `biz_equipment_technical_target` VALUES (1734049653684498434, 'sbtz202312110003', '直流电流', '±(10μA~20A)', '±(1.1×10E-4~2.2×10E-3)	', '\\', '2023-12-11 11:17:10', '2023-12-11 11:17:10');
INSERT INTO `biz_equipment_technical_target` VALUES (1734049653684498435, 'sbtz202312110003', '交流电流', '10mA~20A(10Hz~10kHz)', '±(4.6×10E-4~4.0×10E-2)', '\\', '2023-12-11 11:17:10', '2023-12-11 11:17:10');
INSERT INTO `biz_equipment_technical_target` VALUES (1734049653684498436, 'sbtz202312110003', '直流电阻', '1Ω~100MΩ', '±(3.0×10E-5~1.0×10E-3)', '\\', '2023-12-11 11:17:10', '2023-12-11 11:17:10');

-- ----------------------------
-- Table structure for biz_equipment_test_monitor_equipment
-- ----------------------------
CREATE TABLE `biz_equipment_test_monitor_equipment`  (
  `id` bigint NOT NULL,
  `equipment_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备编号',
  `equipment_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  `model` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '型号规格',
  `check_cycle` int NULL DEFAULT NULL COMMENT '检定周期(月)',
  `manufacturer` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生产厂家',
  `product_country` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生产国家',
  `manufacture_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '出厂编号',
  `produce_date` date NULL DEFAULT NULL COMMENT '生产日期',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '负责人id(非后端生成)',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '负责人(非后端生成)',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `intro` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '简介',
  `norm` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '指标',
  `ability` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '功能',
  `compose` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '组成',
  `trace_company` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '溯源单位',
  `trace_date` date NULL DEFAULT NULL COMMENT '溯源日期',
  `measure_valid_date` date NULL DEFAULT NULL COMMENT '检定有效期',
  `meter_identify` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计量标识(字典code)，即溯源结果确认结论',
  `create_dept_id` bigint NULL DEFAULT NULL COMMENT '所属部门id(非后端生成)',
  `create_dept` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '所属部门(非后端生成)',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-监测测试管理-监测设备' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_test_monitor_equipment
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_test_monitor_radio_library
-- ----------------------------
CREATE TABLE `biz_equipment_test_monitor_radio_library`  (
  `id` bigint NOT NULL,
  `equipment_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备编号',
  `equipment_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  `model` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '型号规格',
  `manufacturer` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生产厂家',
  `product_country` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生产国家',
  `manufacture_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '出厂编号',
  `produce_date` date NULL DEFAULT NULL COMMENT '生产日期',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '负责人id(非后端生成)',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '负责人(非后端生成)',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `check_cycle` int NULL DEFAULT NULL COMMENT '检定周期(月)',
  `trace_company` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '溯源单位',
  `trace_date` date NULL DEFAULT NULL COMMENT '溯源日期',
  `measure_valid_date` date NULL DEFAULT NULL COMMENT '检定有效期',
  `meter_identify` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计量标识(字典code)，即溯源结果确认结论',
  `create_dept_id` bigint NULL DEFAULT NULL COMMENT '所属部门id(非后端生成)',
  `create_dept` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '所属部门(非后端生成)',
  `transmit_frequency_band` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '发射频段',
  `transmit_power` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '发射功率',
  `receive_frequency_band` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '接收频段',
  `receiver_sensitivity` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '接收灵敏度',
  `belong_system` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '所属系统',
  `spectral_characteristics` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '频谱特征',
  `location` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '地点',
  `lab_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '所属发射场(实验室代码字典code，H/X)',
  `equipment_picture` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '图片(minio存储文件名)',
  `work_time` timestamp(0) NULL DEFAULT NULL COMMENT '工作时间',
  `phone` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '联系方式',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-监测测试管理-无线电库' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_test_monitor_radio_library
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_test_monitor_task_monitor
-- ----------------------------
CREATE TABLE `biz_equipment_test_monitor_task_monitor`  (
  `id` bigint NOT NULL,
  `task_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '任务编号',
  `task_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '任务名称',
  `task_date` date NULL DEFAULT NULL COMMENT '任务时间',
  `monitor_staff` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '监测人员',
  `monitor_plan` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '监测方案',
  `monitor_report` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '监测报告',
  `exception_report` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '异常情况报告',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-监测测试管理-任务监测' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_test_monitor_task_monitor
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_trace_certificate
-- ----------------------------
CREATE TABLE `biz_equipment_trace_certificate`  (
  `id` bigint NOT NULL,
  `certificate_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '证书编号',
  `certificate_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '证书名称',
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '设备id',
  `equipment_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备编号',
  `equipment_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  `trace_company` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '溯源单位',
  `trace_date` timestamp(0) NULL DEFAULT NULL COMMENT '检定日期',
  `valid_date` timestamp(0) NULL DEFAULT NULL COMMENT '检定有效期',
  `meter_identify` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计量标识(字典code)',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `certificate_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '证书报告附件',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0),
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '溯源管理-溯源证书（历史证书存储的入口）' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_trace_certificate
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_trace_chain_change
-- ----------------------------
CREATE TABLE `biz_equipment_trace_chain_change`  (
  `id` bigint NOT NULL,
  `apply_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请单编号',
  `apply_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请单名称',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '申请人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '申请人',
  `standard_id` bigint NULL DEFAULT NULL COMMENT '标准装置id',
  `change_trace_company` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '拟变更溯源单位',
  `change_trace_illustrate` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '拟变更溯源单位说明',
  `change_reason` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '变更原因',
  `relation_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '量值溯源与传递等级关系图(minio存储文件名)',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '溯源管理-溯源链变更管理' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_trace_chain_change
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_trace_plan
-- ----------------------------
CREATE TABLE `biz_equipment_trace_plan`  (
  `id` bigint NOT NULL,
  `plan_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计划表编号',
  `plan_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计划表名称',
  `lab_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '实验室代码(字典code)',
  `group_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '组别代码(字典code)',
  `plan_year` int NULL DEFAULT NULL COMMENT '计划表年份',
  `plan_group` int NULL DEFAULT NULL COMMENT '计划表组别',
  `plan_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '溯源计划状态(字典code)',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-溯源管理-溯源计划' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_trace_plan
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_trace_plan_equipment
-- ----------------------------
CREATE TABLE `biz_equipment_trace_plan_equipment`  (
  `id` bigint NOT NULL,
  `plan_id` bigint NOT NULL COMMENT '溯源计划id',
  `equipment_id` bigint NOT NULL COMMENT '受检设备id',
  `trace_way` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '溯源方式(字典code)',
  `supplier_id` bigint NULL DEFAULT NULL COMMENT '溯源供方id',
  `supplier_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '溯源供方名字',
  `plan_trace_time` timestamp(0) NULL DEFAULT NULL COMMENT '计划溯源时间',
  `standard_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '所属标准编号',
  `standard_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '所属标准名称',
  `standard_situation` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标准情况(字典code)',
  `equipment_category` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '所属类别(字典code)',
  `plan_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备溯源计划状态(字典code)',
  `plan_status_change_time` timestamp(0) NULL DEFAULT NULL COMMENT '设备溯源计划状态变更时间',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-溯源管理-溯源计划-设备关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_trace_plan_equipment
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_trace_plan_equipment_technical_target
-- ----------------------------
CREATE TABLE `biz_equipment_trace_plan_equipment_technical_target`  (
  `id` bigint NOT NULL,
  `plan_id` bigint NULL DEFAULT NULL COMMENT '溯源计划id',
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '溯源计划设备id',
  `measure_param` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '检定参数名称',
  `measure_range` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '测量范围',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-溯源管理-溯源计划-设备技术指标关联表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_trace_plan_equipment_technical_target
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_trace_result_complete_situation
-- ----------------------------
CREATE TABLE `biz_equipment_trace_result_complete_situation`  (
  `id` bigint NOT NULL,
  `form_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '情况表编号',
  `form_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '情况表名称',
  `lab_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '实验室代码(字典code)',
  `group_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '组别代码(字典code)',
  `form_year` int NULL DEFAULT NULL COMMENT '情况表年份',
  `form_group` int NULL DEFAULT NULL COMMENT '情况表组别',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-溯源管理-溯源结果完成情况' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_trace_result_complete_situation
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_trace_result_complete_situation_relation
-- ----------------------------
CREATE TABLE `biz_equipment_trace_result_complete_situation_relation`  (
  `id` bigint NOT NULL,
  `situation_id` bigint NOT NULL COMMENT '溯源结果完成情况id',
  `confirm_id` bigint NOT NULL COMMENT '溯源结果确认id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-溯源管理-溯源结果完成情况关联溯源结果确认' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_trace_result_complete_situation_relation
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_trace_result_confirm
-- ----------------------------
CREATE TABLE `biz_equipment_trace_result_confirm`  (
  `id` bigint NOT NULL,
  `confirm_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '登记表编号',
  `confirm_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '登记表名称',
  `lab_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '实验室代码(字典code)',
  `group_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '组别代码(字典code)',
  `plan_year` int NULL DEFAULT NULL COMMENT '计划表年份',
  `plan_group` int NULL DEFAULT NULL COMMENT '计划表组别',
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '测量设备id',
  `measure_category` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '证书类型，即检校类别(字典code)',
  `label_consistent` tinyint(1) NULL DEFAULT NULL COMMENT '是否与粘贴标识一致',
  `certificate_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '证书编号',
  `trace_company` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '溯源机构名称',
  `supplier_consistent` tinyint(1) NULL DEFAULT NULL COMMENT '是否与合格供方名录一致',
  `diagram_consistent` tinyint(1) NULL DEFAULT NULL COMMENT '是否与溯源等级关系图一致',
  `customer_match` tinyint(1) NULL DEFAULT NULL COMMENT '委托方名称是否与实际相符',
  `customer_address_match` tinyint(1) NULL DEFAULT NULL COMMENT '委托方地址是否与实际相符',
  `equipment_correct` tinyint(1) NULL DEFAULT NULL COMMENT '被检件名称是否正确',
  `equipment_model_correct` tinyint(1) NULL DEFAULT NULL COMMENT '被检件型号是否正确',
  `equipment_no_correct` tinyint(1) NULL DEFAULT NULL COMMENT '被检件编号是否正确',
  `equipment_manufacturer_correct` tinyint(1) NULL DEFAULT NULL COMMENT '被检件生产厂家是否正确',
  `on_valid` tinyint(1) NULL DEFAULT NULL COMMENT '测量设备开展检定工作时是否在有效期内',
  `deny_info` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '否则列出',
  `file_correct` tinyint(1) NULL DEFAULT NULL COMMENT '依据文件是否正确',
  `file_no_one` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '依据文件编号1(最多4个)',
  `file_no_name_one` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '依据文件名称1',
  `file_no_two` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '依据文件编号2',
  `file_no_name_two` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '依据文件名称2',
  `file_no_three` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '依据文件编号3',
  `file_no_name_three` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '依据文件名称3',
  `file_no_four` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '依据文件编号4',
  `file_no_name_four` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '依据文件名称4',
  `conclusion` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '结论',
  `result_correct` tinyint(1) NULL DEFAULT NULL COMMENT '结论是否与数据结果一致',
  `trace_date` timestamp(0) NULL DEFAULT NULL COMMENT '测试、校准或检定日期',
  `date_correct` tinyint(1) NULL DEFAULT NULL COMMENT '日期是否与粘贴标识一致',
  `valid_date` timestamp(0) NULL DEFAULT NULL COMMENT '有效期',
  `limit_scope` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '限用范围',
  `valid_date_correct` tinyint(1) NULL DEFAULT NULL COMMENT '有效期是否正确',
  `sign_complete` tinyint(1) NULL DEFAULT NULL COMMENT '签名信息是否齐全',
  `seal_complete` tinyint(1) NULL DEFAULT NULL COMMENT '是否盖有有效印章',
  `meter_identify` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '结果确认结论(计量标识字典code)',
  `certificate_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检定证书(minio存储文件名)',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-溯源管理-溯源结果确认' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_trace_result_confirm
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_trace_result_confirm_quantity
-- ----------------------------
CREATE TABLE `biz_equipment_trace_result_confirm_quantity`  (
  `id` bigint NOT NULL,
  `result_confirm_id` bigint NULL DEFAULT NULL COMMENT '溯源结果确认表id',
  `quantity_target` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '量传指标/非量传指标(1/2)',
  `item` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检定项目',
  `measure_range` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '测量范围',
  `use_require` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '使用要求',
  `meet_require` tinyint(1) NULL DEFAULT NULL COMMENT '测试、校准或检定数据是否满足使用要求',
  `reason` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '不满足，请写明范围',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备与装置-溯源管理-溯源结果确认关联量传指标/非量传指标' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_trace_result_confirm_quantity
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_transport_packing
-- ----------------------------
CREATE TABLE `biz_equipment_transport_packing`  (
  `id` bigint NOT NULL,
  `form_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '\r\n装箱单编号',
  `form_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '装箱单名称',
  `lab_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '实验室代码(字典code)',
  `group_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '组别代码(字典code)',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人',
  `packing_time` timestamp(0) NULL DEFAULT NULL COMMENT '装箱时间',
  `transport_type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '运输类型(字典code)',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备履历管理-设备运输装箱管理' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_transport_packing
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_transport_packing_thing
-- ----------------------------
CREATE TABLE `biz_equipment_transport_packing_thing`  (
  `id` bigint NOT NULL,
  `packing_id` bigint NULL DEFAULT NULL COMMENT '\r\n装箱单id',
  `package_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '包装箱号',
  `package_user` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '装箱人',
  `trace_flag` tinyint(1) NULL DEFAULT NULL COMMENT '是否是设备溯源任务',
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '设备id(外部设备该字段为空)',
  `equipment_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备编号',
  `equipment_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  `model` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '型号规格',
  `quantity` int NULL DEFAULT NULL COMMENT '数量',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备履历管理-设备运输装箱管理-装箱内容' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_transport_packing_thing
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_transport_process
-- ----------------------------
CREATE TABLE `biz_equipment_transport_process`  (
  `id` bigint NOT NULL,
  `form_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '\r\n检查单编号',
  `form_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检查单名称',
  `lab_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '实验室代码(字典code)',
  `group_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '组别代码(字典code)',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人',
  `quantity` int NULL DEFAULT NULL COMMENT '运输总数量',
  `director_id` bigint NULL DEFAULT NULL COMMENT '运输负责人id',
  `director` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '运输负责人名字',
  `transport_reason` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '运输原因',
  `transport_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '附件(minio存储文件名)',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备履历管理-设备运输过程管理' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_transport_process
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_transport_process_check
-- ----------------------------
CREATE TABLE `biz_equipment_transport_process_check`  (
  `id` bigint NOT NULL,
  `transport_process_id` bigint NULL DEFAULT NULL COMMENT '\r\n运输过程表id',
  `check_moment` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检查时机',
  `check_quantity` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '包装箱数量检查',
  `check_appearance` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '包装箱外观检查',
  `check_time` timestamp(0) NULL DEFAULT NULL COMMENT '检查时间',
  `check_user_id` bigint NULL DEFAULT NULL COMMENT '检查人id',
  `check_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检查人',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备履历管理-设备运输过程管理-检查内容' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_transport_process_check
-- ----------------------------

-- ----------------------------
-- Table structure for biz_equipment_unpack_accept
-- ----------------------------
CREATE TABLE `biz_equipment_unpack_accept`  (
  `id` bigint NOT NULL,
  `log_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '记录表编号',
  `log_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '记录表名称',
  `lab_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '实验室代码(字典code)',
  `group_code` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '组别代码(字典code)',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '验收人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '验收人',
  `receive_time` timestamp(0) NULL DEFAULT NULL COMMENT '验收时间',
  `equipment_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  `model` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '规格型号',
  `manufacturer` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生产厂家',
  `manufacture_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '出厂编号',
  `arrival_time` timestamp(0) NULL DEFAULT NULL COMMENT '到货时间',
  `price` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '价值',
  `submitter` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '交验者',
  `submit_date` timestamp(0) NULL DEFAULT NULL COMMENT '交验日期',
  `main_performance_index` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '主要性能指标',
  `accept_suggest` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '验收意见',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备履历管理-开箱验收管理' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_unpack_accept
-- ----------------------------
INSERT INTO `biz_equipment_unpack_accept` VALUES (1734027642925019137, '218-H-01-DD2023001', '开箱验收记录表', 'H', 'DD', 1712422975782285313, '王呈倬', '2023-12-11 09:42:34', '多功能校准器', '5720A', 'FLUKE', '2077205', '2012-01-01 00:00:00', '40', '王呈倬', '2012-12-02 00:00:00', '直流电压、直流电流、交流电压、交流电流、直流电阻', '合格', '4', '8d9396f3-97c7-11ee-8910-5254008a5fee', '2023-12-11 09:49:42', '2023-12-11 10:02:00');
INSERT INTO `biz_equipment_unpack_accept` VALUES (1734028803040145409, '218-H-01-DD2023002', '开箱验收记录表', 'H', 'DD', 1712422975782285313, '王呈倬', '2023-12-11 09:52:56', '放大器', '5725A', 'FLUKE', '2087022', '2012-12-01 00:00:00', '20', '\\', '2012-12-02 00:00:00', '交流电压、直流电流、交流电流', '合格', '4', '3254ddef-97c8-11ee-8910-5254008a5fee', '2023-12-11 09:54:19', '2023-12-11 10:01:58');
INSERT INTO `biz_equipment_unpack_accept` VALUES (1734029511894298625, '218-H-01-DD2023003', '开箱验收记录表', 'H', 'DD', 1712422975782285313, '王呈倬', '2012-12-01 09:55:06', '多功能校准器', '5522A', 'FLUKE', '2071903', '2012-12-01 00:00:00', '30', '\\', '2012-12-02 00:00:00', '直流电压、直流电流、交流电压、交流电流、直流电阻', '合格', '4', '971b0df9-97c8-11ee-8910-5254008a5fee', '2023-12-11 09:57:08', '2023-12-11 10:01:56');
INSERT INTO `biz_equipment_unpack_accept` VALUES (1734030000249696258, '218-H-01-DD2023004', '开箱验收记录表', 'H', 'DD', 1712422975782285313, '王呈倬', '2012-12-01 09:57:58', '数字多用表', '8508A', 'FLUKE', '2071903', '2012-12-01 00:00:00', '20', '\\', '2012-12-01 00:00:00', '直流电压、直流电流、交流电压、交流电流、直流电阻', '合格', '4', 'dc6eb483-97c8-11ee-8910-5254008a5fee', '2023-12-11 09:59:04', '2023-12-11 10:01:54');

-- ----------------------------
-- Table structure for biz_equipment_unpack_accept_attachment
-- ----------------------------
CREATE TABLE `biz_equipment_unpack_accept_attachment`  (
  `id` bigint NOT NULL,
  `log_id` bigint NOT NULL COMMENT '开箱验收id',
  `name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '附件名称',
  `information` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '附件信息',
  `location` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '附件位置',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '设备履历管理-开箱验收管理-主附件信息' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_equipment_unpack_accept_attachment
-- ----------------------------
INSERT INTO `biz_equipment_unpack_accept_attachment` VALUES (1734027643000516609, 1734027642925019137, '\\', '\\', '\\');
INSERT INTO `biz_equipment_unpack_accept_attachment` VALUES (1734028803052728322, 1734028803040145409, '\\', '\\', '\\');
INSERT INTO `biz_equipment_unpack_accept_attachment` VALUES (1734029511902687234, 1734029511894298625, '\\', '\\', '\\');
INSERT INTO `biz_equipment_unpack_accept_attachment` VALUES (1734030000266473474, 1734030000249696258, '\\', '\\', '\\');

-- ----------------------------
-- Table structure for biz_lab_rel_dept
-- ----------------------------
CREATE TABLE `biz_lab_rel_dept`  (
  `id` bigint NULL DEFAULT NULL COMMENT '主键',
  `biz_lab_code` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '部门字典值',
  `group_no` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '部门分类值',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '组织机构ID'
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '业务编码关联组织机构' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_lab_rel_dept
-- ----------------------------

-- ----------------------------
-- Table structure for biz_module_field_config
-- ----------------------------
CREATE TABLE `biz_module_field_config`  (
  `id` bigint NOT NULL,
  `table_name` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '表名称',
  `relation_json` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '关联的表信息',
  `remark` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注描述',
  `image_json` varchar(1000) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '照片字段对应的配置{\"filedName:\"\",\"docName\":\"\"}，filedName字段属性名，docName模板关键字',
  `dict_json` varchar(500) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '{\"fieldName\":\"\",\"code\":\"\"}',
  `flow_field` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT 'processId',
  `merge_col_names` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '合并列表头名称',
  `doc_use` tinyint NULL DEFAULT 1,
  `object_string` varchar(200) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0),
  `update_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_module_field_config
-- ----------------------------

-- ----------------------------
-- Table structure for biz_module_template_print_config
-- ----------------------------
CREATE TABLE `biz_module_template_print_config`  (
  `id` bigint(20) UNSIGNED ZEROFILL NOT NULL,
  `module_file_no` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '业务编号，仅标记',
  `module_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '模块类型（字典）',
  `module_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '模块名称',
  `descn` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '模板描述',
  `signs` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '电子签章JSON[{signId:\"123\",\"keyword\":\"公章\"}]',
  `template_file_id` bigint NULL DEFAULT NULL COMMENT '模板文件id（模板表）',
  `module_field_id` bigint NULL DEFAULT NULL COMMENT '当前模块字段id（模块属性配置表id，无图片配置不传）',
  `relate_module_field_ids` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '关联表信息id，逗号分割，仅一个图片配置时不传',
  `update_user` bigint NULL DEFAULT NULL COMMENT '最后更新人id',
  `create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0),
  `update_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_module_template_print_config
-- ----------------------------

-- ----------------------------
-- Table structure for biz_module_type_config
-- ----------------------------
CREATE TABLE `biz_module_type_config`  (
  `id` bigint NOT NULL,
  `module_type_no` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '模块类型编号',
  `module_name` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '模块名称',
  `module_type_name` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL,
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_module_type_config
-- ----------------------------

-- ----------------------------
-- Table structure for biz_resource_customer_info
-- ----------------------------
CREATE TABLE `biz_resource_customer_info`  (
  `id` bigint NOT NULL,
  `customer_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '委托方编号',
  `customer_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '委托方名称(下拉选择一个受检单位组织)',
  `customer_location` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '委托方所属地(字典code，bizLabCode字典)',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '受检单位组织id',
  `contacts` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '联系人',
  `mobile` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '座机电话',
  `phone` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '手机号码',
  `postal_code` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '邮编',
  `address` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '地址',
  `default_lab` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '默认实验室',
  `file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '文件(minio存储文件名)',
  `approval_status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建用户id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建用户名',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '资源管理-委托方管理-委托方名录' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_resource_customer_info
-- ----------------------------
INSERT INTO `biz_resource_customer_info` VALUES (1724412616389165058, 'wtfml202311140006', '西昌计量站', 'X', 1712003890411855873, '22', '010-21432542', NULL, NULL, '4234', NULL, NULL, '4', '261d84e6-82ee-11ee-8305-000c29beb74a', NULL, 1722939695154089985, '计量员001', '2023-11-14 21:03:00', '2023-11-15 09:00:40');

-- ----------------------------
-- Table structure for biz_resource_staff_info
-- ----------------------------
CREATE TABLE `biz_resource_staff_info`  (
  `id` bigint NOT NULL,
  `account` varchar(45) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '登录账号',
  `staff_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '人员编号',
  `staff_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '姓名',
  `picture_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '照片(minio存储文件名)',
  `id_card` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '身份证',
  `birthday` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生日',
  `native_place` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '籍贯',
  `education` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '学历(字典code)',
  `record_date` date NULL DEFAULT NULL COMMENT '建档时间',
  `officer_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '军官证号',
  `gender` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '性别(字典code)',
  `graduation_date` date NULL DEFAULT NULL COMMENT '毕业时间',
  `nation` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '民族',
  `degree` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '学位',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '部门id',
  `dept_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '部门名字',
  `station` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '岗位',
  `major` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计量专业',
  `certificate_number` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT '' COMMENT '证号(冗余，列表查询检定员表)',
  `engage_date` date NULL DEFAULT NULL COMMENT '从事时间',
  `working_age` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '干龄',
  `title_initial_date` date NULL DEFAULT NULL COMMENT '职称初评',
  `title_recently_date` date NULL DEFAULT NULL COMMENT '职称最近续评',
  `academic_start_date` date NULL DEFAULT NULL COMMENT '入学时间',
  `party_date` date NULL DEFAULT NULL COMMENT '党团时间',
  `enlistment_date` date NULL DEFAULT NULL COMMENT '入伍时间',
  `staff_type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '人员类别(字典code)',
  `rank_level` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '军衔等级',
  `rank_level_date` date NULL DEFAULT NULL COMMENT '军衔等级时间',
  `job_level` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '职务层级',
  `job_level_date` date NULL DEFAULT NULL COMMENT '职务层级时间',
  `treatment_level` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '待遇级别',
  `treatment_level_date` date NULL DEFAULT NULL COMMENT '待遇级别时间',
  `working_experience` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '工作简历',
  `rank_experience` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '军衔/时间',
  `title_experience` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '职称/时间',
  `rewards_punishments` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '奖惩情况',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `education_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '教育科研扫描件(minio存储文件名)',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '资源管理-人员管理基础信息' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of biz_resource_staff_info
-- ----------------------------
INSERT INTO `biz_resource_staff_info` VALUES (1722940479610572802, 'jlyzz', 'jly9003', '计量员组长', NULL, '220202199908089432', '1999-08-08', '北京', '5', NULL, NULL, '1', '2023-11-09', NULL, NULL, 1712003890411855873, '西昌计量站', NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2023-11-10 19:33:15', '2023-11-10 19:33:15');
INSERT INTO `biz_resource_staff_info` VALUES (1722940648225787905, 'jly001', 'jly9005', '计量员001', NULL, '220109199908080643', '1999-08-08', '北京', '5', NULL, NULL, '2', NULL, NULL, NULL, 1712003890411855873, '西昌计量站', NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2023-11-10 19:33:55', '2023-11-10 19:33:55');
INSERT INTO `biz_resource_staff_info` VALUES (1722940875112468481, 'jly002', 'jly9008', '计量员002', NULL, '220208199909097642', '1999-09-09', '北京', '6', NULL, NULL, '2', NULL, NULL, NULL, 1712003890411855873, '西昌计量站', NULL, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2023-11-10 19:34:50', '2023-11-10 19:34:50');

-- ----------------------------
-- Table structure for env_device_info
-- ----------------------------
CREATE TABLE `env_device_info`  (
  `id` bigint(20) UNSIGNED ZEROFILL NOT NULL,
  `device_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备编号',
  `device_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  `device_type` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备类型(字典code)',
  `device_model` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备型号',
  `install_date` timestamp(0) NULL DEFAULT NULL COMMENT '安装日期',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '负责部门id',
  `user_id` bigint NULL DEFAULT NULL COMMENT '负责人id',
  `device_status` tinyint(1) NULL DEFAULT 1 COMMENT '设备状态(1在线0离线)',
  `location_id` bigint NULL DEFAULT NULL COMMENT '安装地点id',
  `detail_location` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '详细位置',
  `technical_param` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '技术参数',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '实验室环境监控系统-设备表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of env_device_info
-- ----------------------------
INSERT INTO `env_device_info` VALUES (01666339558290673666, 'device002', '氧气设备感知测试仪', '3', 'device002', '2023-05-15 08:00:00', 1691789739067269121, 2, 0, 1, 'device002', 'device002', 'device002', '2023-06-07 15:01:25', '2023-12-14 18:16:01');
INSERT INTO `env_device_info` VALUES (01666630683215855618, 'device004', '烟雾报警器测试仪', '4', 'device004', '2023-05-15 08:00:00', 1691789739067269121, 2, 0, 2, 'device004', 'device004', 'device004', '2023-06-08 10:18:14', '2023-12-14 18:15:56');
INSERT INTO `env_device_info` VALUES (01666632805672091649, 'wsdsb0001', '温湿度测量仪1', '1', 'device0001', '2023-05-15 08:00:00', 1691789739067269121, 2, 1, 1735200622304616450, '温湿度计量工作间(内)', 'device005', 'device005', '2023-06-08 10:26:40', '2023-12-27 11:36:25');
INSERT INTO `env_device_info` VALUES (01726527564439453697, 'no001', '智能电量仪感知设备', '2', 'model001', '2023-11-08 00:00:00', 1691789739067269121, 3, 0, 1726518190128070657, '3楼', '1~3455', '设备001外观良好、功能正常', '2023-11-20 17:07:03', '2023-12-14 18:14:50');
INSERT INTO `env_device_info` VALUES (01729358851517276162, '412823659', '设备名称', '1', 'BJ-2006', '2023-11-28 00:00:00', 1691789739067269121, 1634107227953819649, 0, NULL, '1223', '1', '设备', '2023-11-28 12:37:33', '2023-12-14 18:13:30');
INSERT INTO `env_device_info` VALUES (01735130146534383618, 'wsdsb0002', '温湿度测量仪2', '1', 'BJTU-001', '2023-12-14 00:00:00', 1691998769869987841, 1614816603955044353, 1, 1737745329127723010, '电学计量工作间', NULL, NULL, '2023-12-14 10:50:38', '2023-12-27 11:36:27');
INSERT INTO `env_device_info` VALUES (01735207513831301121, 'wsdsb0003', '温湿度测量仪3', '1', 'WSDCLY-003', '2023-12-14 00:00:00', 1691998769869987841, 1614816603955044353, 1, 1737745329127723010, '电学计量工作间', NULL, NULL, '2023-12-14 15:58:04', '2023-12-27 11:36:28');
INSERT INTO `env_device_info` VALUES (01735207792903512065, 'wsdsb0004', '温湿度测量仪4', '1', 'WSDCLY-004', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1735201789088686081, '仪器收发间', NULL, NULL, '2023-12-14 15:59:11', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735208043051802625, 'wsdsb0005', '温湿度测量仪5', '1', 'WSDCLY-005', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1737745536812879874, '压力计量工作间', NULL, NULL, '2023-12-14 16:00:10', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735208285373521921, 'wsdsb0006', '温湿度测量仪6', '1', 'WSDCLY-006', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1735201974682443777, '质量计量工作间', NULL, NULL, '2023-12-14 16:01:08', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735208504597209089, 'wsdsb0007', '温湿度测量仪7', '1', 'WSDCLY-006', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1735202173693779970, ' 时间频率计量工作间', NULL, NULL, '2023-12-14 16:02:00', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735208833929764866, 'wsdsb0008', '温湿度测量仪8', '1', 'WSDCLY-008', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1735202412722970625, '电磁屏蔽间', NULL, NULL, '2023-12-14 16:03:19', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735209119356346370, 'wsdsb0009', '温湿度测量仪9', '1', 'WSDCLY-009', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1735202543048384514, '专项测试工作间', NULL, NULL, '2023-12-14 16:04:27', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735209395333160961, 'wsdsb0010', '温湿度测量仪10', '1', 'WSDCLY-010', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1735202607099600898, '微波信号计量工作间', NULL, NULL, '2023-12-14 16:05:33', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735209641241010178, 'wsdsb0011', '温湿度测量仪11', '1', 'WSDCLY-011', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1735203131056250881, '脉冲示波器计量工作间', NULL, NULL, '2023-12-14 16:06:31', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735210098965405697, 'ywbjq001', '烟雾报警器1', '4', 'YWBJQ-001', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1737745139671011330, '温湿度计量工作间(内)\n', NULL, NULL, '2023-12-14 16:08:20', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735210637983801345, 'ywbjq002', '烟雾报警器2', '4', 'YWBJQ-0002', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1735203344110116865, '危险品仓库', NULL, NULL, '2023-12-14 16:10:29', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735211269721481217, 'yqcgq001', '氧气传感器', '3', 'YQCGQ-001', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1737745536812879874, '压力计量工作间', NULL, NULL, '2023-12-14 16:13:00', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735211554791546881, 'dxzndb001', '单相智能电表1', '2', 'DXZNDB-001', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 1, 1735203131056250881, '脉冲示波器计量工作间', NULL, NULL, '2023-12-14 16:14:08', '2023-12-27 11:39:33');
INSERT INTO `env_device_info` VALUES (01735211850137657346, 'dxzndb002', '单相智能电表2', '2', 'DXZNDB-002', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 1, 1737745139671011330, '温湿度计量工作间(内)\n', NULL, NULL, '2023-12-14 16:15:18', '2023-12-27 11:39:35');
INSERT INTO `env_device_info` VALUES (01735212261322055681, 'dxzndb003', '单相智能电表3', '2', 'DXZNDB-003', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 1, 1737745139671011330, '温湿度计量工作间(内)\n', NULL, NULL, '2023-12-14 16:16:56', '2023-12-27 11:39:36');
INSERT INTO `env_device_info` VALUES (01735212557238591490, 'dxzndb004', '单相智能电表4', '2', 'DXZNDB-004', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 1, 1735200480662970370, '温湿度计量工作间(外)', NULL, NULL, '2023-12-14 16:18:07', '2023-12-27 11:39:37');
INSERT INTO `env_device_info` VALUES (01735212749589372929, 'dxzndb005', '单相智能电表5', '2', 'DXZNDB-005', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1735200480662970370, '温湿度计量工作间(外)', NULL, NULL, '2023-12-14 16:18:52', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735213071762251778, 'dxzndb006', '单相智能电表6', '2', 'DXZNDB-006', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1735202607099600898, '微波信号计量工作间', NULL, NULL, '2023-12-14 16:20:09', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735213279892004865, 'dxzndb007', '单相智能电表7', '2', 'DXZNDB-007', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1735202607099600898, '微波信号计量工作间', NULL, NULL, '2023-12-14 16:20:59', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735213494892027905, 'dxzndb008', '单相智能电表8', '2', 'DXZNDB-008', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1735202543048384514, '专项测试工作间', NULL, NULL, '2023-12-14 16:21:50', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735213732478377985, 'dxzndb009', '单相智能电表9', '2', 'DXZNDB-009', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1737745329127723010, '电学计量工作间', NULL, NULL, '2023-12-14 16:22:47', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735213954805850114, 'dxzndb010', '单相智能电表10', '2', 'DXZNDB-010', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1737745329127723010, '电学计量工作间', NULL, NULL, '2023-12-14 16:23:40', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735214166924386306, 'dxzndb011', '单相智能电表11', '2', 'DXZNDB-011', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1737745536812879874, '压力计量工作间', NULL, NULL, '2023-12-14 16:24:30', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735214432688070657, 'dxzndb012', '单相智能电表12', '2', 'DXZNDB-012', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1737745536812879874, '压力计量工作间', NULL, NULL, '2023-12-14 16:25:34', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735214624451649537, 'dxzndb013', '单相智能电表13', '2', 'DXZNDB-013', '2023-12-14 00:00:00', 1691998529305681921, 1614816603955044353, 0, 1737745536812879874, '压力计量工作间', NULL, NULL, '2023-12-14 16:26:19', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01735214814906605569, 'dxzndb014', '单相智能电表14', '2', 'DXZNDB-014', '2023-12-14 00:00:00', 1691998769869987841, 1614816603955044353, 0, 1737745536812879874, '电磁屏蔽间', NULL, NULL, '2023-12-14 16:27:05', '2023-12-23 00:00:00');
INSERT INTO `env_device_info` VALUES (01740640185261015041, '海口设备', '1', '1', '1', '2023-12-29 00:00:00', 1712041359631048705, 1, 1, 1740639976967684098, '1', NULL, NULL, '2023-12-29 15:45:34', '2023-12-29 15:45:34');

-- ----------------------------
-- Table structure for env_location_info
-- ----------------------------
CREATE TABLE `env_location_info`  (
  `id` bigint NOT NULL,
  `location_no` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '地点编号',
  `location_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '地点名称',
  `location_position` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '地点位置',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  `location_lab` varchar(60) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '实验室',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '实验室环境监控系统-地点表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of env_location_info
-- ----------------------------
INSERT INTO `env_location_info` VALUES (1735125661984546817, 'xc001', '西昌温湿度实验室', '1楼温湿度实验室', 1634071724399390721, '柴壮', '2023-12-14 10:32:49', '2023-12-14 15:53:26', NULL);
INSERT INTO `env_location_info` VALUES (1735200480662970370, 'xcdd0003', '温湿度计量工作间(外)', '温湿度计量工作间(外)', 1634071724399390721, '柴壮', '2023-12-14 15:30:07', '2023-12-21 16:02:03', '西昌实验室');
INSERT INTO `env_location_info` VALUES (1735201789088686081, 'xcdd0004', '西昌仪器收发间', '仪器收发间', 4, '杜婷婷', '2023-12-14 15:35:19', '2023-12-21 14:32:00', '西昌实验室');
INSERT INTO `env_location_info` VALUES (1735201974682443777, 'xcdd0006', '西昌质量计量工作间', '质量计量工作间', 4, '杜婷婷', '2023-12-14 15:36:03', '2023-12-21 14:31:36', '西昌实验室');
INSERT INTO `env_location_info` VALUES (1735202173693779970, 'xcdd0007', '西昌时间频率计量工作间', '时间频率计量工作间', 4, '杜婷婷', '2023-12-14 15:36:51', '2023-12-21 14:27:35', '西昌实验室');
INSERT INTO `env_location_info` VALUES (1735202412722970625, 'xcdd0008', '西昌电磁屏蔽间', '电磁屏蔽间', 4, '杜婷婷', '2023-12-14 15:37:48', '2023-12-21 14:31:27', '西昌实验室');
INSERT INTO `env_location_info` VALUES (1735202543048384514, 'xcdd0009', '西昌专项测试工作间', '专项测试工作间', 4, '杜婷婷', '2023-12-14 15:38:19', '2023-12-21 14:31:16', '西昌实验室');
INSERT INTO `env_location_info` VALUES (1735202607099600898, 'xcdd0010', '西昌微波信号计量工作间', '微波信号计量工作间', 4, '杜婷婷', '2023-12-14 15:38:34', '2023-12-21 14:30:57', '西昌实验室');
INSERT INTO `env_location_info` VALUES (1735203131056250881, 'xcdd0011', '西昌脉冲示波器计量工作间', '脉冲示波器计量工作间', 4, '杜婷婷', '2023-12-14 15:40:39', '2023-12-21 14:30:34', '西昌实验室');
INSERT INTO `env_location_info` VALUES (1735203344110116865, 'xcdd0012', '危险品仓库', '危险品仓库', 1634071724399390721, '柴壮', '2023-12-14 15:41:30', '2023-12-21 15:01:31', '西昌实验室');
INSERT INTO `env_location_info` VALUES (1737745139671011330, 'xcdd0001', '温湿度计量工作间(内)', '温湿度计量工作间(内)\n', 1634071724399390721, '柴壮', '2023-12-21 16:01:41', '2023-12-21 16:01:41', '西昌实验室');
INSERT INTO `env_location_info` VALUES (1737745329127723010, 'xcdd0002', '电学计量工作间', '电学计量工作间', 1634071724399390721, '柴壮', '2023-12-21 16:02:26', '2023-12-21 16:02:26', '西昌实验室');
INSERT INTO `env_location_info` VALUES (1737745536812879874, 'xcdd0005', '压力计量工作间', '压力计量工作间', 1634071724399390721, '柴壮', '2023-12-21 16:03:16', '2023-12-21 16:03:16', '西昌实验室');
INSERT INTO `env_location_info` VALUES (1740639976967684098, 'hk111', '海口实验室', '海口实验室', 1, '超级管理员', '2023-12-29 15:44:44', '2023-12-29 15:44:44', '海口实验室');

-- ----------------------------
-- Table structure for env_temperature_humidity_data
-- ----------------------------
CREATE TABLE `env_temperature_humidity_data`  (
  `id` bigint NOT NULL,
  `device_id` bigint NOT NULL COMMENT '设备表id',
  `temperature` double(11, 4) NULL DEFAULT NULL COMMENT '温度(℃)',
  `humidity` double(11, 4) NULL DEFAULT NULL COMMENT '湿度(%)',
  `upload_time` timestamp(0) NULL DEFAULT NULL COMMENT '上传时间',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '实验室环境监控系统-温湿度传感器数据表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of env_temperature_humidity_data
-- ----------------------------
INSERT INTO `env_temperature_humidity_data` VALUES (1, 1735208833929764866, 36.0000, 15.0000, '2023-06-08 13:27:24', '2023-06-08 13:27:24', '2023-12-18 11:37:29');
INSERT INTO `env_temperature_humidity_data` VALUES (1677210074325053441, 1666632805672091649, 21.0000, 61.0000, NULL, '2023-07-07 14:56:57', '2023-07-07 14:56:57');
INSERT INTO `env_temperature_humidity_data` VALUES (1677211720220205058, 1735200480662970370, 21.0000, 61.0000, NULL, '2023-07-07 15:03:29', '2023-12-18 11:35:45');
INSERT INTO `env_temperature_humidity_data` VALUES (1677212197943042050, 1666632805672091649, 21.0000, 61.0000, NULL, '2023-07-07 15:05:23', '2023-07-07 15:05:23');
INSERT INTO `env_temperature_humidity_data` VALUES (1677212391258513409, 1666632805672091649, 21.0000, 61.0000, NULL, '2023-07-07 15:06:09', '2023-07-07 15:06:09');
INSERT INTO `env_temperature_humidity_data` VALUES (1677212584922112002, 1666632805672091649, 21.0000, 61.0000, NULL, '2023-07-07 15:06:55', '2023-07-07 15:06:55');
INSERT INTO `env_temperature_humidity_data` VALUES (1677212829940768769, 1666632805672091649, 21.0000, 61.0000, NULL, '2023-07-07 15:07:54', '2023-07-07 15:07:54');
INSERT INTO `env_temperature_humidity_data` VALUES (1737676015395459073, 1666632805672091649, 10.0000, 20.0000, '2023-12-21 11:27:00', '2023-12-21 11:27:01', '2023-12-21 11:27:01');
INSERT INTO `env_temperature_humidity_data` VALUES (1737713329872314370, 1735130146534383618, 20.0000, 50.0000, '2023-12-21 13:55:17', '2023-12-21 13:55:17', '2023-12-21 13:55:17');
INSERT INTO `env_temperature_humidity_data` VALUES (1737713348310474754, 1735207513831301121, 20.0000, 50.0000, '2023-12-21 13:55:21', '2023-12-21 13:55:22', '2023-12-21 13:55:22');
INSERT INTO `env_temperature_humidity_data` VALUES (1737713365276434433, 1735207792903512065, 20.0000, 50.0000, '2023-12-21 13:55:25', '2023-12-21 13:55:26', '2023-12-21 13:55:26');
INSERT INTO `env_temperature_humidity_data` VALUES (1737713377834180610, 1735208043051802625, 20.0000, 50.0000, '2023-12-21 13:55:28', '2023-12-21 13:55:29', '2023-12-21 13:55:29');
INSERT INTO `env_temperature_humidity_data` VALUES (1737713392136757250, 1735208285373521921, 20.0000, 50.0000, '2023-12-21 13:55:31', '2023-12-21 13:55:32', '2023-12-21 13:55:32');
INSERT INTO `env_temperature_humidity_data` VALUES (1737713403910168577, 1735208504597209089, 20.0000, 50.0000, '2023-12-21 13:55:35', '2023-12-21 13:55:35', '2023-12-21 13:55:35');
INSERT INTO `env_temperature_humidity_data` VALUES (1737713416123981825, 1735208833929764866, 20.0000, 50.0000, '2023-12-21 13:55:37', '2023-12-21 13:55:38', '2023-12-21 13:55:38');
INSERT INTO `env_temperature_humidity_data` VALUES (1737713431647100930, 1735209119356346370, 20.0000, 50.0000, '2023-12-21 13:55:41', '2023-12-21 13:55:41', '2023-12-21 13:55:41');
INSERT INTO `env_temperature_humidity_data` VALUES (1737713460159979522, 1735209395333160961, 20.0000, 50.0000, '2023-12-21 13:55:48', '2023-12-21 13:55:48', '2023-12-21 13:55:48');
INSERT INTO `env_temperature_humidity_data` VALUES (1737713477075607554, 1735209641241010178, 20.0000, 50.0000, '2023-12-21 13:55:52', '2023-12-21 13:55:52', '2023-12-21 13:55:52');
INSERT INTO `env_temperature_humidity_data` VALUES (1737738511081021441, 1735209641241010178, 20.0000, 50.0000, '2023-12-21 15:35:21', '2023-12-21 15:35:21', '2023-12-21 15:35:21');
INSERT INTO `env_temperature_humidity_data` VALUES (1737739296103735298, 1735209641241010178, 20.0000, 50.0000, '2023-12-21 15:38:28', '2023-12-21 15:38:28', '2023-12-21 15:38:28');
INSERT INTO `env_temperature_humidity_data` VALUES (1737739773084180481, 1735209641241010178, 20.0000, 50.0000, '2023-12-21 15:40:22', '2023-12-21 15:40:22', '2023-12-21 15:40:22');
INSERT INTO `env_temperature_humidity_data` VALUES (1737747900324155393, 1735207513831301121, 20.0000, 50.0000, '2023-12-21 16:12:39', '2023-12-21 16:12:39', '2023-12-21 16:12:39');
INSERT INTO `env_temperature_humidity_data` VALUES (1737747919076888578, 1735208043051802625, 20.0000, 50.0000, '2023-12-21 16:12:44', '2023-12-21 16:12:44', '2023-12-21 16:12:44');
INSERT INTO `env_temperature_humidity_data` VALUES (1738012497276567554, 1666632805672091649, 30.0000, 50.0000, '2023-12-22 09:44:03', '2023-12-22 09:44:05', '2023-12-22 09:44:05');
INSERT INTO `env_temperature_humidity_data` VALUES (1738012501886107649, 1735130146534383618, 30.0000, 50.0000, '2023-12-22 09:44:05', '2023-12-22 09:44:06', '2023-12-22 09:44:06');
INSERT INTO `env_temperature_humidity_data` VALUES (1738012506420150274, 1735130146534383618, 30.0000, 50.0000, '2023-12-22 09:44:06', '2023-12-22 09:44:07', '2023-12-22 09:44:07');
INSERT INTO `env_temperature_humidity_data` VALUES (1738012577190641666, 1735130146534383618, 30.0000, 50.0000, '2023-12-22 09:44:23', '2023-12-22 09:44:24', '2023-12-22 09:44:24');
INSERT INTO `env_temperature_humidity_data` VALUES (1738012580910989313, 1735207513831301121, 30.0000, 50.0000, '2023-12-22 09:44:24', '2023-12-22 09:44:25', '2023-12-22 09:44:25');
INSERT INTO `env_temperature_humidity_data` VALUES (1738029676608897026, 1666632805672091649, 30.0000, 50.0000, '2023-12-22 10:52:19', '2023-12-22 10:52:21', '2023-12-22 10:52:21');
INSERT INTO `env_temperature_humidity_data` VALUES (1738029680232775681, 1735130146534383618, 30.0000, 50.0000, '2023-12-22 10:52:20', '2023-12-22 10:52:21', '2023-12-22 10:52:21');
INSERT INTO `env_temperature_humidity_data` VALUES (1738029683760185346, 1735207513831301121, 30.0000, 50.0000, '2023-12-22 10:52:21', '2023-12-22 10:52:22', '2023-12-22 10:52:22');
INSERT INTO `env_temperature_humidity_data` VALUES (1738029820616130561, 1735130146534383618, 30.0000, 50.0000, '2023-12-22 10:52:54', '2023-12-22 10:52:55', '2023-12-22 10:52:55');
INSERT INTO `env_temperature_humidity_data` VALUES (1738029824386809858, 1735207513831301121, 30.0000, 50.0000, '2023-12-22 10:52:55', '2023-12-22 10:52:56', '2023-12-22 10:52:56');
INSERT INTO `env_temperature_humidity_data` VALUES (1738486316491714562, 1666632805672091649, 30.0000, 50.0000, '2023-12-23 17:06:51', '2023-12-23 17:06:52', '2023-12-23 17:06:52');
INSERT INTO `env_temperature_humidity_data` VALUES (1738486322145636353, 1735130146534383618, 30.0000, 50.0000, '2023-12-23 17:06:52', '2023-12-23 17:06:53', '2023-12-23 17:06:53');
INSERT INTO `env_temperature_humidity_data` VALUES (1738486326830673922, 1735207513831301121, 30.0000, 50.0000, '2023-12-23 17:06:53', '2023-12-23 17:06:54', '2023-12-23 17:06:54');
INSERT INTO `env_temperature_humidity_data` VALUES (1739852716183433217, 1666632805672091649, 30.0000, 50.0000, '2023-12-27 11:36:26', '2023-12-27 11:36:26', '2023-12-27 11:36:26');
INSERT INTO `env_temperature_humidity_data` VALUES (1739852721073991681, 1735130146534383618, 30.0000, 50.0000, '2023-12-27 11:36:27', '2023-12-27 11:36:27', '2023-12-27 11:36:27');
INSERT INTO `env_temperature_humidity_data` VALUES (1739852725616422913, 1735207513831301121, 30.0000, 50.0000, '2023-12-27 11:36:28', '2023-12-27 11:36:29', '2023-12-27 11:36:29');
INSERT INTO `env_temperature_humidity_data` VALUES (1739853289322463234, 1735130146534383618, 30.0000, 50.0000, '2023-12-27 11:38:43', '2023-12-27 11:38:43', '2023-12-27 11:38:43');
INSERT INTO `env_temperature_humidity_data` VALUES (1739853294162690049, 1735207513831301121, 50.0000, 50.0000, '2023-12-27 11:38:44', '2023-12-27 11:38:44', '2023-12-27 11:38:44');

-- ----------------------------
-- Table structure for eqpt_board_calendar
-- ----------------------------
CREATE TABLE `eqpt_board_calendar`  (
  `id` bigint NOT NULL COMMENT '主键',
  `mark_date` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标记日期',
  `mark_content` varchar(1000) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '标记内容',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建用户id',
  `create_dept_id` bigint NULL DEFAULT NULL COMMENT '创建部门id',
  `create_company_id` bigint NULL DEFAULT NULL COMMENT '创建单位id',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '受检设备-首页看板-日历' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of eqpt_board_calendar
-- ----------------------------

-- ----------------------------
-- Table structure for eqpt_board_message
-- ----------------------------
CREATE TABLE `eqpt_board_message`  (
  `id` bigint NOT NULL COMMENT '主键',
  `message_module` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '消息模块（检定通知\\通知公告\\工作提醒）',
  `message_type` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '消息类型',
  `message_topic` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '主题',
  `source_module` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '来源模块',
  `read_status` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '读取状态（0未读; 1已读）',
  `notify_user_id` bigint NULL DEFAULT NULL COMMENT '通知用户id',
  `notify_dept_id` bigint NULL DEFAULT NULL COMMENT '通知部门id',
  `biz_id` bigint NULL DEFAULT NULL COMMENT '业务主键id',
  `message_time` timestamp(0) NULL DEFAULT NULL COMMENT '消息时间',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  `set_top` tinyint(1) NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '受检设备-首页看板-消息通知' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of eqpt_board_message
-- ----------------------------
INSERT INTO `eqpt_board_message` VALUES (1730122281784545281, '通知公告', '单位通知', '测试', '单位通知', '1', 1, 0, 1684109021295153153, '2023-09-07 14:22:57', '2023-11-30 15:10:37', '2023-11-30 15:10:37', NULL);
INSERT INTO `eqpt_board_message` VALUES (1730419603613446145, '通知公告', '单位通知', '文昌指控站棒棒', '单位通知', '1', 1730398955084210178, 1701893795252613121, 1716736403531374593, '2023-10-24 16:42:20', '2023-12-01 10:52:04', '2023-12-01 10:52:04', NULL);
INSERT INTO `eqpt_board_message` VALUES (1730420905860952066, '通知公告', '单位通知', '文昌指控站棒棒', '单位通知', '1', 1730398676901191681, 1701893795252613121, 1716736403531374593, '2023-10-24 16:42:20', '2023-12-01 10:57:14', '2023-12-01 10:57:14', NULL);
INSERT INTO `eqpt_board_message` VALUES (1730483841971363842, '通知公告', '单位通知', '测试', '单位通知', '1', 1728948480668876801, 0, 1730483769468624897, '2023-12-01 15:15:25', '2023-12-01 15:07:53', '2023-12-01 15:07:53', NULL);

-- ----------------------------
-- Table structure for eqpt_equipment_attachment
-- ----------------------------
CREATE TABLE `eqpt_equipment_attachment`  (
  `id` bigint NOT NULL,
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '设备id',
  `name` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '名称',
  `information` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '信息',
  `position` text CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL COMMENT '位置',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0),
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '受检设备-设备台账-主附件信息表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of eqpt_equipment_attachment
-- ----------------------------
INSERT INTO `eqpt_equipment_attachment` VALUES (1731275289373286402, 1731275289352314881, '1', '1', '1', '2023-12-03 19:32:49', '2023-12-03 19:32:49');
INSERT INTO `eqpt_equipment_attachment` VALUES (1732219667507892226, 1732219667403034626, '电源线', '/', '/', '2023-12-06 00:00:00', '2023-12-06 00:00:00');

-- ----------------------------
-- Table structure for eqpt_equipment_group_info
-- ----------------------------
CREATE TABLE `eqpt_equipment_group_info`  (
  `id` bigint NOT NULL COMMENT '主键',
  `position_id` bigint NULL DEFAULT NULL COMMENT '使用岗位',
  `group_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '分组名称',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人名字',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '受检设备-设备分组信息表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of eqpt_equipment_group_info
-- ----------------------------
INSERT INTO `eqpt_equipment_group_info` VALUES (1732304639677726722, 1730844210074066945, 'A', 1730419883939749889, '测试文发二连操作手02', '2023-12-06 15:41:40', '2023-12-06 15:43:06', '122');

-- ----------------------------
-- Table structure for eqpt_equipment_group_relation
-- ----------------------------
CREATE TABLE `eqpt_equipment_group_relation`  (
  `id` bigint NOT NULL,
  `group_id` bigint NULL DEFAULT NULL COMMENT '分组id',
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '设备id',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '受检设备-设备分组关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of eqpt_equipment_group_relation
-- ----------------------------
INSERT INTO `eqpt_equipment_group_relation` VALUES (1732304639728058370, 1732304639677726722, 1730846368358047746, '2023-12-02 00:00:00', '2023-12-04 00:00:00');
INSERT INTO `eqpt_equipment_group_relation` VALUES (1732304639728058371, 1732304639677726722, 1731266340678901761, '2023-12-03 00:00:00', '2023-12-06 00:00:00');

-- ----------------------------
-- Table structure for eqpt_equipment_info
-- ----------------------------
CREATE TABLE `eqpt_equipment_info`  (
  `id` bigint NOT NULL,
  `equipment_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备编号',
  `equipment_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  `equipment_type` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT '1' COMMENT '设备类型(1受检设备;2特种设备)',
  `usage_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '使用状态(字典code)',
  `level` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '等级(字典code)',
  `product_country` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生产国家',
  `manufacturer` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生产厂家',
  `manufacture_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '出厂编号',
  `product_date` timestamp(0) NULL DEFAULT NULL COMMENT '生产日期',
  `unit_price` decimal(10, 4) NULL DEFAULT NULL COMMENT '单价(万元)',
  `purchase_date` timestamp(0) NULL DEFAULT NULL COMMENT '购进日期',
  `model` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '型号规格',
  `quality_condition` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '质量状况',
  `company_id` bigint NULL DEFAULT NULL COMMENT '所在单位id',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '使用部门id',
  `category` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备分类(字典code)',
  `check_cycle` int NULL DEFAULT NULL COMMENT '检定周期(月)',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `instructions_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '说明书(minio存储文件名)（多个用,拼接）',
  `check_organization` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检定机构',
  `check_date` timestamp(0) NULL DEFAULT NULL COMMENT '检定日期',
  `certificate_valid` timestamp(0) NULL DEFAULT NULL COMMENT '证书有效期',
  `meter_identify` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计量标识',
  `use_position` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '使用岗位',
  `director_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '负责人',
  `RFID` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'RFID标签绑定',
  `use_sign` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '在用信息(字典code)',
  `install_location` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '安装位置(选择)',
  `install_location_ext` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '安装位置(自定义编写)',
  `test_task` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '安装位置(多个用,拼接)',
  `remark_ext` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注(扩展)',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人名字',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  `is_del` int NULL DEFAULT 0 COMMENT '删除标记',
  `model_id` bigint NULL DEFAULT NULL COMMENT '规格型号id',
  `help_instruction` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '辅助字段',
  `use_position_id` bigint NULL DEFAULT NULL COMMENT '使用岗位id',
  `director_id` bigint NULL DEFAULT NULL COMMENT '负责人id',
  `install_location_id` bigint NULL DEFAULT NULL COMMENT '安装位置id',
  `check_destination` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检定去向',
  `limit_instruction` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '限用说明',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '受检设备-设备台账-基本信息表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of eqpt_equipment_info
-- ----------------------------
INSERT INTO `eqpt_equipment_info` VALUES (1730846368358047746, 'sjsb202312020002', '数字多用表', '1', '0', '2', '中国', 'UNI-T', '11111111', '2023-11-28 00:00:00', 0.0100, '2023-12-01 00:00:00', 'UT70C', '0', 1691998769869987841, 1702481679726751746, '1', 24, NULL, '数字表UT70C说明书（测试）_1701396309304.docx,数字表UT70C说明书（测试）_1701396344589.pdf', '计量室', '2023-12-01 00:00:00', '2025-11-01 00:00:00', '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-02 15:02:15', '2023-12-04 09:18:16', 0, 1730408575831928833, '/', 1730844210074066945, 1730419883939749889, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1730846565981069314, 'sjsb202312020003', '信号发生器', '1', '0', '0', '1', '1', '121', NULL, NULL, NULL, 'E8257D', '0', 1691998769869987841, 1702481679726751746, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-02 15:09:18', '2023-12-06 14:45:20', 0, 1730416065827074049, '/', 1730844210074066945, 1730419624433967106, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1730847993122365441, 'sjsb202312020005', '信号发生器', '1', '0', '0', '1', '1', '1', NULL, NULL, NULL, 'E8257D', '0', 1691998769869987841, 1702481679726751746, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-02 15:15:01', '2023-12-02 17:20:37', 0, 1730416065827074049, '/', 1730844210074066945, 1730419624433967106, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1730851211999027202, 'sjsb202312020007', '信号发生器', '1', '0', '0', '美国', 'FLUKE', 'test011', '2023-11-01 00:00:00', 10.0000, '2023-11-02 00:00:00', 'E8257D', '0', 1691998769869987841, 1702481679726751746, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-02 15:24:36', '2023-12-02 17:18:53', 0, 1730416065827074049, '/', 1730844210074066945, 1730419883939749889, NULL, '2', NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1731266340678901761, 'sjsb202312030001', '测试通用设备1', '1', '0', '0', 'CHINA', '203', '2031', NULL, NULL, NULL, 'casic-well200NA', '1', 1691998769869987841, 1702481679726751746, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-03 18:55:11', '2023-12-06 14:45:16', 0, 1731212208756596737, '200NA', 1730844318031257601, 1730419883939749889, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1731275289352314881, 'sjsb202312030002', '测试通用设备1', '1', '0', '0', 'china', '20311', '2032', NULL, NULL, NULL, 'casic-well100NA', '1', 1691998769869987841, 1702481679726751746, '0', 1, NULL, '新建文本文档_1701490087771.txt', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-03 19:31:26', '2023-12-03 19:32:52', 0, 1730808155421646850, '测试通用设备', 1730848172567273473, 1730419883939749889, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1731482833303740417, 'sjsb202312040001', '数字多用表', '1', '0', '2', '中国', 'UNI-T', '111111111111111', '2021-01-01 00:00:00', 0.0100, '2021-01-01 00:00:00', 'UT70C', '0', 1691998769869987841, 1702481679726751746, '1', 24, NULL, '数字表UT70C说明书（测试）_1701396309304.docx,数字表UT70C说明书（测试）_1701396344589.pdf', '海口实验室', '2021-01-02 00:00:00', '2023-01-01 00:00:00', '1', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-04 09:13:44', '2023-12-04 09:17:35', 0, 1730408575831928833, '/', 1730844210074066945, 1730419883939749889, 1731477290027687938, '1', '限用直流10mA档');
INSERT INTO `eqpt_equipment_info` VALUES (1731483602761392129, 'sjsb202312040002', '数字多用表', '1', '0', '2', '美国', 'FLUKE', '20970002', '2020-03-01 00:00:00', 2.0000, '2020-03-01 00:00:00', 'Fluke 8846A', '0', 1691998769869987841, 1702481679726751746, '1', 12, NULL, '数字多用表8846A说明书（测试）_1701396947220.pdf', '海口实验室', '2022-02-01 00:00:00', '2023-01-01 00:00:00', '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-04 09:19:17', '2023-12-04 09:20:38', 0, 1730410345547198465, '/', 1730844210074066945, 1730419883939749889, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1731488734114848769, 'sjsb202312040003', '接地电阻表', '1', '0', '2', '中国', '上海第六电表厂', '12344556', '2020-02-01 00:00:00', 0.0200, '2020-03-01 00:00:00', 'ZC-８', '0', 1691998769869987841, 1702481679726751746, '1', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-04 00:00:00', '2023-12-06 14:45:13', 0, 1730411259536371713, '/', 1730844210074066945, 1730419883939749889, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1731504451086295041, 'sjsb202312040005', '信号发生器', '1', '0', '0', '1', '1', '1', NULL, NULL, NULL, 'E8257D', '0', 1691998769869987841, 1702481190331166721, '0', 12, NULL, NULL, 'dada', '2022-12-01 00:00:00', '2023-11-01 00:00:00', '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483767400427521, '文发一连1岗位1岗操作手01', '2023-12-04 10:41:23', '2023-12-04 10:52:45', 0, 1730416065827074049, '/', 1731485500683952130, 1731291855766810625, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1731861096643477505, 'sjsb202312050001', '兆欧表', '1', '0', '2', '中国', '上海第六电表厂', '1254654', '2020-02-01 00:00:00', 0.1000, '2020-02-01 00:00:00', 'ZC25-1', '0', 1691998769869987841, 1702481679726751746, '1', 24, NULL, NULL, '海口实验室', NULL, NULL, '0', NULL, NULL, NULL, '1', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-05 10:11:05', '2023-12-05 10:20:56', 0, 1730411522976411650, '/', 1730844210074066945, 1730419883939749889, 1731477382847635457, '1', NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1731864824717033473, 'sjsb202312050007', '多功能电力参数测量仪', '1', '1', '2', '中', '施耐德', '3200000', '2020-02-01 00:00:00', 0.0300, '2021-01-01 00:00:00', 'DM6200', '0', 1691998769869987841, 1702481679726751746, '1', 24, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-05 10:25:55', '2023-12-05 10:35:29', 0, 1730410692202229762, '/', 1730844210074066945, 1730419883939749889, 1731477290027687938, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1731913376528883714, 'sjsb202312050008', '测试通用设备1', '1', '0', '0', '123', '123', '123123', NULL, NULL, NULL, 'casic-well100NA', '1', 1691998769869987841, 1702481679726751746, '0', 1, NULL, '新建文本文档_1701490087771.txt', NULL, '2022-08-06 00:00:00', '2022-09-05 00:00:00', '1', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-05 13:47:38', '2023-12-05 13:48:25', 0, 1730808155421646850, '测试通用设备', 1730844318031257601, 1730419883939749889, NULL, NULL, '限用0001');
INSERT INTO `eqpt_equipment_info` VALUES (1731938371875397633, 'sjsb202312050010', '精密压力表', '1', '0', '0', 'CH', '北京布莱迪', '1600892', '2014-05-01 00:00:00', 0.0150, '2015-06-01 00:00:00', '40MPa', '0', 1691998769869987841, 1710824768333701121, '2', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731936616773074945, '文发三连操作手', '2023-12-05 00:00:00', '2023-12-05 00:00:00', 0, 1731877173184217090, '/', 1731870066661703682, 1731936616773074945, 1731937105950564353, '1', NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1731941139570778114, 'sjsb202312050014', '压力表', '1', '0', '1', '中国', '上海自动化', '21010342', NULL, NULL, NULL, '1.5MPa', '0', 1691998769869987841, 1710824768333701121, '2', 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731936616773074945, '文发三连操作手', '2023-12-05 00:00:00', '2023-12-05 00:00:00', 0, 1731876656773120002, '/', 1731870066661703682, 1731936616773074945, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1731949052607619074, 'sjsb202312050015', '测试通用设备1', '1', '0', '1', '1', '203', '331', NULL, NULL, NULL, 'casic-well100NA', '1', 1691998769869987841, 1710824768333701121, '0', 1, NULL, '新建文本文档_1701490087771.txt', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731936616773074945, '文发三连操作手', '2023-12-05 16:07:11', '2023-12-05 16:10:07', 0, 1730808155421646850, '测试通用设备', 1731870066661703682, 1731936616773074945, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732015644662063105, 'sjsb202312050019', '信号发生器', '1', '0', '1', '34', '43', '23', '2023-12-05 00:00:00', 2.0000, '2023-12-05 00:00:00', 'E8257D', '0', 1691998769869987841, 1702481190331166721, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-05 20:32:41', '2023-12-05 20:34:46', 0, 1730416065827074049, '/', 1731485500683952130, 1731484037169672194, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732017622695829506, 'sjsb202312050020', '数字多用表', '1', '1', '0', 'america', 'FLUKE', 'test002', '2023-12-01 00:00:00', 0.1000, '2023-12-02 00:00:00', 'Fluke 8846A', '1', 1691998769869987841, 1702481190331166721, '1', 12, '1111', '数字多用表8846A说明书（测试）_1701396947220.pdf', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-05 20:39:52', '2023-12-05 20:42:37', 0, 1730410345547198465, '/', 1731485500683952130, 1731484037169672194, 1731486002964439041, '1', NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732209635378618370, 'sjsb202312060001', '数字示波器', '1', '1', '0', 'america', '泰克', 'test002', '2020-12-01 00:00:00', 5.0000, '2021-01-01 00:00:00', 'TDS1012C', '0', 1691998769869987841, 1702481190331166721, '0', 12, NULL, '上传文档_1701396072712.docx', '计量站海口实验室', '2022-12-01 00:00:00', '2023-11-01 00:00:00', '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-06 09:24:37', '2023-12-06 09:25:37', 0, 1730406936119111682, '/', 1731485500683952130, 1731484037169672194, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732219667403034626, 'sjsb202312060002', '信号发生器', '1', '0', '0', '美国', '安捷伦', 'MY50142141', NULL, NULL, '2013-12-05 00:00:00', 'N5183A', '0', 1691998769869987841, 1710824768333701121, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, '测试', NULL, '信号发生器', 1731936616773074945, '文发三连操作手', '2023-12-06 10:24:18', '2023-12-06 10:24:57', 0, 1732219006837903361, '/', 1731870066661703682, 1731936616773074945, 1731866714288734209, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732245767122354177, 'sjsb202312060003', '钳形电流表', '1', '1', '0', 'america', 'FLUKE', 'test002', '2023-01-01 00:00:00', 0.1000, '2023-01-02 00:00:00', 'FLUKE 317', '1', 1691998769869987841, 1702481190331166721, '1', 24, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-06 11:48:17', '2023-12-06 11:49:12', 0, 1732008081379844097, '/', 1731485500683952130, 1731484037169672194, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732246905401933825, 'sjsb202312060004', '交流电压表', '1', '1', '0', '111', '222', '0310505', '2023-12-01 00:00:00', 0.0100, '2023-12-02 00:00:00', 'CP-48', '1', 1691998769869987841, 1702481190331166721, '1', 24, NULL, '', '计量室海口实验室', '2022-01-08 00:00:00', '2023-12-07 00:00:00', '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-06 00:00:00', '2023-12-11 16:26:20', 0, 1732246409618423809, '450V--3--2.5级', 1731485500683952130, 1731484037169672194, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732248045917077505, 'sjsb202312060005', '交流电压表', '1', '0', '0', '31231', '3131231', '14645', '2022-12-01 00:00:00', 0.0100, '2022-12-02 00:00:00', 'CP-48', '0', 1691998769869987841, 1702481190331166721, '1', 24, NULL, '', '计量室海口实验室', '2021-11-30 00:00:00', '2023-11-29 00:00:00', '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-06 11:57:43', '2023-12-11 16:26:20', 0, 1732246409618423809, '450V--3--2.5级', 1731485500683952130, 1731484037169672194, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732567474257317890, 'sjsb202312070001', '接地电阻表', '1', '0', '0', 'CHINA', '上海XXXX', '313131eada', '2022-01-01 00:00:00', 0.0500, '2022-02-01 00:00:00', 'ZC-８', '0', 1691998769869987841, 1702481190331166721, '1', 12, NULL, NULL, '计量室海口实验室', '2022-01-02 00:00:00', '2022-12-01 00:00:00', NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-07 09:01:35', '2023-12-07 09:09:13', 0, 1730411259536371713, '/', 1731485500683952130, 1731484037169672194, 1731487739133665281, '1', NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732651699698454530, 'sjsb202312070002', '频谱分析仪', '1', '0', '0', 'America', 'Agilent', 'test001', '2022-11-01 00:00:00', 1.0000, '2022-12-01 00:00:00', 'N9030A', '0', 1691998769869987841, 1702481679726751746, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1732650916831588354, '测试二连供气操作手', '2023-12-07 14:41:02', '2023-12-07 14:42:11', 0, 1730415712826060802, '/', 1730844210074066945, 1732650916831588354, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732656397998411778, 'sjsb202312070004', '信号发生器', '1', '0', '0', '21', '21', '21', NULL, 21.0000, NULL, 'AV1442', '0', 1691998769869987841, 1702481679726751746, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1732650916831588354, '测试二连供气操作手', '2023-12-07 15:01:11', '2023-12-07 15:00:55', 0, 1732219134994862081, '/', 1730844210074066945, 1730424143834275841, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732677209325359106, 'sjsb202312070005', '信号发生器', '1', '0', '0', '12', '12', '12', NULL, 12.0000, NULL, 'AV1442', '0', 1691998769869987841, 1702481190331166721, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483496851042306, '文发一连1岗位系统指挥员', '2023-12-07 16:22:49', '2023-12-07 16:23:36', 0, 1732219134994862081, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732679320788324354, 'sjsb202312070006', '压力表', '1', '0', '0', 'dsada', 'dasdasdas', '31231', '2022-12-01 00:00:00', 0.5000, '2022-12-03 00:00:00', '60MPa', '0', 1691998769869987841, 1702481679726751746, '2', 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1732650628833898498, '测试二连加注负责人', '2023-12-07 16:31:45', '2023-12-07 16:31:59', 0, 1731877013779693569, '/', 1730844210074066945, 1732650628833898498, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732683037809872897, 'sjsb202312070007', '多功能电力参数测量仪', '1', '0', '0', '313123', '312312312', '1312321', NULL, NULL, NULL, 'DM6200H', '0', 1691998769869987841, 1702481190331166721, '1', 24, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483496851042306, '文发一连1岗位系统指挥员', '2023-12-07 16:47:02', '2023-12-07 16:46:45', 0, 1731502315241840641, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732684263851069441, 'sjsb202312070008', '兆欧表', '1', '0', '1', '312321', '3123123', '131231', NULL, NULL, NULL, 'ZC25-1', '0', 1691998769869987841, 1702481190331166721, '1', 24, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483496851042306, '文发一连1岗位系统指挥员', '2023-12-07 16:52:02', '2023-12-07 16:51:37', 0, 1730411522976411650, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732737125159395329, 'sjsb202312070011', '信号发生器', '1', '0', '0', 'test', 'test', '3131', NULL, NULL, NULL, 'AV1442', '0', 1691998769869987841, 1702481190331166721, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483496851042306, '文发一连1岗位系统指挥员', '2023-12-07 20:21:56', '2023-12-07 20:21:41', 0, 1732219134994862081, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732737644561031170, 'sjsb202312070012', '兆欧表', '1', '0', '0', 'test', 'test', '31231', NULL, NULL, NULL, 'ZC25-1', '0', 1691998769869987841, 1702481190331166721, '1', 24, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483496851042306, '文发一连1岗位系统指挥员', '2023-12-07 20:24:06', '2023-12-07 20:23:44', 0, 1730411522976411650, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732922110743011330, 'sjsb202312080001', '压力表', '1', '0', '0', 'TEST', 'TEST', '31312', NULL, NULL, NULL, '1.5MPa', '1', 1691998769869987841, 1702481190331166721, '2', 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483767400427521, '文发一连1岗位1岗操作手01', '2023-12-08 08:37:00', '2023-12-08 08:36:43', 0, 1731876656773120002, '/', 1731485500683952130, 1731483767400427521, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732928916433264641, 'sjsb202312080003', '信号发生器', '1', '0', '0', 'TEST', 'TEST', '00001', NULL, NULL, NULL, 'AV1442', '0', 1691998769869987841, 1731482160138940418, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483496851042306, '文发一连1岗位系统指挥员', '2023-12-08 09:03:57', '2023-12-09 10:36:17', 0, 1732219134994862081, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1732944476424495106, 'sjsb202312080004', '信号发生器', '1', '0', '0', 'test', 'test', '31321', NULL, NULL, NULL, 'E8257D', '0', 1691998769869987841, 1702481190331166721, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-08 10:05:36', '2023-12-08 10:05:37', 0, 1730416065827074049, '/', 1731485667210403842, 1731484037169672194, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1734112793780617217, 'sjsb202312110001', '数字多用表', '1', '0', '0', 'TEST', 'TEST', '131546', '2020-12-01 00:00:00', 0.5000, '2020-12-02 00:00:00', '87V', '0', 1691998769869987841, 1702481190331166721, '1', 24, NULL, '', '514所', '2021-12-31 00:00:00', '2023-12-30 00:00:00', NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731291855766810625, '测试文发一连连长', '2023-12-11 15:27:48', '2023-12-11 15:37:35', 0, 1734112486635929601, '/', 1731485500683952130, 1731483767400427521, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1734115919929606146, 'sjsb202312110002', '数字多用表', '1', '1', '0', 'test', 'test', '465412', NULL, NULL, NULL, 'FLUKE 17B+', '0', 1691998769869987841, 1702481190331166721, '1', 24, NULL, '', 'test', '2021-12-01 00:00:00', '2023-11-01 00:00:00', '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731291855766810625, '测试文发一连连长', '2023-12-11 15:40:24', '2023-12-11 15:42:22', 0, 1734115513904201730, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1734468136322793474, 'sjsb202312120001', '三用表', '1', '0', '2', '中国', '测试124', '测试123', '2023-12-11 00:00:00', 0.1000, '2023-12-01 00:00:00', 'MF47', '1', 1734400114996330498, 1734400240108224513, '1', 24, '测试123', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, '测试123', 1734401407760515074, '分系统操作手测试01', '2023-12-12 15:02:27', '2023-12-12 15:00:13', 0, 1734118479721725953, '/', 1734467696017342466, 1734401407760515074, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1734490469397757953, 'sjsb202312120002', '三用表', '1', '0', '2', '中国', '测试123', '测试123', '2023-12-05 00:00:00', 0.1000, '2023-12-11 00:00:00', 'MF47', '1', 1734400114996330498, 1734400240108224513, '1', 24, '测试123', NULL, '测试123', '2023-12-13 00:00:00', '2023-12-13 00:00:00', '4', NULL, NULL, NULL, '0', NULL, NULL, NULL, '测试123', 1734401407760515074, '分系统操作手测试01', '2023-12-12 16:24:24', '2023-12-12 16:28:52', 0, 1734118479721725953, '/', 1734467696017342466, 1734401407760515074, 1731477245035388930, '1', NULL);
INSERT INTO `eqpt_equipment_info` VALUES (1734504219223851009, 'sjsb202312120003', '交流电压表', '1', '0', '2', '中国', '测试111', '测试111', '2023-12-11 00:00:00', 1.0000, '2023-12-12 00:00:00', '6L2', '1', 1734400114996330498, 1734400240108224513, '1', 24, NULL, NULL, NULL, '2023-12-14 00:00:00', '2025-12-13 00:00:00', '4', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1734401407760515074, '分系统操作手测试01', '2023-12-12 17:24:30', '2023-12-12 17:23:30', 0, 1734126020275011586, '450V--3--1.5级', 1734467696017342466, 1734401407760515074, NULL, '1', NULL);

-- ----------------------------
-- Table structure for eqpt_equipment_info_approval
-- ----------------------------
CREATE TABLE `eqpt_equipment_info_approval`  (
  `id` bigint NOT NULL,
  `approval_type` tinyint NULL DEFAULT NULL COMMENT '申请审批类型(1新增2编辑3删除)',
  `process_id` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '流程实例id',
  `approval_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '审批状态(工作流回填)',
  `equipment_id` bigint NULL DEFAULT NULL COMMENT '设备id',
  `equipment_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备编号',
  `equipment_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备名称',
  `equipment_type` char(1) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT '1' COMMENT '设备类型(1受检设备;2特种设备)',
  `usage_status` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '使用状态(字典code)',
  `level` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '等级(字典code)',
  `product_country` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生产国家',
  `manufacturer` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '生产厂家',
  `manufacture_no` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '出厂编号',
  `product_date` timestamp(0) NULL DEFAULT NULL COMMENT '生产日期',
  `unit_price` decimal(10, 4) NULL DEFAULT NULL COMMENT '单价(万元)',
  `purchase_date` timestamp(0) NULL DEFAULT NULL COMMENT '购进日期',
  `model` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '型号规格',
  `quality_condition` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '质量状况',
  `company_id` bigint NULL DEFAULT NULL COMMENT '所在单位id',
  `dept_id` bigint NULL DEFAULT NULL COMMENT '使用部门id',
  `category` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备分类(字典code)',
  `check_cycle` int NULL DEFAULT NULL COMMENT '检定周期(月)',
  `remark` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注',
  `instructions_file` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '说明书(minio存储文件名)（多个用,拼接）',
  `check_organization` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检定机构',
  `check_date` timestamp(0) NULL DEFAULT NULL COMMENT '检定日期',
  `certificate_valid` timestamp(0) NULL DEFAULT NULL COMMENT '证书有效期',
  `meter_identify` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '计量标识',
  `use_position` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '使用岗位',
  `director_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '负责人',
  `RFID` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT 'RFID标签绑定',
  `use_sign` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '在用信息(字典code)',
  `install_location` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '安装位置(选择)',
  `install_location_ext` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '安装位置(自定义编写)',
  `test_task` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '安装位置(多个用,拼接)',
  `remark_ext` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备注(扩展)',
  `create_user_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  `create_user_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人名字',
  `create_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '创建时间',
  `update_time` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP(0) ON UPDATE CURRENT_TIMESTAMP(0) COMMENT '更新时间',
  `model_id` bigint NULL DEFAULT NULL COMMENT '规格型号id',
  `help_instruction` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '辅助字段',
  `use_position_id` bigint NULL DEFAULT NULL COMMENT '使用岗位id',
  `director_id` bigint NULL DEFAULT NULL COMMENT '负责人id',
  `install_location_id` bigint NULL DEFAULT NULL COMMENT '安装位置id',
  `check_destination` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '检定去向',
  `limit_instruction` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '限用说明',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '受检设备-设备台账-审批记录表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of eqpt_equipment_info_approval
-- ----------------------------
INSERT INTO `eqpt_equipment_info_approval` VALUES (1730845378410029058, 1, '005be315-9243-11ee-a5e6-5254008a5fee', '4', 1730846368358047746, 'sjsb202312020002', '数字多用表', '1', '0', '2', '中国', 'UNI-T', '11111111', '2023-11-28 00:00:00', 0.0100, '2023-12-01 00:00:00', 'UT70C', '0', 1691998769869987841, 1702481679726751746, '1', 24, NULL, '数字表UT70C说明书（测试）_1701396309304.docx,数字表UT70C说明书（测试）_1701396344589.pdf', '计量室', '2023-12-01 00:00:00', '2025-11-01 00:00:00', '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-02 15:02:15', '2023-12-04 09:18:16', 1730408575831928833, '/', 1730844210074066945, 1730419883939749889, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1730846566006235138, 1, '056df901-9403-11ee-aa0e-5254008a5fee', '4', 1730846565981069314, 'sjsb202312020003', '信号发生器', '1', '0', '0', '1', '1', '121', NULL, NULL, NULL, 'E8257D', '0', 1691998769869987841, 1702481679726751746, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-02 15:09:18', '2023-12-06 14:45:20', 1730416065827074049, '/', 1730844210074066945, 1730419624433967106, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1730847202227625985, 1, '189dd241-90f4-11ee-a5e6-5254008a5fee', '5', 1730847202185682946, 'sjsb202312020004', '信号发生器', '1', '0', '0', '1', '1', '1', NULL, NULL, NULL, 'E8257D', '0', 1691998769869987841, 1702481679726751746, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-02 15:11:17', '2023-12-02 17:24:16', 1730416065827074049, '/', 1730844210074066945, 1730419624433967106, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1730847993160114178, 1, '0d4e9e68-90f4-11ee-a5e6-5254008a5fee', '4', 1730847993122365441, 'sjsb202312020005', '信号发生器', '1', '0', '0', '1', '1', '1', NULL, NULL, NULL, 'E8257D', '0', 1691998769869987841, 1702481679726751746, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-02 15:15:01', '2023-12-02 17:20:37', 1730416065827074049, '/', 1730844210074066945, 1730419624433967106, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1730851170223759361, 1, 'cfc28bbf-90f3-11ee-a5e6-5254008a5fee', '4', 1730851211999027202, 'sjsb202312020007', '信号发生器', '1', '0', '0', '美国', 'FLUKE', 'test011', '2023-11-01 00:00:00', 10.0000, '2023-11-02 00:00:00', 'E8257D', '0', 1691998769869987841, 1702481679726751746, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-02 15:24:36', '2023-12-02 17:18:53', 1730416065827074049, '/', 1730844210074066945, 1730419883939749889, NULL, '2', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1731266340708261889, 1, '03912291-9403-11ee-aa0e-5254008a5fee', '4', 1731266340678901761, 'sjsb202312030001', '测试通用设备1', '1', '0', '0', 'CHINA', '203', '2031', NULL, NULL, NULL, 'casic-well200NA', '1', 1691998769869987841, 1702481679726751746, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-03 18:55:11', '2023-12-06 14:45:16', 1731212208756596737, '200NA', 1730844318031257601, 1730419883939749889, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1731275289385869314, 1, 'b15b6a32-91cf-11ee-a5e6-5254008a5fee', '4', 1731275289352314881, 'sjsb202312030002', '测试通用设备1', '1', '0', '0', 'china', '20311', '2032', NULL, NULL, NULL, 'casic-well100NA', '1', 1691998769869987841, 1702481679726751746, '0', 1, NULL, '新建文本文档_1701490087771.txt', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-03 19:31:26', '2023-12-03 19:32:52', 1730808155421646850, '测试通用设备', 1730848172567273473, 1730419883939749889, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1731481669338243073, 1, '41b91775-9242-11ee-a5e6-5254008a5fee', '3', 1731481669254356994, 'tzsb202312040001', '特测试23', '2', '0', '0', 'chn', '203', 'tcasic111', NULL, NULL, NULL, 'casic2', '1', 1691998769869987841, 1702481679726751746, '0', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730408513198383105, '文发管理员', '2023-12-04 09:10:47', '2023-12-04 09:12:57', 1731479868639649794, '/', 1730844210074066945, 1730419883939749889, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1731482833324711938, 1, 'e78a47a5-9242-11ee-a5e6-5254008a5fee', '4', 1731482833303740417, 'sjsb202312040001', '数字多用表', '1', '0', '2', '中国', 'UNI-T', '111111111111111', '2021-01-01 00:00:00', 0.0100, '2021-01-01 00:00:00', 'UT70C', '0', 1691998769869987841, 1702481679726751746, '1', 24, NULL, '数字表UT70C说明书（测试）_1701396309304.docx,数字表UT70C说明书（测试）_1701396344589.pdf', '海口实验室', '2021-01-02 00:00:00', '2023-01-01 00:00:00', '1', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-04 09:13:44', '2023-12-04 09:17:35', 1730408575831928833, '/', 1730844210074066945, 1730419883939749889, 1731477290027687938, '1', '限用直流10mA档');
INSERT INTO `eqpt_equipment_info_approval` VALUES (1731483602782363649, 1, '548ced35-9243-11ee-a5e6-5254008a5fee', '4', 1731483602761392129, 'sjsb202312040002', '数字多用表', '1', '0', '2', '美国', 'FLUKE', '20970002', '2020-03-01 00:00:00', 2.0000, '2020-03-01 00:00:00', 'Fluke 8846A', '0', 1691998769869987841, 1702481679726751746, '1', 12, NULL, '数字多用表8846A说明书（测试）_1701396947220.pdf', '海口实验室', '2022-02-01 00:00:00', '2023-01-01 00:00:00', '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-04 09:19:17', '2023-12-04 09:20:38', 1730410345547198465, '/', 1730844210074066945, 1730419883939749889, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1731488734131625986, 1, '01ac36d1-9403-11ee-aa0e-5254008a5fee', '4', 1731488734114848769, 'sjsb202312040003', '接地电阻表', '1', '0', '2', '中国', '上海第六电表厂', '12344556', '2020-02-01 00:00:00', 0.0200, '2020-03-01 00:00:00', 'ZC-８', '0', 1691998769869987841, 1702481679726751746, '1', 12, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-04 00:00:00', '2023-12-06 14:45:13', 1730411259536371713, '/', 1730844210074066945, 1730419883939749889, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1731489296424214530, 1, NULL, '1', 1731489296407437313, 'sjsb202312040004', '数字多用表', '1', '0', '0', 'America', 'TESTDATA', 'test001', '2023-12-01 00:00:00', 1.0000, '2023-12-02 00:00:00', 'Fluke 8846A', '1', 1691998769869987841, 1702481190331166721, '1', 12, NULL, '数字多用表8846A说明书（测试）_1701396947220.pdf', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483767400427521, '文发一连1岗位1岗操作手01', '2023-12-04 00:00:00', '2023-12-04 00:00:00', 1730410345547198465, '/', 1731485500683952130, 1731483767400427521, 1731486002964439041, '1', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1731504451107266562, 1, '32f7978b-9250-11ee-a5e6-5254008a5fee', '4', 1731504451086295041, 'sjsb202312040005', '信号发生器', '1', '0', '0', '1', '1', '1', NULL, NULL, NULL, 'E8257D', '0', 1691998769869987841, 1702481190331166721, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483767400427521, '文发一连1岗位1岗操作手01', '2023-12-04 10:41:23', '2023-12-04 10:52:45', 1730416065827074049, '/', 1731485500683952130, 1731291855766810625, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1731861096832221186, 1, 'eb744ad3-9314-11ee-b9d0-5254008a5fee', '4', 1731861096643477505, 'sjsb202312050001', '兆欧表', '1', '0', '2', '中国', '上海第六电表厂', '1254654', '2020-02-01 00:00:00', 0.1000, '2020-02-01 00:00:00', 'ZC25-1', '0', 1691998769869987841, 1702481679726751746, '1', 24, NULL, NULL, '海口实验室', NULL, NULL, '0', NULL, NULL, NULL, '1', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-05 10:11:05', '2023-12-05 10:20:56', 1730411522976411650, '/', 1730844210074066945, 1730419883939749889, 1731477382847635457, '1', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1731863195087323138, 1, 'f41367f3-9316-11ee-b9d0-5254008a5fee', '4', 1731864824717033473, 'sjsb202312050007', '多功能电力参数测量仪', '1', '1', '2', '中', '施耐德', '3200000', '2020-02-01 00:00:00', 0.0300, '2021-01-01 00:00:00', 'DM6200', '0', 1691998769869987841, 1702481679726751746, '1', 24, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-05 10:25:55', '2023-12-05 10:35:29', 1730410692202229762, '/', 1730844210074066945, 1730419883939749889, 1731477290027687938, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1731913376658907137, 1, 'e7b31e22-9331-11ee-8e77-5254008a5fee', '4', 1731913376528883714, 'sjsb202312050008', '测试通用设备1', '1', '0', '0', '123', '123', '123123', NULL, NULL, NULL, 'casic-well100NA', '1', 1691998769869987841, 1702481679726751746, '0', 1, NULL, '新建文本文档_1701490087771.txt', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-05 13:47:38', '2023-12-05 13:48:25', 1730808155421646850, '测试通用设备', 1730844318031257601, 1730419883939749889, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1731914495774711810, 1, '8c9c5f5a-9332-11ee-8e77-5254008a5fee', '3', 1731914495741157377, 'sjsb202312050009', '测试通用设备1', '1', '0', '0', '1233', '1233', '200', NULL, NULL, NULL, 'casic-well200NA', '1', 1691998769869987841, 1702481679726751746, '0', 5, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-05 13:52:04', '2023-12-05 13:53:01', 1731213129192415233, '200', 1730844210074066945, 1730419883939749889, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1731914857218859009, 3, 'b81007b3-9332-11ee-8e77-5254008a5fee', '3', 1731275289352314881, 'sjsb202312030002', '测试通用设备1', '1', '0', '0', 'china', '20311', '2032', NULL, NULL, NULL, 'casic-well100NA', '1', 1691998769869987841, 1702481679726751746, '0', 1, NULL, '新建文本文档_1701490087771.txt', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-05 13:54:14', '2023-12-05 13:54:14', 1730808155421646850, '测试通用设备', 1730848172567273473, 1730419883939749889, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1731938371900563457, 1, 'fce57ed5-9341-11ee-8e77-5254008a5fee', '3', 1731938371875397633, 'sjsb202312050010', '精密压力表', '1', '0', '0', 'CH', '北京布莱迪', '1600892', '2014-05-01 00:00:00', 0.0150, '2015-06-01 00:00:00', '40MPa', '0', 1691998769869987841, 1710824768333701121, '2', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731936616773074945, '文发三连操作手', '2023-12-05 00:00:00', '2023-12-05 15:43:32', 1731877173184217090, '/', 1731870066661703682, 1731936616773074945, 1731937105950564353, '1', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1731941023715713025, 1, '1863e38b-9345-11ee-8e77-5254008a5fee', '3', 1731941139570778114, 'sjsb202312050014', '压力表', '1', '0', '1', '中国', '上海自动化', '21010342', NULL, NULL, NULL, '1.5MPa', '0', 1691998769869987841, 1710824768333701121, '2', 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731936616773074945, '文发三连操作手', '2023-12-05 00:00:00', '2023-12-05 16:05:47', 1731876656773120002, '/', 1731870066661703682, 1731936616773074945, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1731949052628590593, 1, 'b59a9fb9-9345-11ee-8e77-5254008a5fee', '3', 1731949052607619074, 'sjsb202312050015', '测试通用设备1', '1', '0', '1', '1', '203', '331', NULL, NULL, NULL, 'casic-well100NA', '1', 1691998769869987841, 1710824768333701121, '0', 1, NULL, '新建文本文档_1701490087771.txt', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731936616773074945, '文发三连操作手', '2023-12-05 16:07:11', '2023-12-05 16:10:11', 1730808155421646850, '测试通用设备', 1731870066661703682, 1731936616773074945, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732011092575543298, 1, '253f6f30-9368-11ee-8e77-5254008a5fee', '3', 1732011092554571778, 'sjsb202312050017', '钳形电流表', '1', '1', '0', 'america', 'FLUKE', 'test001', '2023-12-01 00:00:00', 1.0000, '2023-12-02 00:00:00', 'FLUKE 317', '1', 1691998769869987841, 1702481190331166721, '1', 24, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-05 20:11:36', '2023-12-05 20:16:41', 1732008081379844097, '/', 1731485500683952130, 1731484037169672194, 1731486002964439041, '1', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732013364143480834, 1, '5eb9b898-936a-11ee-8e77-5254008a5fee', '3', 1732013364122509314, 'sjsb202312050018', '信号发生器', '1', '0', '0', '111', '11', '11', '2023-12-05 00:00:00', 11.0000, NULL, 'E8257D', '0', 1691998769869987841, 1702481190331166721, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-05 20:23:45', '2023-12-05 20:32:36', 1730416065827074049, '/', 1731485500683952130, 1731291855766810625, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732015644678840322, 1, 'ac1d6c91-936a-11ee-8e77-5254008a5fee', '4', 1732015644662063105, 'sjsb202312050019', '信号发生器', '1', '0', '1', '34', '43', '23', '2023-12-05 00:00:00', 2.0000, '2023-12-05 00:00:00', 'E8257D', '0', 1691998769869987841, 1702481190331166721, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-05 20:32:41', '2023-12-05 20:34:46', 1730416065827074049, '/', 1731485500683952130, 1731291855766810625, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732017622712606721, 1, 'c4fbe3ef-936b-11ee-8e77-5254008a5fee', '4', 1732017622695829506, 'sjsb202312050020', '数字多用表', '1', '1', '0', 'america', 'FLUKE', 'test002', '2023-12-01 00:00:00', 0.1000, '2023-12-02 00:00:00', 'Fluke 8846A', '1', 1691998769869987841, 1702481190331166721, '1', 12, '1111', '数字多用表8846A说明书（测试）_1701396947220.pdf', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-05 20:39:52', '2023-12-05 20:42:37', 1730410345547198465, '/', 1731485500683952130, 1731484037169672194, 1731486002964439041, '1', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732209635395395586, 1, '5be6066d-93d6-11ee-8e77-5254008a5fee', '4', 1732209635378618370, 'sjsb202312060001', '数字示波器', '1', '1', '0', 'america', '泰克', 'test002', '2020-12-01 00:00:00', 5.0000, '2021-01-01 00:00:00', 'TDS1012C', '0', 1691998769869987841, 1702481190331166721, '0', 12, NULL, '上传文档_1701396072712.docx', '计量站海口实验室', '2022-12-01 00:00:00', '2023-11-01 00:00:00', '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-06 09:24:37', '2023-12-06 09:25:37', 1730406936119111682, '/', 1731485500683952130, 1731484037169672194, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732219667621138433, 1, 'f046d98e-93db-11ee-bacf-5254008a5fee', '4', 1732219667403034626, 'sjsb202312060002', '信号发生器', '1', '0', '0', '美国', '安捷伦', 'MY50142141', NULL, NULL, NULL, 'N5183A', '0', 1691998769869987841, 1710824768333701121, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, '测试', NULL, '信号发生器', 1731936616773074945, '文发三连操作手', '2023-12-06 10:04:11', '2023-12-06 10:05:34', 1732219006837903361, '/', 1731870066661703682, 1731936616773074945, 1731866714288734209, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732224456807469058, 2, 'a5b1cdda-93de-11ee-bacf-5254008a5fee', '4', 1732219667403034626, 'sjsb202312060002', '信号发生器', '1', '0', '0', '美国', '安捷伦', 'MY50142141', NULL, NULL, '2013-12-05 00:00:00', 'N5183A', '0', 1691998769869987841, 1710824768333701121, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, '测试', NULL, '信号发生器', 1731936616773074945, '文发三连操作手', '2023-12-06 10:24:18', '2023-12-06 10:24:57', 1732219006837903361, '/', 1731870066661703682, 1731936616773074945, 1731866714288734209, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732245767302709249, 1, '6adc0b66-93ea-11ee-aa0e-5254008a5fee', '4', 1732245767122354177, 'sjsb202312060003', '钳形电流表', '1', '1', '0', 'america', 'FLUKE', 'test002', '2023-01-01 00:00:00', 0.1000, '2023-01-02 00:00:00', 'FLUKE 317', '1', 1691998769869987841, 1702481190331166721, '1', 24, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-06 11:48:17', '2023-12-06 11:49:12', 1732008081379844097, '/', 1731485500683952130, 1731484037169672194, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732246905443876866, 1, '0be99924-93eb-11ee-aa0e-5254008a5fee', '4', 1732246905401933825, 'sjsb202312060004', '交流电压表', '1', '1', '0', '111', '222', '0310505', '2023-12-01 00:00:00', 0.0100, '2023-12-02 00:00:00', 'CP-48', '1', 1691998769869987841, 1702481190331166721, '1', 24, NULL, '', '计量室海口实验室', '2022-01-08 00:00:00', '2023-12-07 00:00:00', '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-06 00:00:00', '2023-12-11 16:26:20', 1732246409618423809, '450V--3--2.5级', 1731485500683952130, 1731484037169672194, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732248045942243329, 1, 'ae343ad3-93eb-11ee-aa0e-5254008a5fee', '4', 1732248045917077505, 'sjsb202312060005', '交流电压表', '1', '0', '0', '31231', '3131231', '14645', '2022-12-01 00:00:00', 0.0100, '2022-12-02 00:00:00', 'CP-48', '0', 1691998769869987841, 1702481190331166721, '1', 24, NULL, '', '计量室海口实验室', '2021-11-30 00:00:00', '2023-11-29 00:00:00', '0', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-06 11:57:43', '2023-12-11 16:26:20', 1732246409618423809, '450V--3--2.5级', 1731485500683952130, 1731484037169672194, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732567474467033090, 1, '3b9b8cb8-949d-11ee-bff4-5254008a5fee', '4', 1732567474257317890, 'sjsb202312070001', '接地电阻表', '1', '0', '0', 'CHINA', '上海XXXX', '313131eada', '2022-01-01 00:00:00', 0.0500, '2022-02-01 00:00:00', 'ZC-８', '0', 1691998769869987841, 1702481190331166721, '1', 12, NULL, NULL, '计量室海口实验室', '2022-01-02 00:00:00', '2022-12-01 00:00:00', NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-07 09:01:35', '2023-12-07 09:09:13', 1730411259536371713, '/', 1731485500683952130, 1731484037169672194, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732651699727814658, 1, 'c0acdc65-94cb-11ee-bff4-5254008a5fee', '3', 1732651699698454530, 'sjsb202312070002', '频谱分析仪', '1', '0', '0', 'America', 'Agilent', 'test001', '2022-11-01 00:00:00', 1.0000, '2022-12-01 00:00:00', 'N9030A', '0', 1691998769869987841, 1702481679726751746, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1732650916831588354, '测试二连供气操作手', '2023-12-07 14:41:02', '2023-12-07 14:42:13', 1730415712826060802, '/', 1730844210074066945, 1732650916831588354, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732655160435462146, 1, NULL, '1', 1732655160406102018, 'sjsb202312070003', '信号发生器', '1', '0', '0', 'AMERICA', 'keysight', 'test001', '2022-12-01 00:00:00', 1.0000, '2022-12-02 00:00:00', 'N5183A', '0', 1691998769869987841, 1702481679726751746, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1732650916831588354, '测试二连供气操作手', '2023-12-07 14:54:44', '2023-12-07 14:55:57', 1732219006837903361, '/', 1730844318031257601, 1732650916831588354, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732656398019383297, 1, '5d831723-94ce-11ee-bff4-5254008a5fee', '4', 1732656397998411778, 'sjsb202312070004', '信号发生器', '1', '0', '0', '21', '21', '21', NULL, 21.0000, NULL, 'AV1442', '0', 1691998769869987841, 1702481679726751746, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1732650916831588354, '测试二连供气操作手', '2023-12-07 15:01:11', '2023-12-07 15:00:55', 1732219134994862081, '/', 1730844210074066945, 1730424143834275841, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732677209346330625, 1, 'ea1da7c6-94d9-11ee-bff4-5254008a5fee', '4', 1732677209325359106, 'sjsb202312070005', '信号发生器', '1', '0', '0', '12', '12', '12', NULL, 12.0000, NULL, 'AV1442', '0', 1691998769869987841, 1702481190331166721, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483496851042306, '文发一连1岗位系统指挥员', '2023-12-07 16:22:49', '2023-12-07 16:23:36', 1732219134994862081, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732679320809295873, 1, '1639cfc1-94db-11ee-bff4-5254008a5fee', '4', 1732679320788324354, 'sjsb202312070006', '压力表', '1', '0', '0', 'dsada', 'dasdasdas', '31231', '2022-12-01 00:00:00', 0.5000, '2022-12-03 00:00:00', '60MPa', '0', 1691998769869987841, 1702481679726751746, '2', 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1732650628833898498, '测试二连加注负责人', '2023-12-07 16:31:45', '2023-12-07 16:31:59', 1731877013779693569, '/', 1730844210074066945, 1732650628833898498, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732683037965062145, 1, '25ff850f-94dd-11ee-8607-5254008a5fee', '4', 1732683037809872897, 'sjsb202312070007', '多功能电力参数测量仪', '1', '0', '0', '313123', '312312312', '1312321', NULL, NULL, NULL, 'DM6200H', '0', 1691998769869987841, 1702481190331166721, '1', 24, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483496851042306, '文发一连1岗位系统指挥员', '2023-12-07 16:47:02', '2023-12-07 16:46:45', 1731502315241840641, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732684263893012481, 1, 'd4618c9b-94dd-11ee-8607-5254008a5fee', '4', 1732684263851069441, 'sjsb202312070008', '兆欧表', '1', '0', '1', '312321', '3123123', '131231', NULL, NULL, NULL, 'ZC25-1', '0', 1691998769869987841, 1702481190331166721, '1', 24, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483496851042306, '文发一连1岗位系统指挥员', '2023-12-07 16:52:02', '2023-12-07 16:51:37', 1730411522976411650, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732687144469696513, 1, '6dc7c363-94df-11ee-8607-5254008a5fee', '6', 1732687144431947778, 'sjsb202312070009', '信号发生器', '1', '0', '0', '流程测试', '流程测试', '00001', '2023-12-01 00:00:00', 1.0000, NULL, 'AV1442', '1', 1691998769869987841, 1702481190331166721, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483496851042306, '文发一连1岗位系统指挥员', '2023-12-07 17:03:12', '2023-12-08 09:04:12', 1732219134994862081, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732687943161647106, 1, 'e04eeaa0-94df-11ee-8607-5254008a5fee', '5', 1732687943132286977, 'sjsb202312070010', '信号发生器', '1', '0', '0', '流程测试', '流程测试', '11231', NULL, NULL, NULL, 'AV1464A', '0', 1691998769869987841, 1702481190331166721, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483496851042306, '文发一连1岗位系统指挥员', '2023-12-07 17:05:18', '2023-12-07 20:22:20', 1732218649546117121, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732737125398470657, 1, '2c7ff7b7-94fb-11ee-8735-5254008a5fee', '4', 1732737125159395329, 'sjsb202312070011', '信号发生器', '1', '0', '0', 'test', 'test', '3131', NULL, NULL, NULL, 'AV1442', '0', 1691998769869987841, 1702481190331166721, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483496851042306, '文发一连1岗位系统指挥员', '2023-12-07 20:21:56', '2023-12-07 20:21:41', 1732219134994862081, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732737644615557121, 1, '76334efd-94fb-11ee-8735-5254008a5fee', '4', 1732737644561031170, 'sjsb202312070012', '兆欧表', '1', '0', '0', 'test', 'test', '31231', NULL, NULL, NULL, 'ZC25-1', '0', 1691998769869987841, 1702481190331166721, '1', 24, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483496851042306, '文发一连1岗位系统指挥员', '2023-12-07 20:24:06', '2023-12-07 20:23:44', 1730411522976411650, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732738190550360065, 1, 'c52e92fa-94fb-11ee-8735-5254008a5fee', '3', 1732738190512611329, 'sjsb202312070013', '接地电阻表', '1', '0', '0', '直接2级审批流程测试', '直接2级审批流程测试', '312312', NULL, NULL, NULL, 'ZC-８', '0', 1691998769869987841, 1702481190331166721, '1', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483496851042306, '文发一连1岗位系统指挥员', '2023-12-07 20:26:02', '2023-12-07 20:25:57', 1730411259536371713, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732922110776565761, 1, 'dc56dafd-9561-11ee-8735-5254008a5fee', '3', 1732922110743011330, 'sjsb202312080001', '压力表', '1', '0', '0', 'TEST', 'TEST', '31312', NULL, NULL, NULL, '1.5MPa', '1', 1691998769869987841, 1702481190331166721, '2', 6, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483767400427521, '文发一连1岗位1岗操作手01', '2023-12-08 08:37:00', '2023-12-08 08:36:44', 1731876656773120002, '/', 1731485500683952130, 1731483767400427521, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732924083810721794, 1, 'f4c4681b-9562-11ee-8735-5254008a5fee', '3', 1732924083781361665, 'sjsb202312080002', '兆欧表', '1', '0', '0', 'TEST', 'TEST', '123131', NULL, NULL, NULL, 'ZC25-1', '0', 1691998769869987841, 1702481679726751746, '1', 24, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730424143834275841, '测试二连供气指挥员', '2023-12-08 08:44:31', '2023-12-08 08:44:35', 1730411522976411650, '/', 1730844210074066945, 1730424143834275841, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732928916462624769, 1, 'a3a9e58e-9565-11ee-8735-5254008a5fee', '4', 1732928916433264641, 'sjsb202312080003', '信号发生器', '1', '0', '0', 'TEST', 'TEST', '00001', NULL, NULL, NULL, 'AV1442', '0', 1691998769869987841, 1702481190331166721, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731483496851042306, '文发一连1岗位系统指挥员', '2023-12-08 09:03:57', '2023-12-08 09:03:47', 1732219134994862081, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732944476449660930, 1, '46ed45b2-956e-11ee-8735-5254008a5fee', '4', 1732944476424495106, 'sjsb202312080004', '信号发生器', '1', '0', '0', 'test', 'test', '31321', NULL, NULL, NULL, 'E8257D', '0', 1691998769869987841, 1702481190331166721, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731484037169672194, '文发一连1岗位1岗操作手02', '2023-12-08 10:05:36', '2023-12-08 10:05:37', 1730416065827074049, '/', 1731485667210403842, 1731484037169672194, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1732945048896659458, 1, '97ec96fb-956e-11ee-8735-5254008a5fee', '3', 1732945048871493634, 'sjsb202312080005', '信号发生器', '1', '0', '0', 'test', 'test', '3131', NULL, NULL, NULL, 'AV1464A', '1', 1691998769869987841, 1702481679726751746, '0', 12, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1730419883939749889, '测试文发二连操作手02', '2023-12-08 10:08:09', '2023-12-08 10:07:53', 1732218649546117121, '/', 1730844529084440577, 1730419883939749889, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1734112793906446338, 1, 'd2e44bc5-97f6-11ee-a86f-5254008a5fee', '4', 1734112793780617217, 'sjsb202312110001', '数字多用表', '1', '0', '0', 'TEST', 'TEST', '131546', '2020-12-01 00:00:00', 0.5000, '2020-12-02 00:00:00', '87V', '0', 1691998769869987841, 1702481190331166721, '1', 24, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731291855766810625, '测试文发一连连长', '2023-12-11 15:27:48', '2023-12-11 15:37:35', 1734112486635929601, '/', 1731485500683952130, 1731483767400427521, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1734115919975743490, 1, '8ef02382-97f8-11ee-a86f-5254008a5fee', '4', 1734115919929606146, 'sjsb202312110002', '数字多用表', '1', '1', '0', 'test', 'test', '465412', NULL, NULL, NULL, 'FLUKE 17B+', '0', 1691998769869987841, 1702481190331166721, '1', 24, NULL, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1731291855766810625, '测试文发一连连长', '2023-12-11 15:40:24', '2023-12-11 15:42:22', 1734115513904201730, '/', 1731485500683952130, 1731483496851042306, NULL, NULL, NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1734468136364736513, 1, '17d5437f-98bc-11ee-a86f-5254008a5fee', '4', 1734468136322793474, 'sjsb202312120001', '三用表', '1', '0', '2', '中国', '测试124', '测试123', '2023-12-11 00:00:00', 0.1000, '2023-12-01 00:00:00', 'MF47', '1', 1734400114996330498, 1734400240108224513, '1', 24, '测试123', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, NULL, NULL, '测试123', 1734401407760515074, '分系统操作手测试01', '2023-12-12 15:02:27', '2023-12-12 15:00:13', 1734118479721725953, '/', 1734467696017342466, 1734401407760515074, NULL, '1', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1734490469422923777, 1, '7a762c25-98c8-11ee-a86f-5254008a5fee', '4', 1734490469397757953, 'sjsb202312120002', '三用表', '1', '0', '2', '中国', '测试123', '测试123', '2023-12-05 00:00:00', 0.1000, '2023-12-11 00:00:00', 'MF47', '1', 1734400114996330498, 1734400240108224513, '1', 24, '测试123', NULL, '测试123', '2023-12-13 00:00:00', '2023-12-13 00:00:00', '4', NULL, NULL, NULL, '0', NULL, NULL, NULL, '测试123', 1734401407760515074, '分系统操作手测试01', '2023-12-12 16:24:24', '2023-12-12 16:28:52', 1734118479721725953, '/', 1734467696017342466, 1734401407760515074, 1731477245035388930, '1', NULL);
INSERT INTO `eqpt_equipment_info_approval` VALUES (1734504219249016833, 1, '1c3fd951-98d0-11ee-a86f-5254008a5fee', '4', 1734504219223851009, 'sjsb202312120003', '交流电压表', '1', '0', '2', '中国', '测试111', '测试111', '2023-12-11 00:00:00', 1.0000, '2023-12-12 00:00:00', '6L2', '1', 1734400114996330498, 1734400240108224513, '1', 24, NULL, NULL, NULL, '2023-12-14 00:00:00', '2025-12-13 00:00:00', '4', NULL, NULL, NULL, '0', NULL, NULL, NULL, NULL, 1734401407760515074, '分系统操作手测试01', '2023-12-12 17:24:30', '2023-12-12 17:23:30', 1734126020275011586, '450V--3--1.5级', 1734467696017342466, 1734401407760515074, NULL, '1', NULL);

-- ----------------------------
