Compare commits
89
Commits
obf
...
019c7d600a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
019c7d600a | ||
|
|
56697c1a78 | ||
|
|
fe0e075220 | ||
|
|
ee7ff671b5 | ||
|
|
d7d69755a7 | ||
|
|
5f612993c6 | ||
|
|
105bf98d25 | ||
|
|
354d3c82a2 | ||
|
|
3d5f72a26b | ||
|
|
551eaf50fb | ||
|
|
5aacb190ef | ||
|
|
e975d62c17 | ||
|
|
ec67a5e064 | ||
|
|
a1a9360d97 | ||
|
|
fba5870c50 | ||
|
|
7e310ba037 | ||
|
|
9e2ee4b81a | ||
|
|
0101561d12 | ||
|
|
54edb2032d | ||
|
|
34007bc02e | ||
|
|
348815ab68 | ||
|
|
e9be1437ce | ||
|
|
729fcef675 | ||
|
|
8780de32f2 | ||
|
|
75986f785b | ||
|
|
40ab4b65dd | ||
|
|
f2c6914fa9 | ||
|
|
92033a17cb | ||
|
|
6d747c49fb | ||
|
|
c3d68906ab | ||
|
|
5baa1b5479 | ||
|
|
3016f15244 | ||
|
|
c6bc9296e0 | ||
|
|
8ee7c1f9d1 | ||
|
|
36c67c6c2a | ||
|
|
15cbd2f085 | ||
|
|
a18166d6a8 | ||
|
|
0810aa1370 | ||
|
|
137b4efa38 | ||
|
|
051905a6f2 | ||
|
|
4356433ee0 | ||
|
|
e9774bc270 | ||
|
|
9f7882497b | ||
|
|
2a67051beb | ||
|
|
c808470275 | ||
|
|
2b6e5d2736 | ||
|
|
19e46db6a1 | ||
|
|
b678b33734 | ||
|
|
6d498f3b74 | ||
|
|
f2503fdd52 | ||
|
|
eba9ee928f | ||
|
|
9d68bcd2ff | ||
|
|
ff6e83f1c8 | ||
|
|
273d1377b9 | ||
|
|
106863d986 | ||
|
|
688abc5703 | ||
|
|
e9fada7bbd | ||
|
|
853eefb48c | ||
|
|
34c4e9accc | ||
|
|
8f73f46fcf | ||
|
|
cd6b8e49e5 | ||
|
|
3e4f5ebe3e | ||
|
|
2a7dde25ea | ||
|
|
59ade8db2b | ||
|
|
a035d3f47e | ||
|
|
4e4cce85e8 | ||
|
|
3a45a45f99 | ||
|
|
747c881b74 | ||
|
|
23c53a782c | ||
|
|
b327524823 | ||
|
|
63ce497551 | ||
|
|
49dd2287ad | ||
|
|
eeeaf9166b | ||
|
|
64b6c78b92 | ||
|
|
a68409917e | ||
|
|
17a693f768 | ||
|
|
2b2b070979 | ||
|
|
afa6942d77 | ||
|
|
e4d815ae54 | ||
|
|
476b3a00d5 | ||
|
|
7ea6dd3411 | ||
|
|
dce89d699a | ||
|
|
84e9334a20 | ||
|
|
73aeba99b3 | ||
|
|
6372acdf2d | ||
|
|
180734119a | ||
|
|
6139c70e97 | ||
|
|
b182e6e59e | ||
|
|
76cba3c817 |
@@ -0,0 +1,202 @@
|
|||||||
|
-------------------------
|
||||||
|
-------------------------
|
||||||
|
-------------------------
|
||||||
|
CREATE TABLE `aed_equipment_certificate` (
|
||||||
|
`id` bigint NOT NULL COMMENT '主键',
|
||||||
|
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '姓名',
|
||||||
|
`sex` int DEFAULT NULL COMMENT '性别',
|
||||||
|
`birthday` datetime DEFAULT NULL COMMENT '出生年月',
|
||||||
|
`unit` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '单位',
|
||||||
|
`dept` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '部门',
|
||||||
|
`certificate_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '证书编号',
|
||||||
|
`del_flag` tinyint(1) NOT NULL DEFAULT '0' COMMENT '删除状态(0-正常,1-已删除)',
|
||||||
|
`create_by` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '创建人',
|
||||||
|
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||||
|
`update_by` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '更新人',
|
||||||
|
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
||||||
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='aed取证人员列表';
|
||||||
|
-------------------------
|
||||||
|
-------------------------
|
||||||
|
-------------------------
|
||||||
|
CREATE TABLE `aed_equipment_maintain` (
|
||||||
|
`id` bigint NOT NULL COMMENT '主键',
|
||||||
|
`equipment_id` bigint DEFAULT NULL COMMENT '设备id',
|
||||||
|
`maintain_date` date DEFAULT NULL COMMENT '维护日期',
|
||||||
|
`maintain_user` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '维护人',
|
||||||
|
`maintain_user_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '维护人电话',
|
||||||
|
`maintain_unit` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '维护方',
|
||||||
|
`appearance` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '外观是否完好',
|
||||||
|
`switch_flag` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '按钮开关是否正常工作',
|
||||||
|
`battery` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '电池电量情况',
|
||||||
|
`battery_flag` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '电池是否完好',
|
||||||
|
`electrode_validity` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '电极片是否在有效期内',
|
||||||
|
`consumable` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '耗材是否无损',
|
||||||
|
`siren` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '警报器是否完好',
|
||||||
|
`battery_validity` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '电池是否再有效期内',
|
||||||
|
`electrode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '电极片是否完好',
|
||||||
|
`identification` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '标志标识清晰或模糊',
|
||||||
|
`del_flag` tinyint(1) NOT NULL DEFAULT '0' COMMENT '删除状态(0-正常,1-已删除)',
|
||||||
|
`create_by` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '创建人',
|
||||||
|
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||||
|
`update_by` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '更新人',
|
||||||
|
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
||||||
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='aed设备维护表';
|
||||||
|
-------------------------
|
||||||
|
-------------------------
|
||||||
|
-------------------------
|
||||||
|
CREATE TABLE `aed_equipment_manger` (
|
||||||
|
`id` bigint NOT NULL COMMENT '主键',
|
||||||
|
`name` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL COMMENT '名称',
|
||||||
|
`longitude` decimal(10,6) DEFAULT NULL COMMENT '经度',
|
||||||
|
`latitude` decimal(10,6) DEFAULT NULL COMMENT '纬度',
|
||||||
|
`depart_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '部门编码',
|
||||||
|
`host_model` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '主机型号',
|
||||||
|
`host_serial_num` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '主机序列号(编号)',
|
||||||
|
`electrode_sheet_valid_time` date DEFAULT NULL COMMENT '电极片有效期',
|
||||||
|
`router_model` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '路由器型号',
|
||||||
|
`router_serial_num` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '路由器序列号',
|
||||||
|
`battery_model` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '电池型号',
|
||||||
|
`battery_voltage` double(5,2) DEFAULT NULL COMMENT '电池电压',
|
||||||
|
`warranty_start_date` date DEFAULT NULL COMMENT '质保开始时间',
|
||||||
|
`warranty_end_date` date DEFAULT NULL COMMENT '质保结束时间',
|
||||||
|
`aed_img` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '设备图片 多个","分隔',
|
||||||
|
`mfrs_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '制造商名称',
|
||||||
|
`mfrs_mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '制造商联系电话',
|
||||||
|
`install_address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '安装位置',
|
||||||
|
`install_address_img` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '位置图片 多个","分隔',
|
||||||
|
`manage_user_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '管理人员id',
|
||||||
|
`manage_user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '管理人员',
|
||||||
|
`manage_user_mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '管理人员电话',
|
||||||
|
`check_status` tinyint(1) DEFAULT '-1' COMMENT '自检查状态',
|
||||||
|
`electrode_sheet_status` tinyint(1) DEFAULT '-1' COMMENT '电极片状态',
|
||||||
|
`battery_status` tinyint(1) DEFAULT '-1' COMMENT '电池状态',
|
||||||
|
`router_status` tinyint(1) DEFAULT '-1' COMMENT '路由状态',
|
||||||
|
`electrode_is_ok` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '电极片是否完好(0:否 1:是)',
|
||||||
|
`manage_depart_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '管理部门code',
|
||||||
|
`manage_depart_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '管理部门名',
|
||||||
|
`charge_first` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '负责人1',
|
||||||
|
`charge_first_mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '负责人1电话',
|
||||||
|
`charge_second` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '负责人2',
|
||||||
|
`charge_second_mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '负责人2电话',
|
||||||
|
`annex` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '附件',
|
||||||
|
`video_handle` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '视频操作',
|
||||||
|
`handle_explain` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci COMMENT '操作说明',
|
||||||
|
`aed_annex_status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '设备附件状态',
|
||||||
|
`install_time` date DEFAULT NULL COMMENT '安装时间',
|
||||||
|
`cover_user_num` int DEFAULT NULL COMMENT '覆盖人数',
|
||||||
|
`del_flag` tinyint(1) NOT NULL DEFAULT '0' COMMENT '删除状态(0-正常,1-已删除)',
|
||||||
|
`create_by` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '创建人',
|
||||||
|
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||||
|
`update_by` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '更新人',
|
||||||
|
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
||||||
|
`memo` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '覆盖人数',
|
||||||
|
`operate_instruction` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '操作图片(文件路径)此处向下为新增的字段',
|
||||||
|
`operate_video` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '操作视频(文件路径)',
|
||||||
|
`disclaimer` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '免责说明(文件路径)',
|
||||||
|
`brand` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '品牌',
|
||||||
|
`type` int DEFAULT NULL COMMENT '来源字典 设备类型 1:立式 ,2:挂式,3:车载',
|
||||||
|
`in_storage_date` date DEFAULT NULL COMMENT '入库日期',
|
||||||
|
`out_factory_date` datetime DEFAULT NULL COMMENT '出厂日期',
|
||||||
|
`battery_life` datetime DEFAULT NULL COMMENT '电池有效期',
|
||||||
|
`model` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '型号',
|
||||||
|
`control_org_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '管理部门名称',
|
||||||
|
`publish_flag` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否已布点1:是,0:否',
|
||||||
|
`code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '编号',
|
||||||
|
`electric_quantity` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '电量',
|
||||||
|
`status` int DEFAULT NULL COMMENT '设备状态 1:正常中,2:维护中',
|
||||||
|
`self_check_update_time` datetime DEFAULT NULL COMMENT '自检信息更新时间',
|
||||||
|
`camera_num` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '摄像头序列号',
|
||||||
|
`camera_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '摄像头验证码',
|
||||||
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='应急资源表';
|
||||||
|
-------------------------
|
||||||
|
-------------------------
|
||||||
|
-------------------------
|
||||||
|
CREATE TABLE `aed_equipment_retrain` (
|
||||||
|
`id` bigint NOT NULL COMMENT '主键',
|
||||||
|
`train_id` bigint DEFAULT NULL COMMENT '培训id',
|
||||||
|
`train_date` datetime DEFAULT NULL COMMENT '培训日期',
|
||||||
|
`address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '培训地点',
|
||||||
|
`user_nums` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '参训人数',
|
||||||
|
`re_train_status` tinyint(1) DEFAULT NULL COMMENT '复训效果(1:优,2:良,3:中,4:差)',
|
||||||
|
`site_pic` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '现场图片',
|
||||||
|
`site_video` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '现场视频',
|
||||||
|
`del_flag` tinyint(1) NOT NULL DEFAULT '0' COMMENT '删除状态(0-正常,1-已删除)',
|
||||||
|
`create_by` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '创建人',
|
||||||
|
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||||
|
`update_by` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '更新人',
|
||||||
|
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
||||||
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='aed复训记录表';
|
||||||
|
-------------------------
|
||||||
|
-------------------------
|
||||||
|
-------------------------
|
||||||
|
CREATE TABLE `aed_equipment_train` (
|
||||||
|
`id` bigint NOT NULL COMMENT '主键',
|
||||||
|
`flag` int DEFAULT NULL COMMENT '类型 1:现场培训 ,2:现场演练',
|
||||||
|
`equipment_id` bigint NOT NULL COMMENT '设备id',
|
||||||
|
`train_date` date DEFAULT NULL COMMENT '培训日期/演练日期',
|
||||||
|
`join_nums` int DEFAULT NULL COMMENT '参加人数',
|
||||||
|
`qualified_nums` int DEFAULT NULL COMMENT '合格人数',
|
||||||
|
`charge_user1` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '负责人1',
|
||||||
|
`charge_user2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '负责人1',
|
||||||
|
`site_sign_sheet` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '现场签到表(文件路径)',
|
||||||
|
`site_pic` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '现场图片(文件路径)',
|
||||||
|
`site_video` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '现场视频(文件路径)',
|
||||||
|
`site_profile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '培演资料(文件路径)',
|
||||||
|
`effect` int DEFAULT NULL COMMENT '培演效果 1:优,2:良,3:中,4:差',
|
||||||
|
`del_flag` tinyint(1) NOT NULL DEFAULT '0' COMMENT '删除状态(0-正常,1-已删除)',
|
||||||
|
`create_by` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '创建人',
|
||||||
|
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||||
|
`update_by` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '更新人',
|
||||||
|
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
||||||
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='aed设备现场培训、演练表';
|
||||||
|
-------------------------
|
||||||
|
-------------------------
|
||||||
|
-------------------------
|
||||||
|
CREATE TABLE `aed_location_equipment` (
|
||||||
|
`id` bigint NOT NULL COMMENT '主键',
|
||||||
|
`equipment_id` bigint DEFAULT NULL COMMENT '设备id',
|
||||||
|
`pick_date` date DEFAULT NULL COMMENT '布点日期',
|
||||||
|
`address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '布点位置',
|
||||||
|
`longitude` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '经度',
|
||||||
|
`latitude` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '纬度',
|
||||||
|
`cover_nums` int DEFAULT NULL COMMENT '覆盖人数',
|
||||||
|
`first_charge` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '责任人1',
|
||||||
|
`first_charge_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '责任人1电话',
|
||||||
|
`second_charge` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '责任人2',
|
||||||
|
`second_charge_tel` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '责任人2电话',
|
||||||
|
`status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态(1-正常,2-冻结)',
|
||||||
|
`del_flag` tinyint(1) NOT NULL DEFAULT '0' COMMENT '删除状态(0-正常,1-已删除)',
|
||||||
|
`create_by` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '创建人',
|
||||||
|
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||||
|
`update_by` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '更新人',
|
||||||
|
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
||||||
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='aed设备布点位置表';
|
||||||
|
-------------------------
|
||||||
|
-------------------------
|
||||||
|
-------------------------
|
||||||
|
CREATE TABLE `aed_use_record` (
|
||||||
|
`id` bigint NOT NULL COMMENT '主键',
|
||||||
|
`equipment_id` bigint DEFAULT NULL COMMENT '设备id',
|
||||||
|
`used_time` datetime DEFAULT NULL COMMENT '使用时间',
|
||||||
|
`salved_person` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '被救助人',
|
||||||
|
`heart_flag` int DEFAULT NULL COMMENT '症状1 来源字典(1:有呼吸,2:无呼吸)',
|
||||||
|
`consciousness_flag` int DEFAULT NULL COMMENT '症状2来源字典(1:有意识,2:无意识)',
|
||||||
|
`use_user` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '使用人',
|
||||||
|
`use_instruction` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '使用过程说明',
|
||||||
|
`start_nums` int DEFAULT NULL COMMENT '启动次数',
|
||||||
|
`success_rate` double(10,2) DEFAULT NULL COMMENT '成功除颤率',
|
||||||
|
`fail_rate` double(10,2) DEFAULT NULL COMMENT '故障率',
|
||||||
|
`use_result` int DEFAULT NULL COMMENT '应用结果(1:救治成功,2:救治失败)',
|
||||||
|
`del_flag` tinyint(1) NOT NULL DEFAULT '0' COMMENT '删除状态(0-正常,1-已删除)',
|
||||||
|
`create_by` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '创建人',
|
||||||
|
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||||
|
`update_by` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL COMMENT '更新人',
|
||||||
|
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
||||||
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='aed应用记录表';
|
||||||
@@ -0,0 +1,244 @@
|
|||||||
|
---------------------------xj_aed表 先删除后插入
|
||||||
|
|
||||||
|
DELETE FROM xj_aed;
|
||||||
|
|
||||||
|
---------------------------
|
||||||
|
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214849', '自动体外除颤仪', '公司机关机关机关楼一楼524房间', 84.892962, 45.571915, NULL, NULL, 'A01A18', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214850', '自动体外除颤仪', '乌鲁木齐明园服务中心无明园服务中心综合办公楼四层会议室门口', 87.597842, 43.818145, NULL, NULL, 'A01A38', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214851', '自动体外除颤仪', '西部原油销售中心无明园服务中心综合办公楼四层会议室门口', 87.597842, 43.818145, NULL, NULL, 'A01A19', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214852', '自动体外除颤仪', '玛湖勘探开发项目部项目部机关(油田公司机关2#楼7楼、8楼)油田公司机关2#楼1楼大厅', 84.886853, 45.578863, NULL, NULL, 'A01A26', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214853', '自动体外除颤仪', '玛湖勘探开发项目部项目部基地项目部基地2#办公楼1楼墙面', 85.413101, 45.911086, NULL, NULL, 'A01A26', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214854', '自动体外除颤仪', '监督中心机关、各监督站油田公司机关2#楼1楼大厅', 84.886853, 45.578863, NULL, NULL, 'A01A16', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214855', '自动体外除颤仪', '监督中心计量监督检测中心、质量安全环保研究所公共事务中心大院5号楼1楼', 84.873536, 45.599149, NULL, NULL, 'A01A16', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214856', '自动体外除颤仪', '监督中心油田化学剂产品质量监督检验站勘探开发研究院大院6号楼一楼', 84.901295, 45.604129, NULL, NULL, 'A01A16', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214857', '自动体外除颤仪', '监督中心环境监测站勘探开发研究院大院2号楼一楼', 84.899350, 45.604129, NULL, NULL, 'A01A16', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214858', '自动体外除颤仪', '新疆油田储气库有限公司机关机关二楼健康小屋内', 86.888887, 44.174855, NULL, NULL, 'A01A32', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214859', '自动体外除颤仪', '新疆油田储气库有限公司集注站集注站中控', 87.029069, 44.129586, NULL, NULL, 'A01A32', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214860', '自动体外除颤仪', '风城油田作业区乌尔禾机关机关楼一楼大厅', 85.679373, 46.090483, NULL, NULL, 'A01A08', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214861', '自动体外除颤仪', '风城油田作业区乌尔禾A栋办公楼B栋房务中心', 85.676867, 46.089368, NULL, NULL, 'A01A08', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214862', '自动体外除颤仪', '风城油田作业区乌尔禾B栋宿舍B栋房务中心', 85.676867, 46.089368, NULL, NULL, 'A01A08', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214863', '自动体外除颤仪', '风城油田作业区乌尔禾C栋宿舍C栋房务中心', 85.681600, 46.089099, NULL, NULL, 'A01A08', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214864', '自动体外除颤仪', '风城油田作业区乌尔禾D栋宿舍D栋房务中心', 85.683271, 46.089658, NULL, NULL, 'A01A08', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214865', '自动体外除颤仪', '风城油田作业区乌尔禾E栋宿舍E栋房务中心', 85.684106, 46.089659, NULL, NULL, 'A01A08', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214866', '自动体外除颤仪', '开发公司机关石油大厦B座23楼电梯前室', 84.903242, 45.673281, NULL, NULL, 'A01A25', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214867', '自动体外除颤仪', '开发公司第一项目经理部第一项目部基地112房间', 85.067125, 45.673073, NULL, NULL, 'A01A25', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214868', '自动体外除颤仪', '开发公司第二项目经理部第二项目部基地安全办', 86.853424, 45.429250, NULL, NULL, 'A01A25', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214869', '自动体外除颤仪', '采气一厂机关机关楼一楼大厅', 84.869098, 45.599154, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214870', '自动体外除颤仪', '采气一厂机关机关楼一楼大厅', 84.869098, 45.599154, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214871', '自动体外除颤仪', '采气一厂呼图壁采气作业区石油公寓2楼218', 86.901390, 44.191784, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214872', '自动体外除颤仪', '采气一厂克75采气作业区中控室', 85.193392, 45.182159, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214873', '自动体外除颤仪', '采气一厂克75采气作业区中控室', 85.193392, 45.182159, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214874', '自动体外除颤仪', '采气一厂试采维修抢险中心前院办公室中控室', 85.055415, 45.480862, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214875', '自动体外除颤仪', '采气一厂试采维修抢险中心前院办公室中控室', 85.055415, 45.480862, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214876', '自动体外除颤仪', '采气一厂克拉美丽采气作业区健康小屋', 87.613755, 45.243382, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214877', '自动体外除颤仪', '采气一厂盆5采气作业区公寓医护值班室', 86.203756, 44.950184, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214878', '自动体外除颤仪', '采气一厂玛河作业区公寓一楼南103医护值班室', 86.056411, 44.283982, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214879', '自动体外除颤仪', '采气一厂玛河作业区公寓一楼南103医护值班室', 86.056411, 44.283982, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214880', '自动体外除颤仪', '采油二厂机关机关楼一楼大厅', NULL, NULL, NULL, NULL, 'A01A05', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214881', '自动体外除颤仪', '采油二厂第一采油作业区7821中心站', NULL, NULL, NULL, NULL, 'A01A05', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214882', '自动体外除颤仪', '采油二厂第二采油作业区7109中心站', NULL, NULL, NULL, NULL, 'A01A05', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214883', '自动体外除颤仪', '采油二厂第三采油作业区7830中心站', NULL, NULL, NULL, NULL, 'A01A05', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214884', '自动体外除颤仪', '采油二厂第五采油作业区5320中心站', NULL, NULL, NULL, NULL, 'A01A05', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214885', '自动体外除颤仪', '采油二厂运行维护一中心8562中心站', NULL, NULL, NULL, NULL, 'A01A05', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214886', '自动体外除颤仪', '采油二厂运行维护一中心8513中心站', NULL, NULL, NULL, NULL, 'A01A05', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214887', '自动体外除颤仪', '采油二厂第七采油作业区5203中心站', NULL, NULL, NULL, NULL, 'A01A05', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214888', '自动体外除颤仪', '采油二厂第八采油作业区5115中心站', NULL, NULL, NULL, NULL, 'A01A05', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214889', '自动体外除颤仪', '采油二厂第九采油作业区玛湖生活基地', NULL, NULL, NULL, NULL, 'A01A05', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214890', '自动体外除颤仪', '采油二厂联合注入站七东1号注聚站', NULL, NULL, NULL, NULL, 'A01A05', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214891', '自动体外除颤仪', '采油二厂联合处理一站81#联合处理站应急材料室', NULL, NULL, NULL, NULL, 'A01A05', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352193', '自动体外除颤仪', '采油二厂联合处理二站51#联合处理站', NULL, NULL, NULL, NULL, 'A01A05', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352194', '自动体外除颤仪', '采油二厂天然气处理站深冷中控室', NULL, NULL, NULL, NULL, 'A01A05', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352195', '自动体外除颤仪', '采油二厂联合办公楼克拉玛依市6+1大楼B座2楼212室', NULL, NULL, NULL, NULL, 'A01A05', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352196', '自动体外除颤仪', '采油二厂综合体育馆白碱滩区综合体育馆大厅', NULL, NULL, NULL, NULL, 'A01A05', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352197', '自动体外除颤仪', '石西油田作业区石西公寓石西公寓大食堂门口', 86.857307, 45.428411, NULL, NULL, 'A01A12', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352198', '自动体外除颤仪', '石西油田作业区石西公寓石西公寓大食堂门口', 86.857307, 45.428411, NULL, NULL, 'A01A12', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352199', '自动体外除颤仪', '石西油田作业区石南4联合站石南4联合站办公区中控室内', 86.737987, 45.623245, NULL, NULL, 'A01A12', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352200', '自动体外除颤仪', '石西油田作业区石南4联合站石南4联合站办公区中控室内', 86.737987, 45.623245, NULL, NULL, 'A01A12', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352201', '自动体外除颤仪', '石西油田作业区莫北转油站莫北转油站办公区大门进门左手墙上', 86.769374, 45.223810, NULL, NULL, 'A01A12', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352202', '自动体外除颤仪', '石西油田作业区莫北转油站莫北转油站办公区大门进门左手墙上', 86.769374, 45.223810, NULL, NULL, 'A01A12', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352203', '自动体外除颤仪', '石西油田作业区莫109转输处理站莫109转输站办公区中控室内', 86.606250, 45.114165, NULL, NULL, 'A01A12', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352204', '自动体外除颤仪', '石西油田作业区莫109转输处理站莫109转输站办公区中控室内', 86.606250, 45.114165, NULL, NULL, 'A01A12', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352205', '自动体外除颤仪', '石西油田作业区石204混输泵站石204混输泵站采油食堂进门左手处', 86.838465, 45.701458, NULL, NULL, 'A01A12', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352206', '自动体外除颤仪', '石西油田作业区石204混输泵站石204混输泵站采油食堂进门左手处', 86.838465, 45.701458, NULL, NULL, 'A01A12', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352207', '自动体外除颤仪', '石西油田作业区石南31联合站采油休息办公室石南31联合站采油办公室车库进门右手处', 86.950727, 45.614508, NULL, NULL, 'A01A12', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352208', '自动体外除颤仪', '石西油田作业区石南31联合站采油休息办公室石南31联合站采油办公室车库进门右手处', 86.950727, 45.614508, NULL, NULL, 'A01A12', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352209', '自动体外除颤仪', '吉庆油田作业区机关综合楼一楼大厅', 89.220063, 44.003277, NULL, NULL, 'A01A29', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352210', '自动体外除颤仪', '吉庆油田作业区吉7运行维护中心公寓A座2楼222室', 89.277552, 44.105983, NULL, NULL, 'A01A29', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352211', '自动体外除颤仪', '吉庆油田作业区页岩油运行维护中心红旗大饭店4楼412室', 89.111967, 44.236072, NULL, NULL, 'A01A29', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352212', '自动体外除颤仪', '油田技术服务分公司机关科研生产办公楼A座机关楼五楼茶水间(503-2对面)', 84.900460, 45.571913, NULL, NULL, 'A01A36', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352213', '自动体外除颤仪', '油田技术服务分公司机关科研生产办公楼A座机关楼五楼茶水间(503-2对面)', 84.900460, 45.571913, NULL, NULL, 'A01A36', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352214', '自动体外除颤仪', '百口泉采油厂市区机关3楼羽毛球场', 84.896294, 45.576635, NULL, NULL, 'A01A03', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352215', '自动体外除颤仪', '百口泉采油厂百口泉基地体育馆', 85.415878, 45.912751, NULL, NULL, 'A01A03', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352216', '自动体外除颤仪', '百口泉采油厂百21采油作业区百21作业区113室', 85.414490, 45.913029, NULL, NULL, 'A01A03', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352217', '自动体外除颤仪', '百口泉采油厂检188采油作业区检188作业区调度室', 85.414490, 45.913029, NULL, NULL, 'A01A03', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352218', '自动体外除颤仪', '百口泉采油厂玛湖第一采油作业区玛一作业区调度室', 85.937222, 45.964626, NULL, NULL, 'A01A03', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352219', '自动体外除颤仪', '百口泉采油厂玛湖第二采油作业区玛二作业区资料组办公室', 86.006614, 46.073928, NULL, NULL, 'A01A03', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352220', '自动体外除颤仪', '百口泉采油厂玛湖第三采油作业区基地会议室', 85.765285, 45.814277, NULL, NULL, 'A01A03', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352221', '自动体外除颤仪', '百口泉采油厂玛湖第三采油作业区玛中4基地会议室', 85.761668, 45.642106, NULL, NULL, 'A01A03', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352222', '自动体外除颤仪', '百口泉采油厂注输联合站玛18转油站会议室', 85.765285, 45.814277, NULL, NULL, 'A01A03', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352223', '自动体外除颤仪', '百口泉采油厂注输联合站玛131转油站会议室', 86.006614, 46.073928, NULL, NULL, 'A01A03', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352224', '自动体外除颤仪', '百口泉采油厂注输联合站注输联合站小会议室', 85.478225, 45.921806, NULL, NULL, 'A01A03', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352225', '自动体外除颤仪', '百口泉采油厂员工培训站员工培训中心会议室', 85.414212, 45.905810, NULL, NULL, 'A01A03', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352226', '自动体外除颤仪', '电力公司机关机关楼一楼大厅', 85.124667, 45.692528, NULL, NULL, 'A01A07', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352227', '自动体外除颤仪', '电力公司发电机关楼一楼大厅', 85.124667, 45.692528, NULL, NULL, 'A01A07', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352228', '自动体外除颤仪', '咨询中心机关、各业务部室油田公司机关2#楼1楼大厅', 84.886974, 45.578946, NULL, NULL, 'A01A27', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352229', '自动体外除颤仪', '咨询中心机关、各业务部室油田公司机关2#楼1楼大厅', 84.886974, 45.578946, NULL, NULL, 'A01A27', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352230', '自动体外除颤仪', '准东采油厂机关机关楼一楼大厅', 87.886688, 44.143790, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352231', '自动体外除颤仪', '准东采油厂机关机关食堂', 87.884192, 44.147956, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352232', '自动体外除颤仪', '准东采油厂甘泉河作业区甘泉河健康小屋内', 88.744436, 44.104291, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352233', '自动体外除颤仪', '准东采油厂甘泉河作业区甘泉河员工餐厅', 88.742768, 44.102903, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352234', '自动体外除颤仪', '准东采油厂甘泉河作业区甘泉河办公楼一楼', 88.746102, 44.103181, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352235', '自动体外除颤仪', '准东采油厂沙南作业区沙南健康小屋内', 88.716637, 44.349966, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352236', '自动体外除颤仪', '准东采油厂沙南作业区沙南北联站', 88.719143, 44.367462, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352237', '自动体外除颤仪', '准东采油厂沙南作业区沙南西泉1区', 88.606412, 44.323148, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352238', '自动体外除颤仪', '准东采油厂沙南作业区沙南沙联站', 88.700499, 44.479339, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352239', '自动体外除颤仪', '准东采油厂吉庆运维项目部红旗大酒店4楼健康小屋', 89.108922, 44.398218, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352240', '自动体外除颤仪', '准东采油厂吉庆运维项目部红旗大酒店4楼健康小屋', 89.108922, 44.398218, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352241', '自动体外除颤仪', '准东采油厂南疆(哈得)项目部跃满公寓一楼西头', 82.995713, 40.787383, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352242', '自动体外除颤仪', '准东采油厂水务公司水务公司水二泵站', 88.974941, 44.691779, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352243', '自动体外除颤仪', '准东采油厂勘探开发研究所基地勘探开发研究所基地办公楼', 87.093713, 44.151348, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352244', '自动体外除颤仪', '准东采油厂勘探开发研究所明园勘探开发研究所明园办公楼', 87.595343, 43.817591, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352245', '自动体外除颤仪', '准东采油厂火烧山作业区火烧山公寓健康小屋', 89.002570, 44.920211, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352246', '自动体外除颤仪', '准东采油厂火烧山作业区火烧山新公寓一楼', 89.002012, 44.919654, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352247', '自动体外除颤仪', '准东采油厂彩南作业区1号公寓健康小屋', 88.367529, 44.987863, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352248', '自动体外除颤仪', '准东采油厂彩南作业区滴12生活点会议室', 88.820803, 45.508526, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266753', '自动体外除颤仪', '准东采油厂彩南作业区集中处理站党员服务室', 88.362798, 44.978688, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266754', '自动体外除颤仪', '准东采油厂彩南作业区彩参二班组', 88.405333, 44.975112, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266755', '自动体外除颤仪', '准东采油厂工程技术服务公司工程技术服务公司沙南驻地走廊西侧', 88.726932, 44.351088, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266756', '自动体外除颤仪', '准东采油厂工程技术服务公司工程技术服务公司吉7驻地餐厅', 89.277552, 44.102652, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266757', '自动体外除颤仪', '准东采油厂供电(新能源)公司火烧山110kV变电所', 89.030746, 44.948075, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266758', '自动体外除颤仪', '准东采油厂油田保障中心体育馆一楼大厅', 87.893901, 44.145174, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266759', '自动体外除颤仪', '准东采油厂油田公寓服务中心准东宾馆总台', 87.886966, 44.149065, NULL, NULL, 'A01A17', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266760', '自动体外除颤仪', '重油开发公司机关机关楼一楼大厅', 84.860503, 45.618329, NULL, NULL, 'A01A15', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266761', '自动体外除颤仪', '重油开发公司采油作业一区采油一区三班', 84.864939, 45.618601, NULL, NULL, 'A01A15', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266762', '自动体外除颤仪', '重油开发公司采油作业二区采油二区大班房', 85.251688, 45.775667, NULL, NULL, 'A01A15', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266763', '自动体外除颤仪', '重油开发公司采油作业三区采油三区大班房', 85.463515, 45.120264, NULL, NULL, 'A01A15', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266764', '自动体外除颤仪', '重油开发公司采油作业四区采油三班基地会议室', 85.200055, 45.392445, NULL, NULL, 'A01A15', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266765', '自动体外除颤仪', '重油开发公司采油作业五区采油五区大班房', 85.181779, 45.714932, NULL, NULL, 'A01A15', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266766', '自动体外除颤仪', '重油开发公司采油作业六区五区南班组基地', 85.214494, 45.793743, NULL, NULL, 'A01A15', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266767', '自动体外除颤仪', '重油开发公司集输污水联合站金龙2转油站', 85.241668, 45.357122, NULL, NULL, 'A01A15', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266768', '自动体外除颤仪', '应急抢险救援中心中心机关中心机关楼四楼公共展厅', 84.835834, 45.573936, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266769', '自动体外除颤仪', '应急抢险救援中心中心机关中心机关楼四楼公共展厅', 84.835834, 45.573936, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266770', '自动体外除颤仪', '应急抢险救援中心研究所中心机关楼四楼公共展厅', 84.835834, 45.573936, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266771', '自动体外除颤仪', '应急抢险救援中心技术监督中心中心机关楼四楼公共展厅', 84.835834, 45.573936, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266772', '自动体外除颤仪', '应急抢险救援中心技术监督中心井控技术分公司一楼过道', 84.875754, 45.591647, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266773', '自动体外除颤仪', '应急抢险救援中心井控培训中心教学楼A-B区走廊', 84.873814, 45.606370, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266774', '自动体外除颤仪', '应急抢险救援中心储层作业分公司分公司机关二楼大厅', 85.111481, 45.678892, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266775', '自动体外除颤仪', '应急抢险救援中心酸压作业分公司酸压作业分公司机关楼二楼', 85.052636, 45.627502, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266776', '自动体外除颤仪', '应急抢险救援中心零散气作业分公司零散气作业分公司机关楼二楼', 85.052636, 45.627502, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266777', '自动体外除颤仪', '应急抢险救援中心井筒作业分公司共用井控技术分公司一楼过道', 84.875754, 45.591647, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266778', '自动体外除颤仪', '应急抢险救援中心井筒作业分公司陆梁基地会议室', 86.896466, 45.860501, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266779', '自动体外除颤仪', '应急抢险救援中心机械设备制造分公司机关大厅', 85.084933, 45.599498, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266780', '自动体外除颤仪', '应急抢险救援中心井控技术分公司井控技术分公司一楼过道', 84.875754, 45.591647, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266781', '自动体外除颤仪', '应急抢险救援中心带压作业分公司带压作业分公司一楼过道', 85.116617, 45.680038, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266782', '自动体外除颤仪', '应急抢险救援中心连管作业分公司带压作业分公司一楼过道', 85.116617, 45.680038, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266783', '自动体外除颤仪', '应急抢险救援中心特车分公司特车分公司机关楼', 85.050406, 45.627220, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266784', '自动体外除颤仪', '应急抢险救援中心综合服务站共用井控技术分公司一楼过道', 84.875754, 45.591647, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375617', '自动体外除颤仪', '应急抢险救援中心准东消防大队准东消防大队一楼大厅', 87.881141, 44.152678, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375618', '自动体外除颤仪', '应急抢险救援中心白碱滩消防大队健身房', 85.122446, 45.685865, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375619', '自动体外除颤仪', '应急抢险救援中心沙漠腹部消防大队石西作业区公寓1#食堂门口', 86.857307, 45.428689, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375620', '自动体外除颤仪', '应急抢险救援中心陆梁作业区公寓2#食堂门口', 86.891187, 45.858004, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375621', '自动体外除颤仪', '应急抢险救援中心百口泉消防大队百口泉消防大队一楼大厅', 84.886854, 45.603024, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375622', '自动体外除颤仪', '应急抢险救援中心风城油田消防中队风城油田消防中队执勤楼一楼大厅', 85.675196, 46.092419, NULL, NULL, 'A01A13', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375623', '自动体外除颤仪', '新能源事业部机关机关2号楼656办公室', 84.883523, 45.577753, NULL, NULL, 'A01A24', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375624', '自动体外除颤仪', '新能源事业部煤电项目部煤电项目部一楼大厅', 85.016096, 45.547144, NULL, NULL, 'A01A24', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375625', '自动体外除颤仪', '红山公司机关科研生产办公楼A座机关楼七楼茶水间', 84.896905, 45.570603, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375626', '自动体外除颤仪', '红山公司运行维护二中心(办公室)运行维护二中心坡下基地调度值班室', 84.816239, 45.367030, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375627', '自动体外除颤仪', '红山公司运行维护二中心(办公室)运行维护二中心7号中心站对面值班室', 84.817236, 45.353428, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375628', '自动体外除颤仪', '红山公司运行维护三中心(办公室)运行维护三中心处理站仪控室', 84.823821, 45.368316, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375629', '自动体外除颤仪', '油气储运公司克区机关楼209室', 84.981774, 45.574815, NULL, NULL, 'A01A14', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375630', '自动体外除颤仪', '油气储运公司昌吉机关楼421室', 87.302532, 43.991870, NULL, NULL, 'A01A14', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375631', '自动体外除颤仪', '油气储运公司石西站石西站公寓大门口', 86.869512, 45.428671, NULL, NULL, 'A01A14', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375632', '自动体外除颤仪', '油气储运公司北三台站油库北三台站油库', 88.710788, 44.243344, NULL, NULL, 'A01A14', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375633', '自动体外除颤仪', '油气储运公司北三台站彩南交接点北三台站彩南交接点', 88.363077, 44.976466, NULL, NULL, 'A01A14', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375634', '自动体外除颤仪', '油气储运公司北三台站火烧山交油点北三台站火烧山交油点', 89.028515, 44.948347, NULL, NULL, 'A01A14', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375635', '自动体外除颤仪', '油气储运公司706站706站经济员办公室', 86.966269, 44.077771, NULL, NULL, 'A01A14', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375636', '自动体外除颤仪', '油气储运公司706站705站点705站点技术员办公室', 86.527177, 44.300162, NULL, NULL, 'A01A14', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375637', '自动体外除颤仪', '油气储运公司四泵站办公楼二楼党员之家办公室', 84.768154, 44.916483, NULL, NULL, 'A01A14', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375638', '自动体外除颤仪', '油气储运公司六泵站六泵站会议室', 84.859622, 44.442485, NULL, NULL, 'A01A14', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375639', '自动体外除颤仪', '油气储运公司704站704站技术员办公室', 85.498086, 44.830121, NULL, NULL, 'A01A14', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375640', '自动体外除颤仪', '油气储运公司704站703站703站点经济员办公室', 85.498086, 44.830121, NULL, NULL, 'A01A14', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375641', '自动体外除颤仪', '油气储运公司风城中心站夏子街增压站夏子街增压站', 86.084328, 46.150461, NULL, NULL, 'A01A14', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375642', '自动体外除颤仪', '油气储运公司交油队百克站百克站生产值班室', 85.433080, 45.913570, NULL, NULL, 'A01A14', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375643', '自动体外除颤仪', '油气储运公司王家沟油气储运中心站王家沟油气储运中心武警楼健康小屋', 87.366044, 43.880664, NULL, NULL, 'A01A14', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375644', '自动体外除颤仪', '新疆培训中心克拉玛依校区新疆培训中心C1教学楼1楼大厅', 84.928628, 45.548118, NULL, NULL, 'A01A37', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375645', '自动体外除颤仪', '新疆培训中心克拉玛依校区新疆培训中心K2公寓1楼大厅', 84.929947, 45.545808, NULL, NULL, 'A01A37', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375646', '自动体外除颤仪', '数智技术公司全体部门技术信息楼一楼大厅', 83.897238, 45.576331, NULL, NULL, 'A01A20', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375647', '自动体外除颤仪', '数智技术公司全体部门雅典娜办公楼一楼大厅', 84.878820, 45.904886, NULL, NULL, 'A01A20', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375648', '自动体外除颤仪', '数智技术公司全体部门数据中心二楼东面大厅', 84.880193, 45.576369, NULL, NULL, 'A01A20', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375649', '自动体外除颤仪', '数智技术公司全体部门乌鲁木齐明园办公大楼一楼大厅', 87.599231, 43.814259, NULL, NULL, 'A01A20', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375650', '自动体外除颤仪', '采油一厂机关机关楼一楼大厅', 84.882969, 45.596639, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261697', '自动体外除颤仪', '采油一厂机关体育馆西北角', 84.880194, 45.594698, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261698', '自动体外除颤仪', '采油一厂黑油山综合管理部黑油山综合管理部一楼大厅', 84.900184, 45.604407, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261699', '自动体外除颤仪', '采油一厂黑油山综合管理部黑油山综合管理部一楼大厅', 84.900184, 45.604407, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261700', '自动体外除颤仪', '采油一厂第三采油作业区车89处理站中控室', 84.827494, 44.958074, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261701', '自动体外除颤仪', '采油一厂第三采油作业区车89处理站中控室', 84.827494, 44.958074, NULL, NULL, 'A01A06', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261702', '自动体外除颤仪', '物资供应公司机关体育馆门口右侧', 85.879435, 45.588894, NULL, NULL, 'A01A35', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261703', '自动体外除颤仪', '陆梁油田作业区综合管理办公室机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, 'A01A11', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261704', '自动体外除颤仪', '陆梁油田作业区综合管理办公室机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, 'A01A11', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261705', '自动体外除颤仪', '陆梁油田作业区经营管理办公室机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, 'A01A11', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261706', '自动体外除颤仪', '陆梁油田作业区质量健康安全环保办公室机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, 'A01A11', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261707', '自动体外除颤仪', '陆梁油田作业区党群维稳办公室机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, 'A01A11', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261708', '自动体外除颤仪', '陆梁油田作业区地质研究中心机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, 'A01A11', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261709', '自动体外除颤仪', '陆梁油田作业区生产指挥中心机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, 'A01A11', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261710', '自动体外除颤仪', '陆梁油田作业区工程技术中心机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, 'A01A11', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261711', '自动体外除颤仪', '陆梁油田作业区陆梁运行维护中心办公区机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, 'A01A11', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261712', '自动体外除颤仪', '陆梁油田作业区石南运行维护中心办公区机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, 'A01A11', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261713', '自动体外除颤仪', '陆梁油田作业区玛东运行维护中心办公区机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, 'A01A11', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261714', '自动体外除颤仪', '陆梁油田作业区陆梁运行维护中心现场陆梁集中处理站值班室', 86.941263, 45.858865, NULL, NULL, 'A01A11', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261715', '自动体外除颤仪', '陆梁油田作业区石南运行维护中心现场石南集中处理站值班室', 86.894790, 45.693332, NULL, NULL, 'A01A11', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261716', '自动体外除颤仪', '陆梁油田作业区玛东运行维护中心现场玛东集中处理站值班室', 86.549398, 45.862491, NULL, NULL, 'A01A11', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261717', '自动体外除颤仪', '新港公司机关公司七楼健康自助服务站', 84.897960, 45.570525, NULL, NULL, 'A01A31', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261718', '自动体外除颤仪', '新港公司采油作业一区采油作业一区值班室', 85.237800, 45.744015, NULL, NULL, 'A01A31', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261719', '自动体外除颤仪', '新港公司采油作业二区采油作业二区一班值班室', 85.258357, 45.762062, NULL, NULL, 'A01A31', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399041', '自动体外除颤仪', '新港公司采油作业三区采油作业三区值班室', 85.273371, 45.749851, NULL, NULL, 'A01A31', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399042', '自动体外除颤仪', '新港公司供汽作业区供汽作业区软化水站值班室', 85.246686, 45.744012, NULL, NULL, 'A01A31', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399043', '自动体外除颤仪', '新港公司供汽作业区供汽作业区2#站值班室', 85.232247, 45.745684, NULL, NULL, 'A01A31', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399044', '自动体外除颤仪', '新港公司集输作业区集输作业区91处理站值班室', 85.233358, 45.739574, NULL, NULL, 'A01A31', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399045', '自动体外除颤仪', '新港公司运行保障中心运行保障中心值班室', 85.253632, 45.759840, NULL, NULL, 'A01A31', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399046', '自动体外除颤仪', '公共事务中心(离退休人员管理中心)机关行政事务管理部机关楼一楼303房间', 84.892962, 45.571915, NULL, NULL, 'A01A09', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399047', '自动体外除颤仪', '公共事务中心(离退休人员管理中心)造林减排作业区作业区办公楼一楼大厅', 85.008600, 45.274316, NULL, NULL, 'A01A09', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399048', '自动体外除颤仪', '公共事务中心(离退休人员管理中心)离退休管理部原退管办公楼一楼门岗', 84.864609, 45.596429, NULL, NULL, 'A01A09', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399049', '自动体外除颤仪', '公共事务中心(离退休人员管理中心)克拉玛依离退休服务东站东站一楼大厅', 84.882587, 45.593484, NULL, NULL, 'A01A09', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399050', '自动体外除颤仪', '公共事务中心(离退休人员管理中心)白碱滩离退休服务站二楼202房间', NULL, NULL, NULL, NULL, 'A01A09', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399051', '自动体外除颤仪', '社会保险管理中心综合管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399052', '自动体外除颤仪', '社会保险管理中心综合管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399053', '自动体外除颤仪', '社会保险管理中心财务管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399054', '自动体外除颤仪', '社会保险管理中心财务管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399055', '自动体外除颤仪', '社会保险管理中心基金管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399056', '自动体外除颤仪', '社会保险管理中心基金管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399057', '自动体外除颤仪', '社会保险管理中心内控稽核管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399058', '自动体外除颤仪', '社会保险管理中心内控稽核管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399059', '自动体外除颤仪', '社会保险管理中心社保管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399060', '自动体外除颤仪', '社会保险管理中心社保管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399061', '自动体外除颤仪', '社会保险管理中心企业医保管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399062', '自动体外除颤仪', '社会保险管理中心企业医保管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399063', '自动体外除颤仪', '社会保险管理中心信息档案管理站6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399064', '自动体外除颤仪', '社会保险管理中心信息档案管理站6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399065', '自动体外除颤仪', '社会保险管理中心社保事务所6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399066', '自动体外除颤仪', '社会保险管理中心社保事务所6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399067', '自动体外除颤仪', '社会保险管理中心企业医保事务所6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399068', '自动体外除颤仪', '社会保险管理中心企业医保事务所6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, 'A01A39', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399069', '自动体外除颤仪', '勘探开发研究院机关机关一楼大厅', 84.895462, 45.604686, NULL, NULL, 'A01A10', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399070', '自动体外除颤仪', '勘探开发研究院技术服务中心计信楼二楼215房间', 84.895462, 45.604686, NULL, NULL, 'A01A10', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399071', '自动体外除颤仪', '勘探开发研究院技术服务中心体育馆大厅', 84.895462, 45.604686, NULL, NULL, 'A01A10', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399072', '自动体外除颤仪', '勘探开发研究院油气战略规划研究所规划楼一楼中间楼梯边过道', 84.895462, 45.604686, NULL, NULL, 'A01A10', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399073', '自动体外除颤仪', '勘探开发研究院开发实验中心地质岩心库大厅', 84.895462, 45.604686, NULL, NULL, 'A01A10', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399074', '自动体外除颤仪', '勘探开发研究院开发实验中心提采楼西段1楼正门处', 84.895462, 45.604686, NULL, NULL, 'A01A10', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399075', '自动体外除颤仪', '勘探开发研究院稀油开发研究所开发楼一楼大厅', 84.895462, 45.604686, NULL, NULL, 'A01A10', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399076', '自动体外除颤仪', '勘探开发研究院非常规研究所科研楼1楼咖啡间', 84.895462, 45.604686, NULL, NULL, 'A01A10', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399077', '自动体外除颤仪', '勘探开发研究院档案中心档案中心一楼圆厅', 84.895462, 45.604686, NULL, NULL, 'A01A10', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399078', '自动体外除颤仪', '勘探开发研究院中亚油气研究所数据公司信息楼五楼大厅(512门口)', 84.899349, 45.577190, NULL, NULL, 'A01A10', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399079', '自动体外除颤仪', '勘探开发研究院地球物理研究所3号楼3楼西侧走廊', 87.545160, 43.899830, NULL, NULL, 'A01A10', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399080', '自动体外除颤仪', '勘探开发研究院地球物理研究所2号楼2楼西侧', 87.545160, 43.899830, NULL, NULL, 'A01A10', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399081', '自动体外除颤仪', '宇澄热力股份有限公司机关机关楼一楼健身房间', 84.894073, 45.592467, NULL, NULL, 'A01A47', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399082', '自动体外除颤仪', '宇澄热力股份有限公司机关机关楼一楼健身房间', 84.894073, 45.592467, NULL, NULL, 'A01A47', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399083', '自动体外除颤仪', '宇澄热力股份有限公司风城供汽中心1#站风城供汽中心1#站中控室', 85.774179, 46.133604, NULL, NULL, 'A01A47', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399084', '自动体外除颤仪', '宇澄热力股份有限公司风城供汽中心2#站风城供汽中心2#站中控室', 85.806331, 46.129121, NULL, NULL, 'A01A47', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399085', '自动体外除颤仪', '宇澄热力股份有限公司红山供汽中心红山供汽中心中控室', 84.797023, 45.329293, NULL, NULL, 'A01A47', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399086', '自动体外除颤仪', '采油工艺研究院(监理公司)采油工艺研究所老机关楼1楼大厅', 84.888243, 45.612189, NULL, NULL, 'A01A33', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399087', '自动体外除颤仪', '采油工艺研究院(监理公司)采油工艺实验中心物业楼二楼楼道内东头', 84.884635, 45.614135, NULL, NULL, 'A01A33', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399088', '自动体外除颤仪', '采油工艺研究院(监理公司)设备设施完整性检验检测中心管柱楼办公楼1楼道内', 84.887966, 45.612744, NULL, NULL, 'A01A33', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399089', '自动体外除颤仪', '采油工艺研究院(监理公司)节能监测中心勘探院南院6号楼1楼大厅', 84.907686, 45.610239, NULL, NULL, 'A01A33', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_emergency`.`xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399090', '自动体外除颤仪', '采油工艺研究院(监理公司)体育馆院体育馆大厅内', 84.885468, 45.613301, NULL, NULL, 'A01A33', 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
INSERT INTO aed_equipment_manger (
|
||||||
|
id,
|
||||||
|
name,
|
||||||
|
longitude,
|
||||||
|
latitude,
|
||||||
|
depart_code,
|
||||||
|
del_flag,
|
||||||
|
create_by,
|
||||||
|
create_time,
|
||||||
|
update_by,
|
||||||
|
update_time,
|
||||||
|
charge_first,
|
||||||
|
charge_first_mobile,
|
||||||
|
manage_depart_code,
|
||||||
|
manage_user_name,
|
||||||
|
manage_user_mobile,
|
||||||
|
publish_flag
|
||||||
|
)
|
||||||
|
SELECT
|
||||||
|
id,
|
||||||
|
name,
|
||||||
|
CAST(longitude AS DECIMAL(10,6)),
|
||||||
|
CAST(latitude AS DECIMAL(10,6)),
|
||||||
|
org_code,
|
||||||
|
del_flag,
|
||||||
|
create_by,
|
||||||
|
create_time,
|
||||||
|
update_by,
|
||||||
|
update_time,
|
||||||
|
manage_name,
|
||||||
|
manage_phone,
|
||||||
|
org_code,
|
||||||
|
manage_name,
|
||||||
|
manage_phone,
|
||||||
|
1
|
||||||
|
FROM xj_aed
|
||||||
|
WHERE del_flag = 0;
|
||||||
|
|
||||||
|
|
||||||
|
INSERT INTO aed_location_equipment (id, equipment_id, address, longitude, latitude)
|
||||||
|
SELECT
|
||||||
|
UUID_SHORT(),
|
||||||
|
aem.id,
|
||||||
|
xa.address,
|
||||||
|
CAST(xa.longitude AS DECIMAL(10,6)),
|
||||||
|
CAST(xa.latitude AS DECIMAL(10,6))
|
||||||
|
FROM xj_aed xa
|
||||||
|
JOIN aed_equipment_manger aem
|
||||||
|
ON xa.id = aem.id
|
||||||
|
WHERE xa.address IS NOT NULL AND xa.address <> '';
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
ALTER TABLE `emergency_schedules_new_item`
|
||||||
|
ADD COLUMN `sort` tinyint NULL DEFAULT 0 COMMENT '排序' AFTER `user_name`;
|
||||||
@@ -0,0 +1,42 @@
|
|||||||
|
-- 修复应急单参与人员子表数据
|
||||||
|
INSERT INTO emergency_order_operator (id, order_id, operator_type, user_id, join_type, join_date) SELECT
|
||||||
|
CONCAT(2,LPAD(FLOOR(RAND() * POWER(10, 10)), 10, '0'), LPAD(FLOOR(RAND() * POWER(10, 7)), 7, '0')) AS id,
|
||||||
|
t.*
|
||||||
|
FROM
|
||||||
|
(
|
||||||
|
SELECT
|
||||||
|
id AS order_id,
|
||||||
|
0 AS operator_type,
|
||||||
|
operation_user_id AS user_id,
|
||||||
|
0 AS join_type,
|
||||||
|
operation_response_time AS join_date
|
||||||
|
FROM
|
||||||
|
emergency_order
|
||||||
|
WHERE
|
||||||
|
operation_user_id IS NOT NULL UNION ALL
|
||||||
|
SELECT
|
||||||
|
id AS order_id,
|
||||||
|
1 AS operator_type,
|
||||||
|
major_user_id AS user_id,
|
||||||
|
0 AS join_type,
|
||||||
|
major_response_time AS join_date
|
||||||
|
FROM
|
||||||
|
emergency_order
|
||||||
|
WHERE
|
||||||
|
major_user_id IS NOT NULL UNION ALL
|
||||||
|
SELECT
|
||||||
|
id AS order_id,
|
||||||
|
1 AS operator_type,
|
||||||
|
major_user_two_id AS user_id,
|
||||||
|
0 AS join_type,
|
||||||
|
major_response_time AS join_date
|
||||||
|
FROM
|
||||||
|
emergency_order
|
||||||
|
WHERE
|
||||||
|
major_user_two_id IS NOT NULL
|
||||||
|
) t
|
||||||
|
LEFT JOIN emergency_order_operator t1 ON t1.order_id = t.order_id
|
||||||
|
AND t1.user_id = t.user_id
|
||||||
|
AND t1.operator_type = t.operator_type
|
||||||
|
WHERE
|
||||||
|
t1.id IS NULL;
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
INSERT INTO emergency_resource
|
||||||
|
(id,`name`, address, longitude, latitude, type, `status`, del_flag, create_by, create_time, update_by, update_time, memo)
|
||||||
|
SELECT
|
||||||
|
id,`name`, org_name, longitude, latitude, 3 as type, `status`, del_flag, create_by, create_time, update_by, update_time, memo
|
||||||
|
FROM
|
||||||
|
`emergency_health_room`;
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
-------------------------
|
||||||
|
------------ xj_emergency
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
CREATE TABLE `large_screen_data`
|
||||||
|
(
|
||||||
|
`id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_persian_ci NOT NULL COMMENT '主键',
|
||||||
|
`type` varchar(60) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '开关类型(参考entity)',
|
||||||
|
`center_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '应急中心id',
|
||||||
|
`status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '开启状态(0:未开启 1:开启)',
|
||||||
|
`name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '名称(体检机构才有值)',
|
||||||
|
`value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '值',
|
||||||
|
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||||
|
`create_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '创建人',
|
||||||
|
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
||||||
|
`update_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '更新人',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
@@ -0,0 +1,263 @@
|
|||||||
|
ALTER TABLE `emergency_resource`
|
||||||
|
ADD COLUMN `job_num` int NULL DEFAULT NULL COMMENT '在岗人数' AFTER `memo`,
|
||||||
|
ADD COLUMN `run_time` int NULL DEFAULT NULL COMMENT '运转时间(分钟)' AFTER `job_num`;
|
||||||
|
|
||||||
|
|
||||||
|
-- 创建aed表
|
||||||
|
CREATE TABLE `xj_aed`
|
||||||
|
(
|
||||||
|
`id` varchar(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_persian_ci NOT NULL COMMENT '主键',
|
||||||
|
`name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'aed名称',
|
||||||
|
`address` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '设置地点',
|
||||||
|
`longitude` decimal(10, 6) DEFAULT NULL COMMENT '经度(火星坐标系)',
|
||||||
|
`latitude` decimal(10, 6) DEFAULT NULL COMMENT '纬度(火星坐标系)',
|
||||||
|
`manage_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '管理员姓名',
|
||||||
|
`manage_phone` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '管理员电话',
|
||||||
|
`org_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'orgCode',
|
||||||
|
`del_flag` tinyint(1) NOT NULL DEFAULT '0' COMMENT '删除状态(0-正常,1-已删除)',
|
||||||
|
`create_time` datetime DEFAULT NULL COMMENT '创建时间',
|
||||||
|
`create_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '创建人',
|
||||||
|
`update_time` datetime DEFAULT NULL COMMENT '更新时间',
|
||||||
|
`update_by` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT '更新人',
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
|
||||||
|
|
||||||
|
-- 写入aed表数据 -- 数据来源于excel表 《各二级单位坐标位置更正统计9.15(2)》 经纬度已通过度分秒转换为84坐标系又通过GPS84ToGCJ02方法转换为火星坐标系
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214849', '自动体外除颤仪', '公司机关机关机关楼一楼524房间', 84.892962, 45.571915, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214850', '自动体外除颤仪', '乌鲁木齐明园服务中心无明园服务中心综合办公楼四层会议室门口', 87.597842, 43.818145, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214851', '自动体外除颤仪', '西部原油销售中心无明园服务中心综合办公楼四层会议室门口', 87.597842, 43.818145, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214852', '自动体外除颤仪', '玛湖勘探开发项目部项目部机关(油田公司机关2#楼7楼、8楼)油田公司机关2#楼1楼大厅', 84.886853, 45.578863, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214853', '自动体外除颤仪', '玛湖勘探开发项目部项目部基地项目部基地2#办公楼1楼墙面', 85.413101, 45.911086, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214854', '自动体外除颤仪', '监督中心机关、各监督站油田公司机关2#楼1楼大厅', 84.886853, 45.578863, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214855', '自动体外除颤仪', '监督中心计量监督检测中心、质量安全环保研究所公共事务中心大院5号楼1楼', 84.873536, 45.599149, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214856', '自动体外除颤仪', '监督中心油田化学剂产品质量监督检验站勘探开发研究院大院6号楼一楼', 84.901295, 45.604129, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214857', '自动体外除颤仪', '监督中心环境监测站勘探开发研究院大院2号楼一楼', 84.899350, 45.604129, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214858', '自动体外除颤仪', '新疆油田储气库有限公司机关机关二楼健康小屋内', 86.888887, 44.174855, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214859', '自动体外除颤仪', '新疆油田储气库有限公司集注站集注站中控', 87.029069, 44.129586, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214860', '自动体外除颤仪', '风城油田作业区乌尔禾机关机关楼一楼大厅', 85.679373, 46.090483, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214861', '自动体外除颤仪', '风城油田作业区乌尔禾A栋办公楼B栋房务中心', 85.676867, 46.089368, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214862', '自动体外除颤仪', '风城油田作业区乌尔禾B栋宿舍B栋房务中心', 85.676867, 46.089368, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214863', '自动体外除颤仪', '风城油田作业区乌尔禾C栋宿舍C栋房务中心', 85.681600, 46.089099, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214864', '自动体外除颤仪', '风城油田作业区乌尔禾D栋宿舍D栋房务中心', 85.683271, 46.089658, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214865', '自动体外除颤仪', '风城油田作业区乌尔禾E栋宿舍E栋房务中心', 85.684106, 46.089659, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214866', '自动体外除颤仪', '开发公司机关石油大厦B座23楼电梯前室', 84.903242, 45.673281, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214867', '自动体外除颤仪', '开发公司第一项目经理部第一项目部基地112房间', 85.067125, 45.673073, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214868', '自动体外除颤仪', '开发公司第二项目经理部第二项目部基地安全办', 86.853424, 45.429250, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214869', '自动体外除颤仪', '采气一厂机关机关楼一楼大厅', 84.869098, 45.599154, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214870', '自动体外除颤仪', '采气一厂机关机关楼一楼大厅', 84.869098, 45.599154, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214871', '自动体外除颤仪', '采气一厂呼图壁采气作业区石油公寓2楼218', 86.901390, 44.191784, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214872', '自动体外除颤仪', '采气一厂克75采气作业区中控室', 85.193392, 45.182159, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214873', '自动体外除颤仪', '采气一厂克75采气作业区中控室', 85.193392, 45.182159, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214874', '自动体外除颤仪', '采气一厂试采维修抢险中心前院办公室中控室', 85.055415, 45.480862, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214875', '自动体外除颤仪', '采气一厂试采维修抢险中心前院办公室中控室', 85.055415, 45.480862, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214876', '自动体外除颤仪', '采气一厂克拉美丽采气作业区健康小屋', 87.613755, 45.243382, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214877', '自动体外除颤仪', '采气一厂盆5采气作业区公寓医护值班室', 86.203756, 44.950184, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214878', '自动体外除颤仪', '采气一厂玛河作业区公寓一楼南103医护值班室', 86.056411, 44.283982, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214879', '自动体外除颤仪', '采气一厂玛河作业区公寓一楼南103医护值班室', 86.056411, 44.283982, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214880', '自动体外除颤仪', '采油二厂机关机关楼一楼大厅', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214881', '自动体外除颤仪', '采油二厂第一采油作业区7821中心站', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214882', '自动体外除颤仪', '采油二厂第二采油作业区7109中心站', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214883', '自动体外除颤仪', '采油二厂第三采油作业区7830中心站', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214884', '自动体外除颤仪', '采油二厂第五采油作业区5320中心站', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214885', '自动体外除颤仪', '采油二厂运行维护一中心8562中心站', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214886', '自动体外除颤仪', '采油二厂运行维护一中心8513中心站', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214887', '自动体外除颤仪', '采油二厂第七采油作业区5203中心站', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214888', '自动体外除颤仪', '采油二厂第八采油作业区5115中心站', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214889', '自动体外除颤仪', '采油二厂第九采油作业区玛湖生活基地', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214890', '自动体外除颤仪', '采油二厂联合注入站七东1号注聚站', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819723214891', '自动体外除颤仪', '采油二厂联合处理一站81#联合处理站应急材料室', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352193', '自动体外除颤仪', '采油二厂联合处理二站51#联合处理站', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352194', '自动体外除颤仪', '采油二厂天然气处理站深冷中控室', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352195', '自动体外除颤仪', '采油二厂联合办公楼克拉玛依市6+1大楼B座2楼212室', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352196', '自动体外除颤仪', '采油二厂综合体育馆白碱滩区综合体育馆大厅', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352197', '自动体外除颤仪', '石西油田作业区石西公寓石西公寓大食堂门口', 86.857307, 45.428411, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352198', '自动体外除颤仪', '石西油田作业区石西公寓石西公寓大食堂门口', 86.857307, 45.428411, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352199', '自动体外除颤仪', '石西油田作业区石南4联合站石南4联合站办公区中控室内', 86.737987, 45.623245, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352200', '自动体外除颤仪', '石西油田作业区石南4联合站石南4联合站办公区中控室内', 86.737987, 45.623245, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352201', '自动体外除颤仪', '石西油田作业区莫北转油站莫北转油站办公区大门进门左手墙上', 86.769374, 45.223810, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352202', '自动体外除颤仪', '石西油田作业区莫北转油站莫北转油站办公区大门进门左手墙上', 86.769374, 45.223810, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352203', '自动体外除颤仪', '石西油田作业区莫109转输处理站莫109转输站办公区中控室内', 86.606250, 45.114165, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352204', '自动体外除颤仪', '石西油田作业区莫109转输处理站莫109转输站办公区中控室内', 86.606250, 45.114165, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352205', '自动体外除颤仪', '石西油田作业区石204混输泵站石204混输泵站采油食堂进门左手处', 86.838465, 45.701458, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352206', '自动体外除颤仪', '石西油田作业区石204混输泵站石204混输泵站采油食堂进门左手处', 86.838465, 45.701458, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352207', '自动体外除颤仪', '石西油田作业区石南31联合站采油休息办公室石南31联合站采油办公室车库进门右手处', 86.950727, 45.614508, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352208', '自动体外除颤仪', '石西油田作业区石南31联合站采油休息办公室石南31联合站采油办公室车库进门右手处', 86.950727, 45.614508, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352209', '自动体外除颤仪', '吉庆油田作业区机关综合楼一楼大厅', 89.220063, 44.003277, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352210', '自动体外除颤仪', '吉庆油田作业区吉7运行维护中心公寓A座2楼222室', 89.277552, 44.105983, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352211', '自动体外除颤仪', '吉庆油田作业区页岩油运行维护中心红旗大饭店4楼412室', 89.111967, 44.236072, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352212', '自动体外除颤仪', '油田技术服务分公司机关科研生产办公楼A座机关楼五楼茶水间(503-2对面)', 84.900460, 45.571913, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352213', '自动体外除颤仪', '油田技术服务分公司机关科研生产办公楼A座机关楼五楼茶水间(503-2对面)', 84.900460, 45.571913, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352214', '自动体外除颤仪', '百口泉采油厂市区机关3楼羽毛球场', 84.896294, 45.576635, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352215', '自动体外除颤仪', '百口泉采油厂百口泉基地体育馆', 85.415878, 45.912751, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352216', '自动体外除颤仪', '百口泉采油厂百21采油作业区百21作业区113室', 85.414490, 45.913029, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352217', '自动体外除颤仪', '百口泉采油厂检188采油作业区检188作业区调度室', 85.414490, 45.913029, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352218', '自动体外除颤仪', '百口泉采油厂玛湖第一采油作业区玛一作业区调度室', 85.937222, 45.964626, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352219', '自动体外除颤仪', '百口泉采油厂玛湖第二采油作业区玛二作业区资料组办公室', 86.006614, 46.073928, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352220', '自动体外除颤仪', '百口泉采油厂玛湖第三采油作业区基地会议室', 85.765285, 45.814277, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352221', '自动体外除颤仪', '百口泉采油厂玛湖第三采油作业区玛中4基地会议室', 85.761668, 45.642106, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352222', '自动体外除颤仪', '百口泉采油厂注输联合站玛18转油站会议室', 85.765285, 45.814277, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352223', '自动体外除颤仪', '百口泉采油厂注输联合站玛131转油站会议室', 86.006614, 46.073928, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352224', '自动体外除颤仪', '百口泉采油厂注输联合站注输联合站小会议室', 85.478225, 45.921806, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352225', '自动体外除颤仪', '百口泉采油厂员工培训站员工培训中心会议室', 85.414212, 45.905810, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352226', '自动体外除颤仪', '电力公司机关机关楼一楼大厅', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352227', '自动体外除颤仪', '电力公司发电机关楼一楼大厅', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352228', '自动体外除颤仪', '咨询中心机关、各业务部室油田公司机关2#楼1楼大厅', 84.886974, 45.578946, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352229', '自动体外除颤仪', '咨询中心机关、各业务部室油田公司机关2#楼1楼大厅', 84.886974, 45.578946, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352230', '自动体外除颤仪', '准东采油厂机关机关楼一楼大厅', 87.886688, 44.143790, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352231', '自动体外除颤仪', '准东采油厂机关机关食堂', 87.884192, 44.147956, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352232', '自动体外除颤仪', '准东采油厂甘泉河作业区甘泉河健康小屋内', 88.744436, 44.104291, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352233', '自动体外除颤仪', '准东采油厂甘泉河作业区甘泉河员工餐厅', 88.742768, 44.102903, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352234', '自动体外除颤仪', '准东采油厂甘泉河作业区甘泉河办公楼一楼', 88.746102, 44.103181, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352235', '自动体外除颤仪', '准东采油厂沙南作业区沙南健康小屋内', 88.716637, 44.349966, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352236', '自动体外除颤仪', '准东采油厂沙南作业区沙南北联站', 88.719143, 44.367462, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352237', '自动体外除颤仪', '准东采油厂沙南作业区沙南西泉1区', 88.606412, 44.323148, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352238', '自动体外除颤仪', '准东采油厂沙南作业区沙南沙联站', 88.700499, 44.479339, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352239', '自动体外除颤仪', '准东采油厂吉庆运维项目部红旗大酒店4楼健康小屋', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352240', '自动体外除颤仪', '准东采油厂吉庆运维项目部红旗大酒店4楼健康小屋', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352241', '自动体外除颤仪', '准东采油厂南疆(哈得)项目部跃满公寓一楼西头', 82.995713, 40.787383, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352242', '自动体外除颤仪', '准东采油厂水务公司水务公司水二泵站', 88.974941, 44.691779, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352243', '自动体外除颤仪', '准东采油厂勘探开发研究所基地勘探开发研究所基地办公楼', 87.093713, 44.151348, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352244', '自动体外除颤仪', '准东采油厂勘探开发研究所明园勘探开发研究所明园办公楼', 87.595343, 43.817591, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352245', '自动体外除颤仪', '准东采油厂火烧山作业区火烧山公寓健康小屋', 89.002570, 44.920211, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352246', '自动体外除颤仪', '准东采油厂火烧山作业区火烧山新公寓一楼', 89.002012, 44.919654, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352247', '自动体外除颤仪', '准东采油厂彩南作业区1号公寓健康小屋', 88.367529, 44.987863, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819769352248', '自动体外除颤仪', '准东采油厂彩南作业区滴12生活点会议室', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266753', '自动体外除颤仪', '准东采油厂彩南作业区集中处理站党员服务室', 88.362798, 44.978688, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266754', '自动体外除颤仪', '准东采油厂彩南作业区彩参二班组', 88.405333, 44.975112, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266755', '自动体外除颤仪', '准东采油厂工程技术服务公司工程技术服务公司沙南驻地走廊西侧', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266756', '自动体外除颤仪', '准东采油厂工程技术服务公司工程技术服务公司吉7驻地餐厅', 89.277552, 44.102652, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266757', '自动体外除颤仪', '准东采油厂供电(新能源)公司火烧山110kV变电所', 89.030746, 44.948075, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266758', '自动体外除颤仪', '准东采油厂油田保障中心体育馆一楼大厅', 87.893901, 44.145174, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266759', '自动体外除颤仪', '准东采油厂油田公寓服务中心准东宾馆总台', 87.886966, 44.149065, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266760', '自动体外除颤仪', '重油开发公司机关机关楼一楼大厅', 84.860503, 45.618329, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266761', '自动体外除颤仪', '重油开发公司采油作业一区采油一区三班', 84.864939, 45.618601, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266762', '自动体外除颤仪', '重油开发公司采油作业二区采油二区大班房', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266763', '自动体外除颤仪', '重油开发公司采油作业三区采油三区大班房', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266764', '自动体外除颤仪', '重油开发公司采油作业四区采油三班基地会议室', 85.200055, 45.392445, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266765', '自动体外除颤仪', '重油开发公司采油作业五区采油五区大班房', 85.181779, 45.714932, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266766', '自动体外除颤仪', '重油开发公司采油作业六区五区南班组基地', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266767', '自动体外除颤仪', '重油开发公司集输污水联合站金龙2转油站', 85.241668, 45.357122, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266768', '自动体外除颤仪', '应急抢险救援中心中心机关中心机关楼四楼公共展厅', 84.835834, 45.573936, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266769', '自动体外除颤仪', '应急抢险救援中心中心机关中心机关楼四楼公共展厅', 84.835834, 45.573936, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266770', '自动体外除颤仪', '应急抢险救援中心研究所中心机关楼四楼公共展厅', 84.835834, 45.573936, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266771', '自动体外除颤仪', '应急抢险救援中心技术监督中心中心机关楼四楼公共展厅', 84.835834, 45.573936, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266772', '自动体外除颤仪', '应急抢险救援中心技术监督中心井控技术分公司一楼过道', 84.875754, 45.591647, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266773', '自动体外除颤仪', '应急抢险救援中心井控培训中心教学楼A-B区走廊', 84.873814, 45.606370, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266774', '自动体外除颤仪', '应急抢险救援中心储层作业分公司分公司机关二楼大厅', 85.111481, 45.678892, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266775', '自动体外除颤仪', '应急抢险救援中心酸压作业分公司酸压作业分公司机关楼二楼', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266776', '自动体外除颤仪', '应急抢险救援中心零散气作业分公司零散气作业分公司机关楼二楼', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266777', '自动体外除颤仪', '应急抢险救援中心井筒作业分公司共用井控技术分公司一楼过道', 84.875754, 45.591647, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266778', '自动体外除颤仪', '应急抢险救援中心井筒作业分公司陆梁基地会议室', 86.896466, 45.860501, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266779', '自动体外除颤仪', '应急抢险救援中心机械设备制造分公司机关大厅', 85.084933, 45.599498, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266780', '自动体外除颤仪', '应急抢险救援中心井控技术分公司井控技术分公司一楼过道', 84.875754, 45.591647, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266781', '自动体外除颤仪', '应急抢险救援中心带压作业分公司带压作业分公司一楼过道', 85.116617, 45.680038, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266782', '自动体外除颤仪', '应急抢险救援中心连管作业分公司带压作业分公司一楼过道', 85.116617, 45.680038, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266783', '自动体外除颤仪', '应急抢险救援中心特车分公司特车分公司机关楼', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819832266784', '自动体外除颤仪', '应急抢险救援中心综合服务站共用井控技术分公司一楼过道', 84.875754, 45.591647, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375617', '自动体外除颤仪', '应急抢险救援中心准东消防大队准东消防大队一楼大厅', 87.881141, 44.152678, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375618', '自动体外除颤仪', '应急抢险救援中心白碱滩消防大队健身房', 85.122446, 45.685865, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375619', '自动体外除颤仪', '应急抢险救援中心沙漠腹部消防大队石西作业区公寓1#食堂门口', 86.857307, 45.428689, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375620', '自动体外除颤仪', '应急抢险救援中心陆梁作业区公寓2#食堂门口', 86.891187, 45.858004, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375621', '自动体外除颤仪', '应急抢险救援中心百口泉消防大队百口泉消防大队一楼大厅', 84.886854, 45.603024, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375622', '自动体外除颤仪', '应急抢险救援中心风城油田消防中队风城油田消防中队执勤楼一楼大厅', 85.675196, 46.092419, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375623', '自动体外除颤仪', '新能源事业部机关机关2号楼656办公室', 84.883523, 45.577753, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375624', '自动体外除颤仪', '新能源事业部煤电项目部煤电项目部一楼大厅', 85.016096, 45.547144, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375625', '自动体外除颤仪', '红山公司机关科研生产办公楼A座机关楼七楼茶水间', 84.896905, 45.570603, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375626', '自动体外除颤仪', '红山公司运行维护二中心(办公室)运行维护二中心坡下基地调度值班室', 84.816239, 45.367030, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375627', '自动体外除颤仪', '红山公司运行维护二中心(办公室)运行维护二中心7号中心站对面值班室', 84.817236, 45.353428, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375628', '自动体外除颤仪', '红山公司运行维护三中心(办公室)运行维护三中心处理站仪控室', 84.823821, 45.368316, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375629', '自动体外除颤仪', '油气储运公司克区机关楼209室', 84.981774, 45.574815, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375630', '自动体外除颤仪', '油气储运公司昌吉机关楼421室', 87.302532, 43.991870, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375631', '自动体外除颤仪', '油气储运公司石西站石西站公寓大门口', 86.869512, 45.428671, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375632', '自动体外除颤仪', '油气储运公司北三台站油库北三台站油库', 88.710788, 44.243344, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375633', '自动体外除颤仪', '油气储运公司北三台站彩南交接点北三台站彩南交接点', 88.363077, 44.976466, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375634', '自动体外除颤仪', '油气储运公司北三台站火烧山交油点北三台站火烧山交油点', 89.028515, 44.948347, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375635', '自动体外除颤仪', '油气储运公司706站706站经济员办公室', 86.966269, 44.077771, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375636', '自动体外除颤仪', '油气储运公司706站705站点705站点技术员办公室', 86.527177, 44.300162, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375637', '自动体外除颤仪', '油气储运公司四泵站办公楼二楼党员之家办公室', 84.768154, 44.916483, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375638', '自动体外除颤仪', '油气储运公司六泵站六泵站会议室', 84.859622, 44.442485, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375639', '自动体外除颤仪', '油气储运公司704站704站技术员办公室', 85.498086, 44.830121, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375640', '自动体外除颤仪', '油气储运公司704站703站703站点经济员办公室', 85.498086, 44.830121, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375641', '自动体外除颤仪', '油气储运公司风城中心站夏子街增压站夏子街增压站', 86.084328, 46.150461, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375642', '自动体外除颤仪', '油气储运公司交油队百克站百克站生产值班室', 85.433080, 45.913570, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375643', '自动体外除颤仪', '油气储运公司王家沟油气储运中心站王家沟油气储运中心武警楼健康小屋', 87.366044, 43.880664, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375644', '自动体外除颤仪', '新疆培训中心克拉玛依校区新疆培训中心C1教学楼1楼大厅', 84.928628, 45.548118, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375645', '自动体外除颤仪', '新疆培训中心克拉玛依校区新疆培训中心K2公寓1楼大厅', 84.929947, 45.545808, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375646', '自动体外除颤仪', '数智技术公司全体部门技术信息楼一楼大厅', 83.897238, 45.576331, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375647', '自动体外除颤仪', '数智技术公司全体部门雅典娜办公楼一楼大厅', 84.878820, 45.904886, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375648', '自动体外除颤仪', '数智技术公司全体部门数据中心二楼东面大厅', 84.880193, 45.576369, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375649', '自动体外除颤仪', '数智技术公司全体部门乌鲁木齐明园办公大楼一楼大厅', 87.599231, 43.814259, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819899375650', '自动体外除颤仪', '采油一厂机关机关楼一楼大厅', 84.882969, 45.596639, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261697', '自动体外除颤仪', '采油一厂机关体育馆西北角', 84.880194, 45.594698, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261698', '自动体外除颤仪', '采油一厂黑油山综合管理部黑油山综合管理部一楼大厅', 84.900184, 45.604407, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261699', '自动体外除颤仪', '采油一厂黑油山综合管理部黑油山综合管理部一楼大厅', 84.900184, 45.604407, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261700', '自动体外除颤仪', '采油一厂第三采油作业区车89处理站中控室', 84.827494, 44.958074, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261701', '自动体外除颤仪', '采油一厂第三采油作业区车89处理站中控室', 84.827494, 44.958074, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261702', '自动体外除颤仪', '物资供应公司机关体育馆门口右侧', 85.879435, 45.588894, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261703', '自动体外除颤仪', '陆梁油田作业区综合管理办公室机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261704', '自动体外除颤仪', '陆梁油田作业区综合管理办公室机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261705', '自动体外除颤仪', '陆梁油田作业区经营管理办公室机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261706', '自动体外除颤仪', '陆梁油田作业区质量健康安全环保办公室机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261707', '自动体外除颤仪', '陆梁油田作业区党群维稳办公室机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261708', '自动体外除颤仪', '陆梁油田作业区地质研究中心机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261709', '自动体外除颤仪', '陆梁油田作业区生产指挥中心机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261710', '自动体外除颤仪', '陆梁油田作业区工程技术中心机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261711', '自动体外除颤仪', '陆梁油田作业区陆梁运行维护中心办公区机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261712', '自动体外除颤仪', '陆梁油田作业区石南运行维护中心办公区机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261713', '自动体外除颤仪', '陆梁油田作业区玛东运行维护中心办公区机关楼1039房间\n体育馆休息室门口\n食堂门口', 86.889520, 45.856062, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261714', '自动体外除颤仪', '陆梁油田作业区陆梁运行维护中心现场陆梁集中处理站值班室', 86.941263, 45.858865, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261715', '自动体外除颤仪', '陆梁油田作业区石南运行维护中心现场石南集中处理站值班室', 86.894790, 45.693332, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261716', '自动体外除颤仪', '陆梁油田作业区玛东运行维护中心现场玛东集中处理站值班室', 86.549398, 45.862491, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261717', '自动体外除颤仪', '新港公司机关公司七楼健康自助服务站', 84.897960, 45.570525, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261718', '自动体外除颤仪', '新港公司采油作业一区采油作业一区值班室', 85.237800, 45.744015, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210819983261719', '自动体外除颤仪', '新港公司采油作业二区采油作业二区一班值班室', 85.258357, 45.762062, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399041', '自动体外除颤仪', '新港公司采油作业三区采油作业三区值班室', 85.273371, 45.749851, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399042', '自动体外除颤仪', '新港公司供汽作业区供汽作业区软化水站值班室', 85.246686, 45.744012, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399043', '自动体外除颤仪', '新港公司供汽作业区供汽作业区2#站值班室', 85.232247, 45.745684, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399044', '自动体外除颤仪', '新港公司集输作业区集输作业区91处理站值班室', 85.233358, 45.739574, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399045', '自动体外除颤仪', '新港公司运行保障中心运行保障中心值班室', 85.253632, 45.759840, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399046', '自动体外除颤仪', '公共事务中心(离退休人员管理中心)机关行政事务管理部机关楼一楼303房间', 84.892962, 45.571915, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399047', '自动体外除颤仪', '公共事务中心(离退休人员管理中心)造林减排作业区作业区办公楼一楼大厅', 85.008600, 45.274316, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399048', '自动体外除颤仪', '公共事务中心(离退休人员管理中心)离退休管理部原退管办公楼一楼门岗', 84.864609, 45.596429, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399049', '自动体外除颤仪', '公共事务中心(离退休人员管理中心)克拉玛依离退休服务东站东站一楼大厅', 84.882587, 45.593484, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399050', '自动体外除颤仪', '公共事务中心(离退休人员管理中心)白碱滩离退休服务站二楼202房间', NULL, NULL, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399051', '自动体外除颤仪', '社会保险管理中心综合管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399052', '自动体外除颤仪', '社会保险管理中心综合管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399053', '自动体外除颤仪', '社会保险管理中心财务管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399054', '自动体外除颤仪', '社会保险管理中心财务管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399055', '自动体外除颤仪', '社会保险管理中心基金管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399056', '自动体外除颤仪', '社会保险管理中心基金管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399057', '自动体外除颤仪', '社会保险管理中心内控稽核管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399058', '自动体外除颤仪', '社会保险管理中心内控稽核管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399059', '自动体外除颤仪', '社会保险管理中心社保管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399060', '自动体外除颤仪', '社会保险管理中心社保管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399061', '自动体外除颤仪', '社会保险管理中心企业医保管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399062', '自动体外除颤仪', '社会保险管理中心企业医保管理部6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399063', '自动体外除颤仪', '社会保险管理中心信息档案管理站6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399064', '自动体外除颤仪', '社会保险管理中心信息档案管理站6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399065', '自动体外除颤仪', '社会保险管理中心社保事务所6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399066', '自动体外除颤仪', '社会保险管理中心社保事务所6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399067', '自动体外除颤仪', '社会保险管理中心企业医保事务所6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399068', '自动体外除颤仪', '社会保险管理中心企业医保事务所6+1联合办公楼A座1楼大厅', 84.870207, 45.588322, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399069', '自动体外除颤仪', '勘探开发研究院机关机关一楼大厅', 84.895462, 45.604686, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399070', '自动体外除颤仪', '勘探开发研究院技术服务中心计信楼二楼215房间', 84.895462, 45.604686, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399071', '自动体外除颤仪', '勘探开发研究院技术服务中心体育馆大厅', 84.895462, 45.604686, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399072', '自动体外除颤仪', '勘探开发研究院油气战略规划研究所规划楼一楼中间楼梯边过道', 84.895462, 45.604686, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399073', '自动体外除颤仪', '勘探开发研究院开发实验中心地质岩心库大厅', 84.895462, 45.604686, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399074', '自动体外除颤仪', '勘探开发研究院开发实验中心提采楼西段1楼正门处', 84.895462, 45.604686, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399075', '自动体外除颤仪', '勘探开发研究院稀油开发研究所开发楼一楼大厅', 84.895462, 45.604686, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399076', '自动体外除颤仪', '勘探开发研究院非常规研究所科研楼1楼咖啡间', 84.895462, 45.604686, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399077', '自动体外除颤仪', '勘探开发研究院档案中心档案中心一楼圆厅', 84.895462, 45.604686, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399078', '自动体外除颤仪', '勘探开发研究院中亚油气研究所数据公司信息楼五楼大厅(512门口)', 84.899349, 45.577190, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399079', '自动体外除颤仪', '勘探开发研究院地球物理研究所3号楼3楼西侧走廊', 87.545160, 43.899830, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399080', '自动体外除颤仪', '勘探开发研究院地球物理研究所2号楼2楼西侧', 87.545160, 43.899830, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399081', '自动体外除颤仪', '宇澄热力股份有限公司机关机关楼一楼健身房间', 84.894073, 45.592467, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399082', '自动体外除颤仪', '宇澄热力股份有限公司机关机关楼一楼健身房间', 84.894073, 45.592467, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399083', '自动体外除颤仪', '宇澄热力股份有限公司风城供汽中心1#站风城供汽中心1#站中控室', 85.774179, 46.133604, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399084', '自动体外除颤仪', '宇澄热力股份有限公司风城供汽中心2#站风城供汽中心2#站中控室', 85.806331, 46.129121, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399085', '自动体外除颤仪', '宇澄热力股份有限公司红山供汽中心红山供汽中心中控室', 84.797023, 45.329293, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399086', '自动体外除颤仪', '采油工艺研究院(监理公司)采油工艺研究所老机关楼1楼大厅', 84.888243, 45.612189, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399087', '自动体外除颤仪', '采油工艺研究院(监理公司)采油工艺实验中心物业楼二楼楼道内东头', 84.884635, 45.614135, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399088', '自动体外除颤仪', '采油工艺研究院(监理公司)设备设施完整性检验检测中心管柱楼办公楼1楼道内', 84.887966, 45.612744, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399089', '自动体外除颤仪', '采油工艺研究院(监理公司)节能监测中心勘探院南院6号楼1楼大厅', 84.907686, 45.610239, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
|
INSERT INTO `xj_aed` (`id`, `name`, `address`, `longitude`, `latitude`, `manage_name`, `manage_phone`, `org_code`, `del_flag`, `create_time`, `create_by`, `update_time`, `update_by`) VALUES ('1968210820029399090', '自动体外除颤仪', '采油工艺研究院(监理公司)体育馆院体育馆大厅内', 84.885468, 45.613301, NULL, NULL, NULL, 0, '2025-09-17 15:10:02', 'admin', NULL, NULL);
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for health_user_employee_ex
|
||||||
|
-- ----------------------------
|
||||||
|
ALTER TABLE `health_user_employee_ex`
|
||||||
|
ADD COLUMN `care_liaison_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '关爱联络员姓名',
|
||||||
|
ADD COLUMN `care_liaison_job` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '关爱联络员职务',
|
||||||
|
ADD COLUMN `care_liaison_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '关爱联络员电话',
|
||||||
|
ADD COLUMN `lifeguard_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '急救人员姓名',
|
||||||
|
ADD COLUMN `lifeguard_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '急救人员电话';
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
|
||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for emergency_order
|
||||||
|
-- ----------------------------
|
||||||
|
ALTER TABLE `emergency_order`
|
||||||
|
ADD COLUMN `major_user_two_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '第二位参与的专业人员id',
|
||||||
|
ADD COLUMN `major_user_two_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '第二位参与的专业人员姓名',
|
||||||
|
ADD COLUMN `major_user_two_sex` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '第二位参与的专业人员性别',
|
||||||
|
ADD COLUMN `major_user_two_mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '第二位参与的专业人员电话',
|
||||||
|
ADD COLUMN `major_user_two_avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '第二位参与的专业人头像';
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
-- ----------------------------
|
||||||
|
-- Table structure for emergency_order_operator
|
||||||
|
-- ----------------------------
|
||||||
|
CREATE TABLE `emergency_order_operator` (
|
||||||
|
`id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT 'id',
|
||||||
|
`order_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '应急工单ID',
|
||||||
|
`operator_type` int(11) NOT NULL COMMENT '人员类型(人员类型0:操作人员 1:专业人员)',
|
||||||
|
`user_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT '人员ID',
|
||||||
|
`join_type` int(11) NOT NULL COMMENT '参与类型(0:处理应急,1:协助应急)',
|
||||||
|
`join_date` datetime NOT NULL COMMENT '参与应急时间',
|
||||||
|
PRIMARY KEY (`id`) USING BTREE
|
||||||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;
|
||||||
|
|
||||||
|
SET FOREIGN_KEY_CHECKS = 1;
|
||||||
@@ -20,6 +20,7 @@
|
|||||||
<module>font-resources</module>
|
<module>font-resources</module>
|
||||||
<module>monitoring-sync</module>
|
<module>monitoring-sync</module>
|
||||||
<module>renkang-test</module>
|
<module>renkang-test</module>
|
||||||
|
<module>xj-anyan-api</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|||||||
@@ -0,0 +1,46 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<parent>
|
||||||
|
<groupId>com.renkang</groupId>
|
||||||
|
<artifactId>functional-modules</artifactId>
|
||||||
|
<version>2.0.0</version>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<artifactId>xj-anyan-api</artifactId>
|
||||||
|
<description>xj安眼系统API</description>
|
||||||
|
<version>2.0.0</version>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<maven.compiler.source>8</maven.compiler.source>
|
||||||
|
<maven.compiler.target>8</maven.compiler.target>
|
||||||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot</artifactId>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework</groupId>
|
||||||
|
<artifactId>spring-web</artifactId>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.retry</groupId>
|
||||||
|
<artifactId>spring-retry</artifactId>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.jeecgframework.boot</groupId>
|
||||||
|
<artifactId>jeecg-boot-base-core</artifactId>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
</project>
|
||||||
+176
@@ -0,0 +1,176 @@
|
|||||||
|
package com.renkang.anyan.client;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.renkang.anyan.model.dto.*;
|
||||||
|
import com.renkang.anyan.model.vo.*;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: AnYanClient xj安眼系统接口调用客户端
|
||||||
|
* @Author: feng
|
||||||
|
* @Date: 2025-8-1
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
public interface AnYanClient {
|
||||||
|
/**
|
||||||
|
* 获取服务访问令牌
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
String getAuthToken();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取服务访问令牌(密码模式)
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
AuthResult getAuthTokenByPassword(String username, String password);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 刷新口令
|
||||||
|
*/
|
||||||
|
void refreshToken();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 体检医院人数统计查询
|
||||||
|
*
|
||||||
|
* @param medicalYear 体检年份
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
List<MedicalPeopleNumStatisticsVO> examinationStatistics(Integer medicalYear);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 健康打卡数据统计查询(血压,减重,血糖)
|
||||||
|
*
|
||||||
|
* @param beginDate
|
||||||
|
* @param endDate
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
HealthSignStatVO healthCheckStatistics(Date beginDate, Date endDate);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 健康打卡异常数据详细查询(血压)
|
||||||
|
*
|
||||||
|
* @param healthSignListParam
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
IPage<BloodPressureList> bloodPressureList(HealthSignListParam healthSignListParam);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 健康打卡异常数据详细查询(减重)
|
||||||
|
*
|
||||||
|
* @param healthSignListParam
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
IPage<WeightPressureList> weightPressureList(HealthSignListParam healthSignListParam);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 健康打卡异常数据详细查询(血糖)
|
||||||
|
*
|
||||||
|
* @param healthSignListParam
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
IPage<BloodSugarClockSList> bloodSugarClockSList(HealthSignListParam healthSignListParam);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 油田医院数据查询
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
List<HospitalListVO> hospitalList();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 健康小屋基础数据查询
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
List<HealthRoomBaseVO> healthPlaceHomList();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 健康小屋详细数据查询
|
||||||
|
*
|
||||||
|
* @param healthRoomDTO
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
IPage<HealthPlaceHomDetailsVO> healthPlaceHomDetailList(HealthRoomDTO healthRoomDTO);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 当年体检异常人数统计
|
||||||
|
*
|
||||||
|
* @param medicalYear 年份
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
MedicalAbnormalStatisticsVO medicalAbnormalStatistics(Integer medicalYear);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 当年体检异常人员列表
|
||||||
|
*
|
||||||
|
* @param param
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
IPage<MedicalAbnormalVO> medicalAbnormalList(MedicalAbnormalDTO param);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 公网环境获取服务访问token (目前仅用于访问安眼大屏)
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
String publicNetworkToken();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 公网环境获取服务访问token (目前仅用于访问安眼大屏, 不走缓存, 每次用现取)
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
AuthResult publicNetworkTokenNoCache();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取用户信息
|
||||||
|
*
|
||||||
|
* @param token
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
AnYanUserInfoResult getAnYanUserInfo(String token);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量拉取安眼平台AED信息 , 用于定时任务更新本地数据的AED数据
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
List<AnYanAedInfo> queryAnYanAedInfo();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 最新检查员工信息查询接口 (大屏首页重点关爱趋势预警滚动列表,固定查100前项)
|
||||||
|
*
|
||||||
|
* @return 最新的100条数据
|
||||||
|
*/
|
||||||
|
List<CarePersonList> homeCarePersonList();
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 一人一案信息详情接口 (用大屏首页重点关爱趋势预警滚动列表点击数据详情)
|
||||||
|
*
|
||||||
|
* @param anYanUserId 安眼系统的用户ID (从上级列表接口获取) 与 idNo 参数二选一即可
|
||||||
|
* @param idNo 安眼系统的用户身份证号 (从上级列表接口获取) 与 anYanUserId 参数二选一即可
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
CareUserListVo careUserDetails(String anYanUserId, String idNo);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 一人一案分页列表查询接口(用大屏首页重点关爱趋势预警弹窗列表)
|
||||||
|
*
|
||||||
|
* @param param 查询条件
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
IPage<CareUserListVo> careUserDetailsPage(CareUserDetailsParam param);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询关爱联络员信息及急救人员查询接口
|
||||||
|
*
|
||||||
|
* @param param 查询条件
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
IPage<EmergencyContactVO> queryEmergencyContact(EmergencyContactParam param);
|
||||||
|
}
|
||||||
+344
@@ -0,0 +1,344 @@
|
|||||||
|
package com.renkang.anyan.client;
|
||||||
|
|
||||||
|
import cn.hutool.core.bean.BeanUtil;
|
||||||
|
import cn.hutool.core.date.DateUtil;
|
||||||
|
import cn.hutool.core.util.ObjectUtil;
|
||||||
|
import cn.hutool.core.util.StrUtil;
|
||||||
|
import cn.hutool.json.JSONUtil;
|
||||||
|
import com.alibaba.fastjson.JSON;
|
||||||
|
import com.alibaba.fastjson.JSONObject;
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.renkang.anyan.config.AnYanProperties;
|
||||||
|
import com.renkang.anyan.config.RestTemplateUtil;
|
||||||
|
import com.renkang.anyan.constants.AnYanConstants;
|
||||||
|
import com.renkang.anyan.enums.AnYanApiEnum;
|
||||||
|
import com.renkang.anyan.model.dto.*;
|
||||||
|
import com.renkang.anyan.model.vo.*;
|
||||||
|
import com.renkang.anyan.utils.PageResultToBeanUtil;
|
||||||
|
import com.renkang.anyan.utils.SM4Utils;
|
||||||
|
import com.renkang.anyan.utils.StringUtils;
|
||||||
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.apache.commons.lang3.ObjectUtils;
|
||||||
|
import org.jeecg.common.exception.ExceptionAssertsUtil;
|
||||||
|
import org.jeecg.util.RedisClientUtil;
|
||||||
|
import org.jeecg.util.RedisKeyPrefix;
|
||||||
|
import org.springframework.http.HttpHeaders;
|
||||||
|
import org.springframework.http.HttpStatus;
|
||||||
|
import org.springframework.http.MediaType;
|
||||||
|
import org.springframework.http.ResponseEntity;
|
||||||
|
import org.springframework.retry.annotation.EnableRetry;
|
||||||
|
import org.springframework.retry.annotation.Retryable;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.util.LinkedMultiValueMap;
|
||||||
|
import org.springframework.util.MultiValueMap;
|
||||||
|
import org.springframework.web.client.HttpClientErrorException;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Objects;
|
||||||
|
import java.util.UUID;
|
||||||
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: AnYanClientExecutor xj安眼系统接口调用执行器
|
||||||
|
* @Author: feng
|
||||||
|
* @Date: 2025-8-1
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Slf4j
|
||||||
|
@Service
|
||||||
|
@EnableRetry
|
||||||
|
@RequiredArgsConstructor
|
||||||
|
public class AnYanClientExecutor implements AnYanClient {
|
||||||
|
//安眼获取token访问公钥
|
||||||
|
private String publicKey = "MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAJL0JkqsUoK6kt3JyogsgqNp9VDGDp+t3ZAGMbVoMPdHNT2nfiIVh9ZMNHF7g2XiAa8O8AQWyh2PjMR0NiUSVQMCAwEAAQ==";
|
||||||
|
private final RedisClientUtil redisClientUtil;
|
||||||
|
private final AnYanProperties anYanProperties;
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getAuthToken() {
|
||||||
|
String token = redisClientUtil.get(new RedisKeyPrefix(AnYanConstants.AN_YAN_API_TOKEN_PREFIX), "token", String.class);
|
||||||
|
if (StrUtil.isEmpty(token)) {
|
||||||
|
AuthResult authResult = getAuthTokenExecutor();
|
||||||
|
if (ObjectUtil.isNotEmpty(authResult) && StrUtil.isNotEmpty(authResult.getAccess_token())) {
|
||||||
|
token = authResult.getAccess_token();
|
||||||
|
int expireSeconds = ObjectUtil.isNotEmpty(authResult.getExpires_in()) ? authResult.getExpires_in() : 7200;
|
||||||
|
redisClientUtil.set(new RedisKeyPrefix(expireSeconds, AnYanConstants.AN_YAN_API_TOKEN_PREFIX), "token", token);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return token;
|
||||||
|
}
|
||||||
|
|
||||||
|
private AuthResult getAuthTokenExecutor() {
|
||||||
|
AuthParam authParam = new AuthParam();
|
||||||
|
authParam.setClient_id(anYanProperties.getClientId());
|
||||||
|
authParam.setClient_secret(anYanProperties.getClientSecret());
|
||||||
|
HttpHeaders headers = new HttpHeaders();
|
||||||
|
headers.setContentType(MediaType.MULTIPART_FORM_DATA);
|
||||||
|
ResponseEntity<AuthResult> responseEntity = RestTemplateUtil.postExchange(AnYanApiEnum.QUERY_AUTH_TOKEN, headers, authParam, AuthResult.class);
|
||||||
|
if (HttpStatus.OK.equals(responseEntity.getStatusCode()) && ObjectUtils.isNotEmpty(responseEntity.getBody())) {
|
||||||
|
return responseEntity.getBody();
|
||||||
|
} else {
|
||||||
|
ExceptionAssertsUtil.fail("------安眼系统获取token失败------" + responseEntity.getBody());
|
||||||
|
}
|
||||||
|
return new AuthResult();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description: 通过密码获取令牌
|
||||||
|
* @author PengJ
|
||||||
|
* @date 2025/10/24 11:15
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AuthResult getAuthTokenByPassword(String username, String password) {
|
||||||
|
try {
|
||||||
|
|
||||||
|
String encryptPassword = StringUtils.encryptByPublicKey(publicKey, password);
|
||||||
|
HttpHeaders headers = new HttpHeaders();
|
||||||
|
headers.setContentType(MediaType.MULTIPART_FORM_DATA);
|
||||||
|
MultiValueMap<String, String> formData = new LinkedMultiValueMap<>();
|
||||||
|
formData.add("grant_type", "password");
|
||||||
|
formData.add("username", username);
|
||||||
|
formData.add("password", encryptPassword);
|
||||||
|
formData.add("client_id", anYanProperties.getClientId());
|
||||||
|
formData.add("client_secret", anYanProperties.getClientSecret());
|
||||||
|
ResponseEntity<AuthResult> authResult = RestTemplateUtil.postExchangeForGetTokenByPassword(AnYanApiEnum.QUERY_AUTH_TOKEN, formData, headers, AuthResult.class);
|
||||||
|
if (HttpStatus.OK.equals(authResult.getStatusCode())
|
||||||
|
&& ObjectUtils.isNotEmpty(authResult.getBody())) {
|
||||||
|
return authResult.getBody();
|
||||||
|
} else {
|
||||||
|
log.error("------安眼系统获取token失败(密码模式){}------", authResult.getBody());
|
||||||
|
ExceptionAssertsUtil.fail("------安眼系统获取token失败------" + authResult.getBody());
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
} catch (HttpClientErrorException e) {
|
||||||
|
log.error("------安眼系统获取token失败(密码模式){}------", e.getMessage());
|
||||||
|
String replace = Objects.requireNonNull(e.getMessage()).replace("401 Unauthorized: ", "");
|
||||||
|
replace = replace.replace("\"", "");
|
||||||
|
AuthResult bean = JSONUtil.toBean(replace, AuthResult.class);
|
||||||
|
ExceptionAssertsUtil.fail(bean.getMessage());
|
||||||
|
} catch (Exception e) {
|
||||||
|
ExceptionAssertsUtil.fail(e.getMessage());
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*调用安眼提供的支持公网访问的获取token接口也能通过接口的鉴权, 并且部分接口还需要传入鉴权用户的身份证号, 所以业务接口直接使用公网环境的鉴权接口
|
||||||
|
@Override
|
||||||
|
public void refreshToken() {
|
||||||
|
AuthResult authResult = getAuthTokenExecutor();
|
||||||
|
if (ObjectUtil.isNotEmpty(authResult) && StrUtil.isNotEmpty(authResult.getAccess_token())) {
|
||||||
|
int expireSeconds = ObjectUtil.isNotEmpty(authResult.getExpires_in()) ? authResult.getExpires_in() : 7200;
|
||||||
|
redisClientUtil.set(new RedisKeyPrefix(expireSeconds, AnYanConstants.AN_YAN_API_TOKEN_PREFIX), "token", authResult.getAccess_token());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private HttpHeaders buildTokenHeader() {
|
||||||
|
HttpHeaders headers = new HttpHeaders();
|
||||||
|
headers.add(AnYanConstants.AUTHORIZATION, AnYanConstants.TOKEN_TYPE + getAuthToken());
|
||||||
|
return headers;
|
||||||
|
}*/
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void refreshToken() {
|
||||||
|
AuthResult authResult = publicNetworkTokenNoCache();
|
||||||
|
if (ObjectUtil.isNotEmpty(authResult) && StrUtil.isNotEmpty(authResult.getAccess_token())) {
|
||||||
|
int expireSeconds = ObjectUtil.isNotEmpty(authResult.getExpires_in()) ? authResult.getExpires_in() : 7200;
|
||||||
|
redisClientUtil.set(new RedisKeyPrefix(expireSeconds, AnYanConstants.AN_YAN_API_TOKEN_PREFIX), "publicToken", authResult.getAccess_token());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private HttpHeaders buildTokenHeader() {
|
||||||
|
HttpHeaders headers = new HttpHeaders();
|
||||||
|
headers.add(AnYanConstants.AUTHORIZATION, AnYanConstants.TOKEN_TYPE + publicNetworkToken());
|
||||||
|
headers.add(AnYanConstants.HEADER_PARAM_X_AUTH_ID, AnYanConstants.X_AUTH_ID_PREFIX + anYanProperties.getPublicUserCardNo());
|
||||||
|
headers.add(AnYanConstants.HEADER_PARAM_ROLES, AnYanConstants.HEADER_PARAM_ROLES_VALUES);
|
||||||
|
return headers;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@Retryable(maxAttempts = 2)
|
||||||
|
public List<MedicalPeopleNumStatisticsVO> examinationStatistics(Integer medicalYear) {
|
||||||
|
if (null == medicalYear) {
|
||||||
|
medicalYear = DateUtil.year(new Date());
|
||||||
|
}
|
||||||
|
JSONObject param = new JSONObject();
|
||||||
|
param.put("medicalYear", String.valueOf(medicalYear));
|
||||||
|
AnYanResult<Object> result = RestTemplateUtil.postExchange(AnYanApiEnum.HEALTH_EXAMINATION_STATISTICS, buildTokenHeader(), param);
|
||||||
|
List<Object> listMaps = (List<Object>) result.getData();
|
||||||
|
return listMaps.stream().map(lMap -> BeanUtil.toBean(lMap, MedicalPeopleNumStatisticsVO.class)).collect(Collectors.toList());
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@Retryable(maxAttempts = 2)
|
||||||
|
public HealthSignStatVO healthCheckStatistics(Date beginDate, Date endDate) {
|
||||||
|
JSONObject param = new JSONObject();
|
||||||
|
param.put("inputDateBegin", ObjectUtil.isEmpty(beginDate) ? DateUtil.today() : DateUtil.formatDate(beginDate));
|
||||||
|
param.put("inputDateEnd", ObjectUtil.isEmpty(endDate) ? DateUtil.today() : DateUtil.formatDate(endDate));
|
||||||
|
AnYanResult<Object> result = RestTemplateUtil.postExchange(AnYanApiEnum.HEALTH_CHECK_STATISTICS, buildTokenHeader(), param);
|
||||||
|
return BeanUtil.toBean(result.getData(), HealthSignStatVO.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@Retryable(maxAttempts = 2)
|
||||||
|
public IPage<BloodPressureList> bloodPressureList(HealthSignListParam healthSignListParam) {
|
||||||
|
AnYanResult<Object> result = RestTemplateUtil.postExchange(AnYanApiEnum.BLOOD_PRESSURE_LIST, buildTokenHeader(), healthSignListParam);
|
||||||
|
return new PageResultToBeanUtil<BloodPressureList>().transform(result, BloodPressureList.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@Retryable(maxAttempts = 2)
|
||||||
|
public IPage<WeightPressureList> weightPressureList(HealthSignListParam healthSignListParam) {
|
||||||
|
AnYanResult<Object> result = RestTemplateUtil.postExchange(AnYanApiEnum.WEIGHT_PRESSURE_LIST, buildTokenHeader(), healthSignListParam);
|
||||||
|
return new PageResultToBeanUtil<WeightPressureList>().transform(result, WeightPressureList.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@Retryable(maxAttempts = 2)
|
||||||
|
public IPage<BloodSugarClockSList> bloodSugarClockSList(HealthSignListParam healthSignListParam) {
|
||||||
|
AnYanResult<Object> result = RestTemplateUtil.postExchange(AnYanApiEnum.BLOOD_SUGAR_CLOCKS_LIST, buildTokenHeader(), healthSignListParam);
|
||||||
|
return new PageResultToBeanUtil<BloodSugarClockSList>().transform(result, BloodSugarClockSList.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@Retryable(maxAttempts = 2)
|
||||||
|
public List<HospitalListVO> hospitalList() {
|
||||||
|
AnYanResult<Object> result = RestTemplateUtil.postExchange(AnYanApiEnum.HOSPITAL_LIST, buildTokenHeader(), null);
|
||||||
|
List<Object> listMaps = (List<Object>) result.getData();
|
||||||
|
return listMaps.stream().map(lMap -> BeanUtil.toBean(lMap, HospitalListVO.class)).collect(Collectors.toList());
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@Retryable(maxAttempts = 2)
|
||||||
|
public List<HealthRoomBaseVO> healthPlaceHomList() {
|
||||||
|
AnYanResult<Object> result = RestTemplateUtil.postExchange(AnYanApiEnum.HEALTH_PLACE_ROOM_LIST, buildTokenHeader(), null);
|
||||||
|
List<Object> listMaps = (List<Object>) result.getData();
|
||||||
|
return listMaps.stream().map(lMap -> BeanUtil.toBean(lMap, HealthRoomBaseVO.class)).collect(Collectors.toList());
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@Retryable(maxAttempts = 2)
|
||||||
|
public IPage<HealthPlaceHomDetailsVO> healthPlaceHomDetailList(HealthRoomDTO healthRoomDTO) {
|
||||||
|
AnYanResult<Object> result = RestTemplateUtil.postExchange(AnYanApiEnum.HEALTH_PLACE_ROOM_INFO_LIST, buildTokenHeader(), healthRoomDTO);
|
||||||
|
return new PageResultToBeanUtil<HealthPlaceHomDetailsVO>().transform(result, HealthPlaceHomDetailsVO.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@Retryable(maxAttempts = 2)
|
||||||
|
public MedicalAbnormalStatisticsVO medicalAbnormalStatistics(Integer medicalYear) {
|
||||||
|
if (null == medicalYear) {
|
||||||
|
medicalYear = DateUtil.year(new Date());
|
||||||
|
}
|
||||||
|
JSONObject param = new JSONObject();
|
||||||
|
param.put("medicalYear", medicalYear);
|
||||||
|
AnYanResult<Object> result = RestTemplateUtil.postExchange(AnYanApiEnum.MEDICAL_ABNORMAL_STATISTICS, buildTokenHeader(), param);
|
||||||
|
return BeanUtil.toBean(result.getData(), MedicalAbnormalStatisticsVO.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
@Retryable(maxAttempts = 2)
|
||||||
|
public IPage<MedicalAbnormalVO> medicalAbnormalList(MedicalAbnormalDTO param) {
|
||||||
|
AnYanResult<Object> result = RestTemplateUtil.postExchange(AnYanApiEnum.MEDICAL_ABNORMAL_LIST, buildTokenHeader(), param);
|
||||||
|
return new PageResultToBeanUtil<MedicalAbnormalVO>().transform(result, MedicalAbnormalVO.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String publicNetworkToken() {
|
||||||
|
String token = redisClientUtil.get(new RedisKeyPrefix(AnYanConstants.AN_YAN_API_TOKEN_PREFIX), "publicToken", String.class);
|
||||||
|
if (StrUtil.isEmpty(token)) {
|
||||||
|
AuthResult authResult = publicNetworkTokenNoCache();
|
||||||
|
if (null != authResult) {
|
||||||
|
token = authResult.getAccess_token();
|
||||||
|
int expireSeconds = ObjectUtil.isNotEmpty(authResult.getExpires_in()) ? authResult.getExpires_in() : 7200;
|
||||||
|
redisClientUtil.set(new RedisKeyPrefix(expireSeconds, AnYanConstants.AN_YAN_API_TOKEN_PREFIX), "publicToken", token);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return token;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public AuthResult publicNetworkTokenNoCache() {
|
||||||
|
JSONObject param = new JSONObject();
|
||||||
|
String password = anYanProperties.getPublicPassWrod();
|
||||||
|
String userName = anYanProperties.getPublicUserNmae();
|
||||||
|
try {
|
||||||
|
String sm4Password = SM4Utils.encryptSM4(password);
|
||||||
|
String encryptPassword = StringUtils.encryptByPublicKey(publicKey, password);
|
||||||
|
param.put("password", encryptPassword);
|
||||||
|
param.put("selfPassword", sm4Password);
|
||||||
|
param.put("loginName", userName);
|
||||||
|
param.put("timeStamp", UUID.randomUUID().toString());
|
||||||
|
ResponseEntity<AnYanResult> responseEntity = RestTemplateUtil.postExchangeForGetToken(AnYanApiEnum.PUBLIC_NETWORK_AUTH_TOKEN, param, AnYanResult.class);
|
||||||
|
//安眼提供的接口包过深 ,先从AnYanResult对象中取出加密的密文,后在解密密文拿出 AuthResult对象 , 再从AuthResult对象中拿出 access_token
|
||||||
|
AnYanResult anYanResult = responseEntity.getBody();
|
||||||
|
if (ObjectUtil.isNotEmpty(anYanResult) && ObjectUtil.isNotEmpty(anYanResult.getData())) {
|
||||||
|
String decryptAuthResult = SM4Utils.decryptSM4((String) anYanResult.getData());
|
||||||
|
AuthResult authResult = JSON.parseObject(decryptAuthResult).toJavaObject(AuthResult.class);
|
||||||
|
if (null != authResult && null != authResult.getAccess_token()) {
|
||||||
|
return authResult;
|
||||||
|
} else {
|
||||||
|
ExceptionAssertsUtil.fail("获取安眼系统token失败");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
ExceptionAssertsUtil.fail("获取安眼系统token失败");
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description: 根据token获取用户信息
|
||||||
|
* @author PengJ
|
||||||
|
* @date 2025/10/24 17:00
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public AnYanUserInfoResult getAnYanUserInfo(String token) {
|
||||||
|
HttpHeaders headers = new HttpHeaders();
|
||||||
|
headers.add(AnYanConstants.AUTHORIZATION, AnYanConstants.TOKEN_TYPE + token);
|
||||||
|
ResponseEntity<AnYanUserInfoResult> exchange = RestTemplateUtil.getExchange(AnYanApiEnum.USER_INFO_UNIT_V2, headers, AnYanUserInfoResult.class);
|
||||||
|
return BeanUtil.toBean(exchange.getBody(), AnYanUserInfoResult.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<AnYanAedInfo> queryAnYanAedInfo() {
|
||||||
|
//安眼接口本身支持分页查询 , 因此方法用于定时任务批量查询更新 , 这里一次性查询所有
|
||||||
|
AnYanResult<Object> result = RestTemplateUtil.postExchange(AnYanApiEnum.QUERY_AN_YAN_AED, buildTokenHeader(), new AnYanAedParam());
|
||||||
|
IPage<AnYanAedInfo> aedPage = new PageResultToBeanUtil<AnYanAedInfo>().transform(result, AnYanAedInfo.class);
|
||||||
|
return aedPage.getRecords();
|
||||||
|
}
|
||||||
|
@Override
|
||||||
|
public List<CarePersonList> homeCarePersonList(){
|
||||||
|
AnYanResult<Object> result = RestTemplateUtil.postExchange(AnYanApiEnum.CARE_PERSON_BY_TIME, buildTokenHeader(), null);
|
||||||
|
List<Object> listMaps = (List<Object>) result.getData();
|
||||||
|
return listMaps.stream().map(lMap -> BeanUtil.toBean(lMap, CarePersonList.class)).collect(Collectors.toList());
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CareUserListVo careUserDetails(String anYanUserId, String idNo){
|
||||||
|
JSONObject param = new JSONObject();
|
||||||
|
if(StrUtil.isNotEmpty(anYanUserId)){
|
||||||
|
param.put("id", anYanUserId);
|
||||||
|
}
|
||||||
|
if(StrUtil.isNotEmpty(idNo)){
|
||||||
|
param.put("idNo", idNo);
|
||||||
|
}
|
||||||
|
AnYanResult<Object> result = RestTemplateUtil.postExchange(AnYanApiEnum.CARE_PERSON_Details, buildTokenHeader(), param);
|
||||||
|
return BeanUtil.toBean(result.getData(), CareUserListVo.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IPage<CareUserListVo> careUserDetailsPage(CareUserDetailsParam param){
|
||||||
|
AnYanResult<Object> result = RestTemplateUtil.postExchange(AnYanApiEnum.CARE_PERSON_PAGE_LIST, buildTokenHeader(), param);
|
||||||
|
return new PageResultToBeanUtil<CareUserListVo>().transform(result, CareUserListVo.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IPage<EmergencyContactVO> queryEmergencyContact(EmergencyContactParam param){
|
||||||
|
AnYanResult<Object> result = RestTemplateUtil.postExchange(AnYanApiEnum.QUERY_EMPLOYEE_CARE_PERSON, buildTokenHeader(), param);
|
||||||
|
return new PageResultToBeanUtil<EmergencyContactVO>().transform(result, EmergencyContactVO.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
+57
@@ -0,0 +1,57 @@
|
|||||||
|
package com.renkang.anyan.config;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||||
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: AnYanProperties
|
||||||
|
* @Author: feng
|
||||||
|
* @Date: 2025-8-1
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Configuration
|
||||||
|
@ConfigurationProperties(prefix = "variable.anyan")
|
||||||
|
public class AnYanProperties {
|
||||||
|
/**
|
||||||
|
* 是否启用安眼的接口
|
||||||
|
*/
|
||||||
|
private boolean enable;
|
||||||
|
/**
|
||||||
|
*服务调用地址
|
||||||
|
*/
|
||||||
|
private String host = "";
|
||||||
|
/**
|
||||||
|
* clientId
|
||||||
|
*/
|
||||||
|
private String clientId = "";
|
||||||
|
/**
|
||||||
|
*clientSecret
|
||||||
|
*/
|
||||||
|
private String clientSecret = "";
|
||||||
|
/**
|
||||||
|
*公网可访问的接口地址 (目前或者大屏调转的toekn使用)
|
||||||
|
*/
|
||||||
|
private String publicHost = "";
|
||||||
|
/**
|
||||||
|
* 公网环境的鉴权账号 (目前或者大屏调转的toekn使用)
|
||||||
|
*/
|
||||||
|
private String publicUserNmae = "";
|
||||||
|
/**
|
||||||
|
*公网环境的鉴权密码 (目前或者大屏调转的toekn使用)
|
||||||
|
*/
|
||||||
|
private String publicPassWrod = "";
|
||||||
|
/**
|
||||||
|
*鉴权用户的身份证号,部分接口的请求头参数中需要传入
|
||||||
|
*/
|
||||||
|
private String publicUserCardNo = "737720666075238400";
|
||||||
|
/**
|
||||||
|
*链接超时时间
|
||||||
|
*/
|
||||||
|
private Long timeout = 3000L;
|
||||||
|
/**
|
||||||
|
*读取超时时间
|
||||||
|
*/
|
||||||
|
private Long readTimeout = 30000L;
|
||||||
|
}
|
||||||
+85
@@ -0,0 +1,85 @@
|
|||||||
|
package com.renkang.restaurant.config;
|
||||||
|
|
||||||
|
import com.renkang.anyan.client.AnYanClient;
|
||||||
|
import com.renkang.anyan.config.AnYanProperties;
|
||||||
|
import com.renkang.anyan.enums.AnYanApiEnum;
|
||||||
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.jeecg.common.exception.ExceptionAssertsUtil;
|
||||||
|
import org.jeecg.common.util.SpringContextUtils;
|
||||||
|
import org.springframework.boot.web.client.RestTemplateBuilder;
|
||||||
|
import org.springframework.context.annotation.Bean;
|
||||||
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
import org.springframework.http.HttpStatus;
|
||||||
|
import org.springframework.http.client.ClientHttpRequestInterceptor;
|
||||||
|
import org.springframework.http.client.ClientHttpResponse;
|
||||||
|
import org.springframework.http.converter.FormHttpMessageConverter;
|
||||||
|
import org.springframework.http.converter.StringHttpMessageConverter;
|
||||||
|
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
|
||||||
|
import org.springframework.web.client.RestTemplate;
|
||||||
|
|
||||||
|
import java.nio.charset.StandardCharsets;
|
||||||
|
import java.time.Duration;
|
||||||
|
import java.time.temporal.ChronoUnit;
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.concurrent.atomic.AtomicInteger;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: AnYanClient xj安眼系统接口调用客户端
|
||||||
|
* @Author: feng
|
||||||
|
* @Date: 2025-8-1
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Slf4j
|
||||||
|
@Configuration
|
||||||
|
@RequiredArgsConstructor
|
||||||
|
public class AnYanRestTemplateConfig {
|
||||||
|
private final AnYanProperties properties;
|
||||||
|
|
||||||
|
@Bean
|
||||||
|
public RestTemplate anYanTemplate() {
|
||||||
|
ClientHttpRequestInterceptor authInterceptor = authInterceptor();
|
||||||
|
return new RestTemplateBuilder()
|
||||||
|
.setConnectTimeout(Duration.of(properties.getTimeout(), ChronoUnit.MILLIS))
|
||||||
|
.setReadTimeout(Duration.of(properties.getReadTimeout(), ChronoUnit.MILLIS))
|
||||||
|
.additionalMessageConverters(
|
||||||
|
new StringHttpMessageConverter(StandardCharsets.UTF_8),
|
||||||
|
new MappingJackson2HttpMessageConverter(),
|
||||||
|
new FormHttpMessageConverter()
|
||||||
|
)
|
||||||
|
.additionalInterceptors(authInterceptor)
|
||||||
|
.build();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 自定义拦截器处理接口鉴权失败, 配合spring retry使用从而避免因token失效导致的接口调用失败
|
||||||
|
*/
|
||||||
|
public ClientHttpRequestInterceptor authInterceptor() {
|
||||||
|
// 添加重试次数限制
|
||||||
|
AtomicInteger retryCount = new AtomicInteger(0);
|
||||||
|
int maxRetries = 5;
|
||||||
|
return (httpRequest, bytes, clientHttpRequestExecution) -> {
|
||||||
|
ClientHttpResponse execute;
|
||||||
|
try {
|
||||||
|
// 获取请求URL
|
||||||
|
String url = httpRequest.getURI().toString();
|
||||||
|
// 排除特定接口不执行拦截逻辑
|
||||||
|
boolean shouldSkip = url.contains(AnYanApiEnum.QUERY_AUTH_TOKEN.getMethodPath());
|
||||||
|
execute = clientHttpRequestExecution.execute(httpRequest, bytes);
|
||||||
|
if (shouldSkip) {
|
||||||
|
return execute;
|
||||||
|
}
|
||||||
|
HttpStatus httpStatus = execute.getStatusCode();
|
||||||
|
if (Arrays.asList(HttpStatus.UNAUTHORIZED, HttpStatus.FORBIDDEN).contains(httpStatus)
|
||||||
|
&& retryCount.getAndIncrement() < maxRetries) {
|
||||||
|
SpringContextUtils.getBean("anYanClientExecutor", AnYanClient.class).refreshToken();
|
||||||
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
log.error("---------安眼平台API调用异常-------e{}", e.getMessage(), e);
|
||||||
|
ExceptionAssertsUtil.fail("安眼平台API调用失败");
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
|
return execute;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
+125
@@ -0,0 +1,125 @@
|
|||||||
|
package com.renkang.anyan.config;
|
||||||
|
|
||||||
|
import com.renkang.anyan.enums.AnYanApiEnum;
|
||||||
|
import com.renkang.anyan.model.vo.AnYanResult;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.apache.commons.lang3.ObjectUtils;
|
||||||
|
import org.jeecg.common.util.SpringContextUtils;
|
||||||
|
import org.springframework.http.HttpEntity;
|
||||||
|
import org.springframework.http.HttpHeaders;
|
||||||
|
import org.springframework.http.HttpStatus;
|
||||||
|
import org.springframework.http.ResponseEntity;
|
||||||
|
import org.springframework.util.MultiValueMap;
|
||||||
|
import org.springframework.web.client.RestTemplate;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: RestTemplate 工具类 (更多请求方式自行封装)
|
||||||
|
* @Author: feng
|
||||||
|
* @Date: 2025-8-1
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Slf4j
|
||||||
|
public class RestTemplateUtil {
|
||||||
|
private static RestTemplate restTemplate;
|
||||||
|
private static AnYanProperties properties;
|
||||||
|
|
||||||
|
public static RestTemplate getRestTemplate() {
|
||||||
|
if (Objects.isNull(restTemplate)) {
|
||||||
|
restTemplate = SpringContextUtils.getBean("anYanTemplate", RestTemplate.class);
|
||||||
|
}
|
||||||
|
return restTemplate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static AnYanProperties getProperties() {
|
||||||
|
if (Objects.isNull(properties)) {
|
||||||
|
properties = SpringContextUtils.getBean(AnYanProperties.class);
|
||||||
|
}
|
||||||
|
return properties;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 请求接口访问 token
|
||||||
|
*
|
||||||
|
* @param api 接口
|
||||||
|
* @param requestBody 参数
|
||||||
|
* @return ResponseEntity
|
||||||
|
*/
|
||||||
|
public static <T> ResponseEntity<T> postExchange(AnYanApiEnum api, HttpHeaders headers, Object requestBody, Class<T> responseType) {
|
||||||
|
String url = getProperties().getHost() + api.getMethodPath() + api.getMethodParam();
|
||||||
|
HttpEntity<Object> requestEntity = new HttpEntity<>(requestBody);
|
||||||
|
return getRestTemplate().exchange(url, api.getHttpMethod(), requestEntity, responseType);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 公网请求接口访问 token(密码模式)
|
||||||
|
*
|
||||||
|
* @param api 接口
|
||||||
|
* @param formData 参数
|
||||||
|
* @return ResponseEntity
|
||||||
|
*/
|
||||||
|
public static <T> ResponseEntity<T> postExchangeForGetTokenByPassword(AnYanApiEnum api, MultiValueMap<String, String> formData, HttpHeaders headers, Class<T> responseType) {
|
||||||
|
String url = getProperties().getPublicHost() + api.getMethodPath();
|
||||||
|
HttpEntity<MultiValueMap<String, String>> requestEntity = new HttpEntity<>(formData, headers);
|
||||||
|
log.info("开始发送请求到: {},入参:{}", url, formData);
|
||||||
|
ResponseEntity<T> response = getRestTemplate().exchange(url, api.getHttpMethod(), requestEntity, responseType);
|
||||||
|
log.info("收到响应: {}", response);
|
||||||
|
return response;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 公网请求接口访问 token
|
||||||
|
*
|
||||||
|
* @param api 接口
|
||||||
|
* @param requestBody 参数
|
||||||
|
* @return ResponseEntity
|
||||||
|
*/
|
||||||
|
public static <T> ResponseEntity<T> postExchangeForGetToken(AnYanApiEnum api, Object requestBody, Class<T> responseType) {
|
||||||
|
String url = getProperties().getPublicHost() + api.getMethodPath() + api.getMethodParam();
|
||||||
|
HttpEntity<Object> requestEntity = new HttpEntity<>(requestBody);
|
||||||
|
return getRestTemplate().exchange(url, api.getHttpMethod(), requestEntity, responseType);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通用调用方法
|
||||||
|
*
|
||||||
|
* @param api 请求接口
|
||||||
|
* @param headers 请求头
|
||||||
|
* @param requestBody body参数
|
||||||
|
* @return Result对象
|
||||||
|
*/
|
||||||
|
public static AnYanResult<Object> postExchange(AnYanApiEnum api, HttpHeaders headers, Object requestBody) {
|
||||||
|
String url = getProperties().getHost() + api.getMethodPath() + api.getMethodParam();
|
||||||
|
HttpEntity<Object> requestEntity = new HttpEntity<>(requestBody, headers);
|
||||||
|
return responseHandler(getRestTemplate().exchange(url, api.getHttpMethod(), requestEntity, AnYanResult.class));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通用调用方法
|
||||||
|
*
|
||||||
|
* @param api 请求接口
|
||||||
|
* @param headers 请求头
|
||||||
|
* @return Result对象
|
||||||
|
*/
|
||||||
|
public static <T> ResponseEntity<T> getExchange(AnYanApiEnum api, HttpHeaders headers, Class<T> responseType) {
|
||||||
|
String url = getProperties().getHost() + api.getMethodPath() + api.getMethodParam();
|
||||||
|
HttpEntity<Object> requestEntity = new HttpEntity<>(headers);
|
||||||
|
return getRestTemplate().exchange(url, api.getHttpMethod(), requestEntity, responseType);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ResponseEntity 转 Result
|
||||||
|
*
|
||||||
|
* @param entity
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
private static <T extends AnYanResult<Object>> AnYanResult<Object> responseHandler(ResponseEntity<T> entity) {
|
||||||
|
if (HttpStatus.OK.equals(entity.getStatusCode()) && ObjectUtils.isNotEmpty(entity.getBody())) {
|
||||||
|
return entity.getBody();
|
||||||
|
} else {
|
||||||
|
return AnYanResult.error("天眼系统API调用失败");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
+46
@@ -0,0 +1,46 @@
|
|||||||
|
package com.renkang.anyan.constants;
|
||||||
|
|
||||||
|
import org.jeecg.util.RedisKeyPrefix;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: AnYanConstants 常量
|
||||||
|
* @Author: feng
|
||||||
|
* @Date: 2025-8-01
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
public interface AnYanConstants {
|
||||||
|
/**
|
||||||
|
* token传递请求头参数
|
||||||
|
*/
|
||||||
|
String AUTHORIZATION = "authorization";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* token类型
|
||||||
|
*/
|
||||||
|
String TOKEN_TYPE = "bearer ";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部分业务接口需要代入的请求头参数X-Auth-Id
|
||||||
|
*/
|
||||||
|
String HEADER_PARAM_X_AUTH_ID = "X-Auth-Id";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 请求头参数X-Auth-Id 固定前缀
|
||||||
|
*/
|
||||||
|
String X_AUTH_ID_PREFIX = "&id:";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 缓存调用安眼系统接口鉴权token缓存key
|
||||||
|
*/
|
||||||
|
String AN_YAN_API_TOKEN_PREFIX = "exterior:anyan:api:";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部分业务接口需要代入的请求头参数Roles
|
||||||
|
*/
|
||||||
|
String HEADER_PARAM_ROLES = "Roles";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 请求头Roles参数值
|
||||||
|
*/
|
||||||
|
String HEADER_PARAM_ROLES_VALUES = "company-health,aygc";
|
||||||
|
}
|
||||||
+122
@@ -0,0 +1,122 @@
|
|||||||
|
package com.renkang.anyan.enums;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import org.springframework.http.HttpMethod;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: AnYanApiEnum xj安眼系统接口枚举类
|
||||||
|
* @Author: feng
|
||||||
|
* @Date: 2025-8-1
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
public enum AnYanApiEnum {
|
||||||
|
/**
|
||||||
|
* 1.获取token接口
|
||||||
|
*/
|
||||||
|
QUERY_AUTH_TOKEN("/oauth/oauth/token", "", HttpMethod.POST),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 2.体检人数统计查询
|
||||||
|
*/
|
||||||
|
HEALTH_EXAMINATION_STATISTICS("/aygc-znhpt-sys/0/aystatistics/peopleHealthExaminationStatistics", "", HttpMethod.POST),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 3.健康打卡数据统计查询(血压,减重,血糖)
|
||||||
|
*/
|
||||||
|
HEALTH_CHECK_STATISTICS("/aygc-znhpt-sys/0/aystatistics/healthCheckStatistics", "", HttpMethod.POST),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 4.健康打卡异常数据详细查询(血压)
|
||||||
|
*/
|
||||||
|
BLOOD_PRESSURE_LIST("/aygc-znhpt-sys/0/aystatistics/bloodPressureList", "", HttpMethod.POST),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 5.健康打卡异常数据详细查询(减重)
|
||||||
|
*/
|
||||||
|
WEIGHT_PRESSURE_LIST("/aygc-znhpt-sys/0/aystatistics/weightPressureList", "", HttpMethod.POST),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 6.健康打卡异常数据详细查询(血糖)
|
||||||
|
*/
|
||||||
|
BLOOD_SUGAR_CLOCKS_LIST("/aygc-znhpt-sys/0/aystatistics/bloodSugarClockSList", "", HttpMethod.POST),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 7.体检异常数据统计查询(暂定)
|
||||||
|
*/
|
||||||
|
MEDICAL_ABNORMAL_STATISTICS("/aygc-znhpt-sys/0/aystatistics/checkstatistics", "", HttpMethod.POST),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 8.体检异常数据清单(暂定)
|
||||||
|
*/
|
||||||
|
MEDICAL_ABNORMAL_LIST("/aygc-znhpt-sys/0/aystatistics/checkList", "", HttpMethod.POST),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 9.油田医院数据查询
|
||||||
|
*/
|
||||||
|
HOSPITAL_LIST("/aygc-znhpt-sys/0/aystatistics/HospitalList", "", HttpMethod.POST),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 10.健康小屋基础数据查询
|
||||||
|
*/
|
||||||
|
HEALTH_PLACE_ROOM_LIST("/aygc-znhpt-sys/0/aystatistics/HealthPlaceHomList", "", HttpMethod.POST),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 11.健康小屋详细数据查询
|
||||||
|
*/
|
||||||
|
HEALTH_PLACE_ROOM_INFO_LIST("/aygc-znhpt-sys/0/aystatistics/initEmpHealthRoomCheckinInfoPages", "", HttpMethod.POST),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 12.从外网地址获取安眼token接口
|
||||||
|
*/
|
||||||
|
PUBLIC_NETWORK_AUTH_TOKEN("/aygc-service-sys/0/api/xj/outside/getToken", "", HttpMethod.POST),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 13.获取员工信息及单位-V2
|
||||||
|
*/
|
||||||
|
USER_INFO_UNIT_V2("/iosp-iam/v2/users/self", "?containsUnit=true", HttpMethod.GET),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 14.查询AED信息
|
||||||
|
*/
|
||||||
|
QUERY_AN_YAN_AED("/aygc-znhpt-sys/0/api/aedEquipedInfo/findPage", "", HttpMethod.POST),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 15.一人一案最新检查员工列表查询接口 (大屏首页重点关爱趋势预警滚动列表,固定查100前项)
|
||||||
|
*/
|
||||||
|
CARE_PERSON_BY_TIME("/aygc-znhpt-sys/0/api/empPersonFile/listByCreateTime", "", HttpMethod.POST),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 16.一人一案信息详情接口 (用大屏首页重点关爱趋势预警滚动列表点击数据详情)
|
||||||
|
*/
|
||||||
|
CARE_PERSON_Details("/aygc-znhpt-sys/0/api/empPersonFile/fileDetails", "", HttpMethod.POST),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 17.一人一案分页列表接口 (用大屏首页重点关爱趋势二级弹窗列表)
|
||||||
|
*/
|
||||||
|
CARE_PERSON_PAGE_LIST("aygc-znhpt-sys/0/api/empPersonFile/findPage", "", HttpMethod.POST),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 18.查询关爱联络员信息及急救人员查询接口
|
||||||
|
*/
|
||||||
|
QUERY_EMPLOYEE_CARE_PERSON("aygc-znhpt-sys/0/api/empCareEmp/findPageByIdNo", "", HttpMethod.POST);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 接口路径
|
||||||
|
*/
|
||||||
|
private String methodPath;
|
||||||
|
/**
|
||||||
|
* 接口的路径参数
|
||||||
|
*/
|
||||||
|
private String methodParam;
|
||||||
|
/**
|
||||||
|
* 接口请求方式
|
||||||
|
*/
|
||||||
|
private HttpMethod httpMethod;
|
||||||
|
|
||||||
|
AnYanApiEnum(String methodPath, String methodParam, HttpMethod httpMethod) {
|
||||||
|
this.methodPath = methodPath;
|
||||||
|
this.methodParam = methodParam;
|
||||||
|
this.httpMethod = httpMethod;
|
||||||
|
}
|
||||||
|
}
|
||||||
+34
@@ -0,0 +1,34 @@
|
|||||||
|
package com.renkang.anyan.model.dto;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(title = "AED接口查询参数", description = "AED接口查询参数")
|
||||||
|
public class AnYanAedParam {
|
||||||
|
/**
|
||||||
|
* 二级单位名称
|
||||||
|
*/
|
||||||
|
@Schema(title = "二级单位名称")
|
||||||
|
private String secondOfficeName;
|
||||||
|
/**
|
||||||
|
* 三级单位名称
|
||||||
|
*/
|
||||||
|
@Schema(title = "三级单位名称")
|
||||||
|
private String thirdOfficeName;
|
||||||
|
/**
|
||||||
|
* 提供地点
|
||||||
|
*/
|
||||||
|
@Schema(title = "提供地点")
|
||||||
|
private String providePlace;
|
||||||
|
/**
|
||||||
|
* pageNo
|
||||||
|
*/
|
||||||
|
@Schema(title = "pageNo")
|
||||||
|
private Integer pageNo = 1;
|
||||||
|
/**
|
||||||
|
* pageSize
|
||||||
|
*/
|
||||||
|
@Schema(title = "pageSize")
|
||||||
|
private Integer pageSize = 9999;
|
||||||
|
}
|
||||||
+32
@@ -0,0 +1,32 @@
|
|||||||
|
package com.renkang.anyan.model.dto;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author PengJ
|
||||||
|
* @description: 密码鉴权入参
|
||||||
|
* @date 2025/10/24 11:04
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class AuthByPasswordParam {
|
||||||
|
/**
|
||||||
|
* grant_type
|
||||||
|
*/
|
||||||
|
private String grant_type = "password";
|
||||||
|
/**
|
||||||
|
* username
|
||||||
|
*/
|
||||||
|
private String username;
|
||||||
|
/**
|
||||||
|
* password
|
||||||
|
*/
|
||||||
|
private String password;
|
||||||
|
/**
|
||||||
|
* client_id
|
||||||
|
*/
|
||||||
|
private String client_id;
|
||||||
|
/**
|
||||||
|
* client_secret
|
||||||
|
*/
|
||||||
|
private String client_secret;
|
||||||
|
}
|
||||||
+19
@@ -0,0 +1,19 @@
|
|||||||
|
package com.renkang.anyan.model.dto;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class AuthParam {
|
||||||
|
/**
|
||||||
|
*grant_type
|
||||||
|
*/
|
||||||
|
private String grant_type = "client_credentials";
|
||||||
|
/**
|
||||||
|
* client_id
|
||||||
|
*/
|
||||||
|
private String client_id;
|
||||||
|
/**
|
||||||
|
* client_secret
|
||||||
|
*/
|
||||||
|
private String client_secret;
|
||||||
|
}
|
||||||
+34
@@ -0,0 +1,34 @@
|
|||||||
|
package com.renkang.anyan.model.dto;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(title = "AED接口查询参数", description = "AED接口查询参数")
|
||||||
|
public class CareUserDetailsParam {
|
||||||
|
/**
|
||||||
|
* 员工姓名
|
||||||
|
*/
|
||||||
|
@Schema(title = "员工姓名")
|
||||||
|
private String name;
|
||||||
|
/**
|
||||||
|
* 工作单位
|
||||||
|
*/
|
||||||
|
@Schema(title = "工作单位")
|
||||||
|
private String workUnit;
|
||||||
|
/**
|
||||||
|
* 数据级别
|
||||||
|
*/
|
||||||
|
@Schema(title = "数据级别")
|
||||||
|
private String dataLevel = "0";
|
||||||
|
/**
|
||||||
|
* pageNo
|
||||||
|
*/
|
||||||
|
@Schema(title = "pageNo")
|
||||||
|
private Integer pageNo = 1;
|
||||||
|
/**
|
||||||
|
* pageSize
|
||||||
|
*/
|
||||||
|
@Schema(title = "pageSize")
|
||||||
|
private Integer pageSize = 10;
|
||||||
|
}
|
||||||
+34
@@ -0,0 +1,34 @@
|
|||||||
|
package com.renkang.anyan.model.dto;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(title = "应急联系人查询参数", description = "应急联系人查询参数")
|
||||||
|
public class EmergencyContactParam {
|
||||||
|
/**
|
||||||
|
* 员工ID
|
||||||
|
*/
|
||||||
|
@Schema(title = "员工ID")
|
||||||
|
private String emId;
|
||||||
|
/**
|
||||||
|
* 身份证号
|
||||||
|
*/
|
||||||
|
@Schema(title = "身份证号")
|
||||||
|
private String idNo;
|
||||||
|
/**
|
||||||
|
* 数据级别
|
||||||
|
*/
|
||||||
|
@Schema(title = "数据级别")
|
||||||
|
private String dataLevel = "0";
|
||||||
|
/**
|
||||||
|
* pageNo
|
||||||
|
*/
|
||||||
|
@Schema(title = "pageNo")
|
||||||
|
private Integer pageNo = 1;
|
||||||
|
/**
|
||||||
|
* pageSize
|
||||||
|
*/
|
||||||
|
@Schema(title = "pageSize")
|
||||||
|
private Integer pageSize = 10;
|
||||||
|
}
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
package com.renkang.emergency.largeScreen.entity.dto;
|
package com.renkang.anyan.model.dto;
|
||||||
|
|
||||||
import cn.hutool.core.date.DateUtil;
|
import cn.hutool.core.date.DateUtil;
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
+49
@@ -0,0 +1,49 @@
|
|||||||
|
package com.renkang.anyan.model.dto;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 健康打卡异常数据详情查询参数
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class HealthSignListParam {
|
||||||
|
/**
|
||||||
|
*单位
|
||||||
|
*/
|
||||||
|
@Schema(title = "单位")
|
||||||
|
private String departName;
|
||||||
|
/**
|
||||||
|
* 员工姓名
|
||||||
|
*/
|
||||||
|
@Schema(title = "员工姓名")
|
||||||
|
private String name;
|
||||||
|
/**
|
||||||
|
* 开始时间
|
||||||
|
*/
|
||||||
|
@Schema(title = "开始时间")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
private Date inputDateBegin;
|
||||||
|
/**
|
||||||
|
*结束时间
|
||||||
|
*/
|
||||||
|
@Schema(title = "结束时间")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
private Date inputDateEnd;
|
||||||
|
/**
|
||||||
|
* pageNo
|
||||||
|
*/
|
||||||
|
@Schema(title = "pageNo")
|
||||||
|
private Integer pageNo = 1;
|
||||||
|
/**
|
||||||
|
* pageSize
|
||||||
|
*/
|
||||||
|
@Schema(title = "pageSize")
|
||||||
|
private Integer pageSize = 10;
|
||||||
|
}
|
||||||
+9
-1
@@ -1,4 +1,4 @@
|
|||||||
package com.renkang.emergency.largeScreen.entity.dto;
|
package com.renkang.anyan.model.dto;
|
||||||
|
|
||||||
import cn.hutool.core.date.DateUtil;
|
import cn.hutool.core.date.DateUtil;
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
@@ -19,6 +19,14 @@ public class MedicalAbnormalDTO {
|
|||||||
* 员工姓名
|
* 员工姓名
|
||||||
*/
|
*/
|
||||||
private String name;
|
private String name;
|
||||||
|
/**
|
||||||
|
* 体检年份
|
||||||
|
*/
|
||||||
|
private String medicalYear;
|
||||||
|
/**
|
||||||
|
* 体检医院
|
||||||
|
*/
|
||||||
|
private String hospitalName;
|
||||||
/**
|
/**
|
||||||
* 检查日期起期 参数为空时,默认为今年第一天,如:2025-01-01
|
* 检查日期起期 参数为空时,默认为今年第一天,如:2025-01-01
|
||||||
*/
|
*/
|
||||||
+82
@@ -0,0 +1,82 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import cn.hutool.core.util.StrUtil;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.math.RoundingMode;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(title = "安眼系统AED数据详情", description = "安眼系统AED数据详情")
|
||||||
|
public class AnYanAedInfo {
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
private String id;
|
||||||
|
/**
|
||||||
|
* 二级单位名称
|
||||||
|
*/
|
||||||
|
@Schema(title = "二级单位名称")
|
||||||
|
private String secondOfficeName;
|
||||||
|
/**
|
||||||
|
* 三级单位名称
|
||||||
|
*/
|
||||||
|
@Schema(title = "三级单位名称")
|
||||||
|
private String thirdOfficeName;
|
||||||
|
/**
|
||||||
|
* 提供地点
|
||||||
|
*/
|
||||||
|
@Schema(title = "提供地点")
|
||||||
|
private String providePlace;
|
||||||
|
/**
|
||||||
|
* 电话
|
||||||
|
*/
|
||||||
|
@Schema(title = "电话")
|
||||||
|
private String tel;
|
||||||
|
/**
|
||||||
|
* 经度
|
||||||
|
*/
|
||||||
|
@Schema(title = "经度")
|
||||||
|
private String lon;
|
||||||
|
/**
|
||||||
|
* 纬度
|
||||||
|
*/
|
||||||
|
@Schema(title = "纬度")
|
||||||
|
private String lat;
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "创建时间")
|
||||||
|
private Date createDate;
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "更新时间")
|
||||||
|
private Date updateDate;
|
||||||
|
|
||||||
|
public String getLon() {
|
||||||
|
//安眼提供的经纬度过长, 在这里只保留6位小数
|
||||||
|
if(StrUtil.isNotEmpty(lon)){
|
||||||
|
BigDecimal bigDecimal = BigDecimal.valueOf(Double.parseDouble(lon)).setScale(6, RoundingMode.HALF_UP);
|
||||||
|
return bigDecimal.toString();
|
||||||
|
}
|
||||||
|
return lon;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLat() {
|
||||||
|
//安眼提供的经纬度过长, 在这里只保留6位小数
|
||||||
|
if(StrUtil.isNotEmpty(lat)){
|
||||||
|
BigDecimal bigDecimal = BigDecimal.valueOf(Double.parseDouble(lat)).setScale(6, RoundingMode.HALF_UP);
|
||||||
|
return bigDecimal.toString();
|
||||||
|
}
|
||||||
|
return lat;
|
||||||
|
}
|
||||||
|
}
|
||||||
+170
@@ -0,0 +1,170 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.jeecg.common.constant.CommonConstant;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(title = "安眼系统接口返回对象", description = "安眼系统接口返回对象")
|
||||||
|
public class AnYanResult<T> implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 成功标志
|
||||||
|
*/
|
||||||
|
@Schema(title = "成功标志")
|
||||||
|
private boolean success = true;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 返回处理消息
|
||||||
|
*/
|
||||||
|
@Schema(title = "返回处理消息")
|
||||||
|
private String message = "";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 返回代码
|
||||||
|
*/
|
||||||
|
@Schema(title = "返回代码")
|
||||||
|
private Integer code = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 返回数据对象 data
|
||||||
|
*/
|
||||||
|
@Schema(title = "返回数据对象")
|
||||||
|
private T data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 时间戳
|
||||||
|
*/
|
||||||
|
@Schema(title = "时间戳")
|
||||||
|
private long timestamp = System.currentTimeMillis();
|
||||||
|
@JsonIgnore
|
||||||
|
private String onlTable;
|
||||||
|
|
||||||
|
public AnYanResult() {
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 兼容VUE3版token失效不跳转登录页面
|
||||||
|
*
|
||||||
|
* @param code
|
||||||
|
* @param message
|
||||||
|
*/
|
||||||
|
public AnYanResult(Integer code, String message) {
|
||||||
|
this.code = code;
|
||||||
|
this.message = message;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static <T> AnYanResult<T> ok() {
|
||||||
|
AnYanResult<T> r = new AnYanResult<T>();
|
||||||
|
r.setSuccess(true);
|
||||||
|
r.setCode(CommonConstant.SC_OK_200);
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static <T> AnYanResult<T> ok(String msg) {
|
||||||
|
AnYanResult<T> r = new AnYanResult<T>();
|
||||||
|
r.setSuccess(true);
|
||||||
|
r.setCode(CommonConstant.SC_OK_200);
|
||||||
|
//Result OK(String msg)方法会造成兼容性问题 issues/I4IP3D
|
||||||
|
r.setData((T) msg);
|
||||||
|
r.setMessage(msg);
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static <T> AnYanResult<T> ok(T data) {
|
||||||
|
AnYanResult<T> r = new AnYanResult<T>();
|
||||||
|
r.setSuccess(true);
|
||||||
|
r.setCode(CommonConstant.SC_OK_200);
|
||||||
|
r.setData(data);
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static <T> AnYanResult<T> OK() {
|
||||||
|
AnYanResult<T> r = new AnYanResult<T>();
|
||||||
|
r.setSuccess(true);
|
||||||
|
r.setCode(CommonConstant.SC_OK_200);
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 此方法是为了兼容升级所创建
|
||||||
|
*
|
||||||
|
* @param msg
|
||||||
|
* @param <T>
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public static <T> AnYanResult<T> OK(String msg) {
|
||||||
|
AnYanResult<T> r = new AnYanResult<T>();
|
||||||
|
r.setSuccess(true);
|
||||||
|
r.setCode(CommonConstant.SC_OK_200);
|
||||||
|
r.setMessage(msg);
|
||||||
|
//Result OK(String msg)方法会造成兼容性问题 issues/I4IP3D
|
||||||
|
r.setData((T) msg);
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static <T> AnYanResult<T> OK(T data) {
|
||||||
|
AnYanResult<T> r = new AnYanResult<T>();
|
||||||
|
r.setSuccess(true);
|
||||||
|
r.setCode(CommonConstant.SC_OK_200);
|
||||||
|
r.setData(data);
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static <T> AnYanResult<T> OK(String msg, T data) {
|
||||||
|
AnYanResult<T> r = new AnYanResult<T>();
|
||||||
|
r.setSuccess(true);
|
||||||
|
r.setCode(CommonConstant.SC_OK_200);
|
||||||
|
r.setMessage(msg);
|
||||||
|
r.setData(data);
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static <T> AnYanResult<T> error(String msg, T data) {
|
||||||
|
AnYanResult<T> r = new AnYanResult<T>();
|
||||||
|
r.setSuccess(false);
|
||||||
|
r.setCode(CommonConstant.SC_INTERNAL_SERVER_ERROR_500);
|
||||||
|
r.setMessage(msg);
|
||||||
|
r.setData(data);
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static <T> AnYanResult<T> error(String msg) {
|
||||||
|
return error(CommonConstant.SC_INTERNAL_SERVER_ERROR_500, msg);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static <T> AnYanResult<T> error(int code, String msg) {
|
||||||
|
AnYanResult<T> r = new AnYanResult<T>();
|
||||||
|
r.setCode(code);
|
||||||
|
r.setMessage(msg);
|
||||||
|
r.setSuccess(false);
|
||||||
|
return r;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 无权限访问返回结果
|
||||||
|
*/
|
||||||
|
public static <T> AnYanResult<T> noauth(String msg) {
|
||||||
|
return error(CommonConstant.SC_JEECG_NO_AUTHZ, msg);
|
||||||
|
}
|
||||||
|
|
||||||
|
public AnYanResult<T> success(String message) {
|
||||||
|
this.message = message;
|
||||||
|
this.code = CommonConstant.SC_OK_200;
|
||||||
|
this.success = true;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
public AnYanResult<T> error500(String message) {
|
||||||
|
this.message = message;
|
||||||
|
this.code = CommonConstant.SC_INTERNAL_SERVER_ERROR_500;
|
||||||
|
this.success = false;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
+149
@@ -0,0 +1,149 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Huawei
|
||||||
|
* @version 1.0
|
||||||
|
* @description: TODO
|
||||||
|
* @date 2025/10/24 16:59
|
||||||
|
*/
|
||||||
|
@NoArgsConstructor
|
||||||
|
@Data
|
||||||
|
public class AnYanUserInfoResult {
|
||||||
|
@JsonProperty("id")
|
||||||
|
private String id;
|
||||||
|
@JsonProperty("loginName")
|
||||||
|
private String loginName;
|
||||||
|
@JsonProperty("email")
|
||||||
|
private String email;
|
||||||
|
@JsonProperty("organizationId")
|
||||||
|
private Integer organizationId;
|
||||||
|
@JsonProperty("realName")
|
||||||
|
private String realName;
|
||||||
|
@JsonProperty("phone")
|
||||||
|
private String phone;
|
||||||
|
@JsonProperty("gender")
|
||||||
|
private Integer gender;
|
||||||
|
@JsonProperty("tenantName")
|
||||||
|
private String tenantName;
|
||||||
|
@JsonProperty("tenantNum")
|
||||||
|
private String tenantNum;
|
||||||
|
@JsonProperty("roleMergeFlag")
|
||||||
|
private Integer roleMergeFlag;
|
||||||
|
@JsonProperty("tenantId")
|
||||||
|
private Integer tenantId;
|
||||||
|
@JsonProperty("currentRoleId")
|
||||||
|
private String currentRoleId;
|
||||||
|
@JsonProperty("currentRoleCode")
|
||||||
|
private String currentRoleCode;
|
||||||
|
@JsonProperty("currentRoleName")
|
||||||
|
private String currentRoleName;
|
||||||
|
@JsonProperty("currentRoleLevel")
|
||||||
|
private String currentRoleLevel;
|
||||||
|
@JsonProperty("employeeUnitDTO")
|
||||||
|
private EmployeeUnitDTO employeeUnitDTO;
|
||||||
|
|
||||||
|
@NoArgsConstructor
|
||||||
|
@Data
|
||||||
|
public static class EmployeeUnitDTO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 职工编号
|
||||||
|
*/
|
||||||
|
@JsonProperty("employeeNum")
|
||||||
|
private String employeeNum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 姓名
|
||||||
|
*/
|
||||||
|
@JsonProperty("name")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 邮箱
|
||||||
|
*/
|
||||||
|
@JsonProperty("email")
|
||||||
|
private String email;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 手机
|
||||||
|
*/
|
||||||
|
@JsonProperty("mobile")
|
||||||
|
private String mobile;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 性别,0男,1女
|
||||||
|
*/
|
||||||
|
@JsonProperty("gender")
|
||||||
|
private Integer gender;
|
||||||
|
@JsonProperty("status")
|
||||||
|
private Object status;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 启用状态
|
||||||
|
*/
|
||||||
|
@JsonProperty("enabledFlag")
|
||||||
|
private String enabledFlag;
|
||||||
|
@JsonProperty("unitName")
|
||||||
|
private String unitName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 所属二级单位unitCode
|
||||||
|
*/
|
||||||
|
@JsonProperty("unitCode")
|
||||||
|
private String unitCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 科级单位名称
|
||||||
|
*/
|
||||||
|
@JsonProperty("sectionUnitName")
|
||||||
|
private String sectionUnitName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 科级单位unitCode
|
||||||
|
*/
|
||||||
|
@JsonProperty("sectionUnitCode")
|
||||||
|
private String sectionUnitCode;
|
||||||
|
@JsonProperty("directDepartmentName")
|
||||||
|
private String directDepartmentName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 直属部门unitCode
|
||||||
|
*/
|
||||||
|
@JsonProperty("directDepartmentCode")
|
||||||
|
private String directDepartmentCode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 层级路径(unitCode拼接)
|
||||||
|
*/
|
||||||
|
@JsonProperty("levelPath")
|
||||||
|
private String levelPath;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 完整组织机构路径(unitName拼接)
|
||||||
|
*/
|
||||||
|
@JsonProperty("unitNamePath")
|
||||||
|
private String unitNamePath;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 固定电话
|
||||||
|
*/
|
||||||
|
@JsonProperty("attribute1")
|
||||||
|
private String attribute1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 职务
|
||||||
|
*/
|
||||||
|
@JsonProperty("attribute2")
|
||||||
|
private String attribute2;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 生日或年龄
|
||||||
|
*/
|
||||||
|
@JsonProperty("attribute3")
|
||||||
|
private Object attribute3;
|
||||||
|
}
|
||||||
|
}
|
||||||
+39
@@ -0,0 +1,39 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class AuthResult {
|
||||||
|
/**
|
||||||
|
*范围
|
||||||
|
*/
|
||||||
|
private String scope;
|
||||||
|
/**
|
||||||
|
*有效期
|
||||||
|
*/
|
||||||
|
private Integer expires_in;
|
||||||
|
/**
|
||||||
|
* token_type
|
||||||
|
*/
|
||||||
|
private String token_type;
|
||||||
|
/**
|
||||||
|
* token
|
||||||
|
*/
|
||||||
|
private String access_token;
|
||||||
|
/**
|
||||||
|
* refresh_token
|
||||||
|
*/
|
||||||
|
private String refresh_token;
|
||||||
|
/**
|
||||||
|
* satoken
|
||||||
|
*/
|
||||||
|
private String satoken;
|
||||||
|
/**
|
||||||
|
* message
|
||||||
|
*/
|
||||||
|
private String message;
|
||||||
|
/**
|
||||||
|
* success
|
||||||
|
*/
|
||||||
|
private boolean success;
|
||||||
|
}
|
||||||
+36
@@ -0,0 +1,36 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Data
|
||||||
|
@Schema(title="健康打卡血压异常数据详细", description="健康打卡血压异常数据详细")
|
||||||
|
public class BloodPressureList extends XjUserBaseInfo {
|
||||||
|
/**
|
||||||
|
*收缩压
|
||||||
|
*/
|
||||||
|
@Schema(title = "收缩压")
|
||||||
|
private String sbp;
|
||||||
|
/**
|
||||||
|
*收缩压是否异常
|
||||||
|
*/
|
||||||
|
@Schema(title = "收缩压是否异常")
|
||||||
|
private String sbpFlag;
|
||||||
|
/**
|
||||||
|
*舒张压
|
||||||
|
*/
|
||||||
|
@Schema(title = "舒张压")
|
||||||
|
private String dbp;
|
||||||
|
/**
|
||||||
|
*舒张压是否异常
|
||||||
|
*/
|
||||||
|
@Schema(title = "舒张压是否异常")
|
||||||
|
private String dbpFlag;
|
||||||
|
/**
|
||||||
|
*填报时间 YYYY-MM-DD
|
||||||
|
*/
|
||||||
|
@Schema(title = "填报时间")
|
||||||
|
private String inputDate;
|
||||||
|
}
|
||||||
+26
@@ -0,0 +1,26 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Data
|
||||||
|
@Schema(title="健康打卡血糖异常数据详细", description="健康打卡血糖异常数据详细")
|
||||||
|
public class BloodSugarClockSList extends XjUserBaseInfo {
|
||||||
|
/**
|
||||||
|
*血糖值
|
||||||
|
*/
|
||||||
|
@Schema(title = "血糖值")
|
||||||
|
private String bsVal;
|
||||||
|
/**
|
||||||
|
*血糖是否异常
|
||||||
|
*/
|
||||||
|
@Schema(title = "血糖是否异常")
|
||||||
|
private String bsFlag;
|
||||||
|
/**
|
||||||
|
*填报时间 YYYY-MM-DD
|
||||||
|
*/
|
||||||
|
@Schema(title = "填报时间")
|
||||||
|
private String inputDate;
|
||||||
|
}
|
||||||
+48
@@ -0,0 +1,48 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.jeecg.common.aspect.annotation.Dict;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class CarePersonList {
|
||||||
|
/**
|
||||||
|
* 姓名
|
||||||
|
*/
|
||||||
|
@Schema(title = "姓名")
|
||||||
|
private String name;
|
||||||
|
/**
|
||||||
|
* 员工ID
|
||||||
|
*/
|
||||||
|
@Schema(title = "员工ID")
|
||||||
|
private String empId;
|
||||||
|
/**
|
||||||
|
* 性别 (返回的是'男''女',汉字)
|
||||||
|
*/
|
||||||
|
@Schema(title = "性别")
|
||||||
|
private String sex;
|
||||||
|
/**
|
||||||
|
* 年龄
|
||||||
|
*/
|
||||||
|
@Schema(title = "年龄")
|
||||||
|
private Integer age;
|
||||||
|
/**
|
||||||
|
* 身份证号
|
||||||
|
*/
|
||||||
|
@Schema(title = "身份证号")
|
||||||
|
private String idNo;
|
||||||
|
/**
|
||||||
|
* 检查年份
|
||||||
|
*/
|
||||||
|
@Schema(title = "检查年份")
|
||||||
|
private String checkYear;
|
||||||
|
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "最新检查时间")
|
||||||
|
private Date createDate;
|
||||||
|
}
|
||||||
+156
@@ -0,0 +1,156 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(title="重点关爱趋势预警信息",description="重点关爱趋势预警信息")
|
||||||
|
public class CareUserListVo {
|
||||||
|
@Schema(title = "ID")
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
@Schema(title = "员工ID")
|
||||||
|
private String empId;
|
||||||
|
|
||||||
|
@Schema(title = "员工姓名")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@Schema(title = "年龄")
|
||||||
|
private Integer age;
|
||||||
|
|
||||||
|
@Schema(title = "性别")
|
||||||
|
private String sex;
|
||||||
|
|
||||||
|
@Schema(title = "工作单位")
|
||||||
|
private String workUnit ;
|
||||||
|
|
||||||
|
@Schema(title = "单位ID")
|
||||||
|
private String workUnitId;
|
||||||
|
|
||||||
|
@Schema(title = "创建时间")
|
||||||
|
private String createDate;
|
||||||
|
|
||||||
|
@Schema(title = "修改时间")
|
||||||
|
private String updateDate;
|
||||||
|
|
||||||
|
@Schema(title = "数据级别")
|
||||||
|
private Integer dataLevel;
|
||||||
|
|
||||||
|
@Schema(title = "负面清单")
|
||||||
|
private String negativeList;
|
||||||
|
|
||||||
|
@Schema(title = "一人一案")
|
||||||
|
private String caseInfo;
|
||||||
|
|
||||||
|
@Schema(title = "肥胖人员标识(1,是,2-否)")
|
||||||
|
private Integer flagFat;
|
||||||
|
|
||||||
|
@Schema(title = "BMI")
|
||||||
|
private Double bmi;
|
||||||
|
|
||||||
|
@Schema(title = "身高")
|
||||||
|
private Double height;
|
||||||
|
|
||||||
|
@Schema(title = "体重")
|
||||||
|
private Double weight;
|
||||||
|
|
||||||
|
@Schema(title = "体重管理目标")
|
||||||
|
private Double targetWeight;
|
||||||
|
|
||||||
|
@Schema(title = "目前BMI监测值")
|
||||||
|
private String bmiCurrent;
|
||||||
|
|
||||||
|
@Schema(title = "高血压(0-否,1-是)")
|
||||||
|
private Integer hypertension;
|
||||||
|
|
||||||
|
@Schema(title = "收缩压均值")
|
||||||
|
private String systolicPressureAvg;
|
||||||
|
|
||||||
|
@Schema(title = "收缩压控制目标")
|
||||||
|
private String systolicPressureTarget;
|
||||||
|
|
||||||
|
@Schema(title = "目前收缩压检测值")
|
||||||
|
private String systolicPressureCurrent;
|
||||||
|
|
||||||
|
@Schema(title = "舒张压平均值")
|
||||||
|
private String diastolicPressureAvg;
|
||||||
|
|
||||||
|
@Schema(title = "舒张压控制目标值")
|
||||||
|
private String diastolicPressureTarget;
|
||||||
|
|
||||||
|
@Schema(title = "舒张压当前检测值")
|
||||||
|
private String diastolicPressureCurrent;
|
||||||
|
|
||||||
|
@Schema(title = "糖尿病标识(0-否,1-是)")
|
||||||
|
private Integer diabetes;
|
||||||
|
|
||||||
|
@Schema(title = "空腹葡萄糖(GLU)")
|
||||||
|
private String glu;
|
||||||
|
|
||||||
|
@Schema(title = "血糖控制目标值")
|
||||||
|
private String bloodSugarTarget;
|
||||||
|
|
||||||
|
@Schema(title = "目前血糖监测值:")
|
||||||
|
private String bloodSugarCurrent;
|
||||||
|
|
||||||
|
@Schema(title = "低密度脂蛋白")
|
||||||
|
private String ldl;
|
||||||
|
|
||||||
|
@Schema(title = "低密度脂蛋白目标控制值")
|
||||||
|
private String ldlTarget;
|
||||||
|
|
||||||
|
@Schema(title = "低密度脂蛋白当前检测值")
|
||||||
|
private String ldlCurrent;
|
||||||
|
|
||||||
|
@Schema(title = "总胆固醇")
|
||||||
|
private String tc;
|
||||||
|
|
||||||
|
@Schema(title = "总胆固醇目标控制值")
|
||||||
|
private String tcTarget;
|
||||||
|
|
||||||
|
@Schema(title = "总胆固醇目前监测值")
|
||||||
|
private String tcCurrent;
|
||||||
|
|
||||||
|
@Schema(title = "甘油三酯")
|
||||||
|
private String tg;
|
||||||
|
|
||||||
|
@Schema(title = "甘油三酯目标控制值")
|
||||||
|
private String tgTarget;
|
||||||
|
|
||||||
|
@Schema(title = "甘油三酯当前监测值")
|
||||||
|
private String tgCurrent;
|
||||||
|
|
||||||
|
@Schema(title = "尿酸")
|
||||||
|
private String uricAcid;
|
||||||
|
|
||||||
|
@Schema(title = "尿酸目标控制值")
|
||||||
|
private String uricAcidTarget;
|
||||||
|
|
||||||
|
@Schema(title = "尿酸当前监测值")
|
||||||
|
private String uricAcidCurrent;
|
||||||
|
|
||||||
|
@Schema(title = "同型半胱氨酸")
|
||||||
|
private String homocysteine;
|
||||||
|
|
||||||
|
@Schema(title = "同型半胱氨酸目标控制值")
|
||||||
|
private String homocysteineTarget;
|
||||||
|
|
||||||
|
@Schema(title = "同型半胱氨酸当前监测值")
|
||||||
|
private String homocysteineCurrent;
|
||||||
|
|
||||||
|
@Schema(title = "关爱联络员姓名")
|
||||||
|
private String careLiaisonName;
|
||||||
|
|
||||||
|
@Schema(title = "治疗方案反馈")
|
||||||
|
private String treatPlanResponse;
|
||||||
|
|
||||||
|
@Schema(title = "饮食建议反馈")
|
||||||
|
private String dietSuggestionResponse;
|
||||||
|
|
||||||
|
@Schema(title = "运动指导反馈")
|
||||||
|
private String sportGuideResponse;
|
||||||
|
|
||||||
|
@Schema(title = "日常生活管理反馈")
|
||||||
|
private String lifeManageResponse;
|
||||||
|
|
||||||
|
}
|
||||||
+20
@@ -0,0 +1,20 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class CareUserVO {
|
||||||
|
private String userId;
|
||||||
|
@Schema(title = "关爱联络员姓名")
|
||||||
|
private String careLiaisonName;
|
||||||
|
@Schema(title = "关爱联络员电话")
|
||||||
|
private String careLiaisonPhone;
|
||||||
|
@Schema(title = "关爱联络员职务")
|
||||||
|
private String careLiaisonJob;
|
||||||
|
@Schema(title = "急救人员姓名")
|
||||||
|
private String lifeguardName;
|
||||||
|
@Schema(title = "急救人员电话")
|
||||||
|
private String lifeguardPhone;
|
||||||
|
|
||||||
|
}
|
||||||
+93
@@ -0,0 +1,93 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(title="安眼员工关爱联络员信息及急救人员信息",description="安眼员工关爱联络员信息及急救人员信息")
|
||||||
|
public class EmergencyContactVO {
|
||||||
|
|
||||||
|
@Schema(title = "记录编号")
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
@Schema(title = "关爱员工编号")
|
||||||
|
private String empId;
|
||||||
|
|
||||||
|
@Schema(title = "单位名称")
|
||||||
|
private String workUnit;
|
||||||
|
|
||||||
|
@Schema(title = "关爱身份证号")
|
||||||
|
private String idNo;
|
||||||
|
|
||||||
|
@Schema(title = "联系电话")
|
||||||
|
private String phone;
|
||||||
|
|
||||||
|
@Schema(title = "员工姓名")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@Schema(title = "单位id")
|
||||||
|
private String workUnitId;
|
||||||
|
|
||||||
|
@Schema(title = "性别标识(1-男,2-女)")
|
||||||
|
private String sexCode;
|
||||||
|
|
||||||
|
@Schema(title = "性别翻译")
|
||||||
|
private String sexCodeText;
|
||||||
|
|
||||||
|
@Schema(title = "办公场所周边4分钟内是否配备AED(1是 2否)")
|
||||||
|
private Integer officeAedAvailable;
|
||||||
|
|
||||||
|
@Schema(title = "办公场所AED是否能有专人管理(1是 2否)")
|
||||||
|
private Integer officeAedManaged;
|
||||||
|
|
||||||
|
@Schema(title = "办公场所AED管理人员姓名")
|
||||||
|
private String officeAedManagerName;
|
||||||
|
|
||||||
|
@Schema(title = "办公场所AED管理人员电话")
|
||||||
|
private String officeAedManagerPhone;
|
||||||
|
|
||||||
|
@Schema(title = "当班班组是否配备取证急救人员(1是 2否)")
|
||||||
|
private Integer teamHasFirstaider;
|
||||||
|
|
||||||
|
@Schema(title = "急救人员姓名")
|
||||||
|
private String firstAiderName;
|
||||||
|
|
||||||
|
@Schema(title = "急救人员电话")
|
||||||
|
private String firstAiderPhone;
|
||||||
|
|
||||||
|
@Schema(title = "重点关爱人员是否倒班(1是 2否)")
|
||||||
|
private Integer keycareShiftWork;
|
||||||
|
|
||||||
|
@Schema(title = "夜晚是否在单位公寓住宿(1是 2否)")
|
||||||
|
private Integer keycareNightStay;
|
||||||
|
|
||||||
|
@Schema(title = "是否有陪同住宿人员(1是 2否)")
|
||||||
|
private Integer hasCompanion;
|
||||||
|
|
||||||
|
@Schema(title = "陪同住宿人员是否取得急救证(1是 2否)")
|
||||||
|
private Integer companionCertified;
|
||||||
|
|
||||||
|
@Schema(title = "宿舍是否安装一键报警(1是 2否)")
|
||||||
|
private Integer dormAlarmAvailable;
|
||||||
|
|
||||||
|
@Schema(title = "公寓周边4分钟内是否配备AED(1是 2否)")
|
||||||
|
private Integer dormAedAvailable;
|
||||||
|
|
||||||
|
@Schema(title = "公寓AED是否能有专人管理(1是 2否)")
|
||||||
|
private Integer dormAedManaged;
|
||||||
|
|
||||||
|
@Schema(title = "关爱联络员id")
|
||||||
|
private String relationEmpId;
|
||||||
|
|
||||||
|
@Schema(title = "关爱联络员名称")
|
||||||
|
private String relationEmpName;
|
||||||
|
|
||||||
|
@Schema(title = "关爱联络员职务编码")
|
||||||
|
private String relationEmpPosts;
|
||||||
|
|
||||||
|
@Schema(title = "关爱联络员职务翻译")
|
||||||
|
private String relationEmpPostsText;
|
||||||
|
|
||||||
|
@Schema(title = "关爱联络员手机号")
|
||||||
|
private String relationEmpPhone;
|
||||||
|
}
|
||||||
+56
@@ -0,0 +1,56 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.jeecg.common.aspect.annotation.Dict;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(title="健康小屋数据详情列表", description="健康小屋数据详情列表")
|
||||||
|
public class HealthPlaceHomDetailsVO {
|
||||||
|
/**
|
||||||
|
* 单位
|
||||||
|
*/
|
||||||
|
@Schema(title = "单位")
|
||||||
|
private String departName;
|
||||||
|
/**
|
||||||
|
* 姓名
|
||||||
|
*/
|
||||||
|
@Schema(title = "姓名")
|
||||||
|
private String name;
|
||||||
|
/**
|
||||||
|
* 检查日期
|
||||||
|
*/
|
||||||
|
@Schema(title = "检查日期")
|
||||||
|
private String checkInDate;
|
||||||
|
/**
|
||||||
|
* 检查类型 11:BMI/21:收缩压/22:舒张压/31:血糖/41:低密度脂蛋白/42:总胆固醇/43:甘油三酯/51:尿酸/61:同型半胱氨酸 等等,缺失的可以继续加
|
||||||
|
*/
|
||||||
|
@Schema(title = "检查类型 11:BMI/21:收缩压/22:舒张压/31:血糖/41:低密度脂蛋白/42:总胆固醇/43:甘油三酯/51:尿酸/61:同型半胱氨酸 等等,缺失的可以继续加")
|
||||||
|
@Dict(dicCode = "xj_check_type")
|
||||||
|
private String checkType;
|
||||||
|
/**
|
||||||
|
* 去年体检值 前一年的体检值(初始值)
|
||||||
|
*/
|
||||||
|
@Schema(title = "去年体检值 前一年的体检值(初始值)")
|
||||||
|
private String lastVal;
|
||||||
|
/**
|
||||||
|
* 控降目标 一人一档(控降目标值)
|
||||||
|
*/
|
||||||
|
@Schema(title = "控降目标 一人一档(控降目标值")
|
||||||
|
private String goalVal;
|
||||||
|
/**
|
||||||
|
* 目前测量值 目前控降数值(可和健康打卡最新值一致)
|
||||||
|
*/
|
||||||
|
@Schema(title = "目前测量值 目前控降数值(可和健康打卡最新值一致)")
|
||||||
|
private String currentVal;
|
||||||
|
/**
|
||||||
|
* 控降差值 和控降目标对比
|
||||||
|
*/
|
||||||
|
@Schema(title = "控降差值 和控降目标对比")
|
||||||
|
private String compareVal;
|
||||||
|
/**
|
||||||
|
* 是否成功空降,1:是/0.否
|
||||||
|
*/
|
||||||
|
@Schema(title = "是否成功空降,1:是/0.否")
|
||||||
|
private String successFlag;
|
||||||
|
}
|
||||||
+39
@@ -0,0 +1,39 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(title="健康小屋数据VO", description="健康小屋数据VO")
|
||||||
|
public class HealthPlaceHomListVO {
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
private String id;
|
||||||
|
/**
|
||||||
|
* 单位
|
||||||
|
*/
|
||||||
|
@Schema(title = "单位")
|
||||||
|
private String departName;
|
||||||
|
/**
|
||||||
|
* 地点
|
||||||
|
*/
|
||||||
|
@Schema(title = "地点")
|
||||||
|
private String address;
|
||||||
|
/**
|
||||||
|
* 经度
|
||||||
|
*/
|
||||||
|
@Schema(title = "经度")
|
||||||
|
private String lon;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 纬度
|
||||||
|
*/
|
||||||
|
@Schema(title = "纬度")
|
||||||
|
private String lat;
|
||||||
|
/**
|
||||||
|
* 建设时间 YYYY-MM-DD
|
||||||
|
*/
|
||||||
|
@Schema(title = "建设时间(YYYY-MM-DD)")
|
||||||
|
private String buildDate;
|
||||||
|
}
|
||||||
+50
@@ -0,0 +1,50 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(title="新疆健康小屋对象", description="新疆健康小屋对象")
|
||||||
|
public class HealthRoomBaseVO {
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
private String id;
|
||||||
|
/**
|
||||||
|
* 地址
|
||||||
|
*/
|
||||||
|
@Schema(title = "地址")
|
||||||
|
private String address;
|
||||||
|
/**
|
||||||
|
* 单位
|
||||||
|
*/
|
||||||
|
@Schema(title = "单位")
|
||||||
|
private String departName;
|
||||||
|
/**
|
||||||
|
* 经度
|
||||||
|
*/
|
||||||
|
@Schema(title = "经度")
|
||||||
|
private String lon;
|
||||||
|
/**
|
||||||
|
* 纬度
|
||||||
|
*/
|
||||||
|
@Schema(title = "纬度")
|
||||||
|
private String lat;
|
||||||
|
/**
|
||||||
|
* 建设时间 yyyy-MM-dd
|
||||||
|
*/
|
||||||
|
@Schema(title = "建设时间")
|
||||||
|
private String buildDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 在岗人数
|
||||||
|
*/
|
||||||
|
@Schema(title = "在岗人数")
|
||||||
|
private Integer jobNum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 运转时间(分钟)
|
||||||
|
*/
|
||||||
|
@Schema(title = "运转时间(分钟)")
|
||||||
|
private Integer runTime;
|
||||||
|
}
|
||||||
+40
@@ -0,0 +1,40 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(title="打卡人数统计", description="打卡人数统计")
|
||||||
|
public class HealthSignStatVO {
|
||||||
|
/**
|
||||||
|
* 减重打卡总人数
|
||||||
|
*/
|
||||||
|
@Schema(title = "减重打卡总人数")
|
||||||
|
private String weigtTotalCount;
|
||||||
|
/**
|
||||||
|
* 减重异常人数
|
||||||
|
*/
|
||||||
|
@Schema(title = "减重异常人数")
|
||||||
|
private String weigtAbCount;
|
||||||
|
/**
|
||||||
|
* 血压打卡总人数
|
||||||
|
*/
|
||||||
|
@Schema(title = "血压打卡总人数")
|
||||||
|
private String bpTotalCount;
|
||||||
|
/**
|
||||||
|
* 血压异常人数
|
||||||
|
*/
|
||||||
|
@Schema(title = "血压异常人数")
|
||||||
|
private String bpAbCount;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 血糖打卡总人数
|
||||||
|
*/
|
||||||
|
@Schema(title = "血糖打卡总人数")
|
||||||
|
private String bsTotalCount;
|
||||||
|
/**
|
||||||
|
* 血糖异常人数
|
||||||
|
*/
|
||||||
|
@Schema(title = "血糖异常人数")
|
||||||
|
private String bsAbCount;
|
||||||
|
}
|
||||||
+50
@@ -0,0 +1,50 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Schema(title="油田医院VO", description="油田医院VO")
|
||||||
|
public class HospitalListVO {
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@Schema(title = "id")
|
||||||
|
private String id;
|
||||||
|
/**
|
||||||
|
* 医院名称
|
||||||
|
*/
|
||||||
|
@Schema(title = "医院名称")
|
||||||
|
private String hospitalName;
|
||||||
|
/**
|
||||||
|
* 别名
|
||||||
|
*/
|
||||||
|
@Schema(title = "别名")
|
||||||
|
private String alias;
|
||||||
|
/**
|
||||||
|
* 地点
|
||||||
|
*/
|
||||||
|
@Schema(title = "地点")
|
||||||
|
private String address;
|
||||||
|
/**
|
||||||
|
* 电话
|
||||||
|
*/
|
||||||
|
@Schema(title = "电话")
|
||||||
|
private String phone;
|
||||||
|
/**
|
||||||
|
* 经度
|
||||||
|
*/
|
||||||
|
@Schema(title = "经度")
|
||||||
|
private String lon;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 纬度
|
||||||
|
*/
|
||||||
|
@Schema(title = "纬度")
|
||||||
|
private String lat;
|
||||||
|
/**
|
||||||
|
* 签约时间 YYYY-MM-DD
|
||||||
|
*/
|
||||||
|
@Schema(title = "签约时间(YYYY-MM-DD)")
|
||||||
|
private String contractDate;
|
||||||
|
}
|
||||||
+14
@@ -0,0 +1,14 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class MedicalAbnormalStatisticsVO {
|
||||||
|
private Integer totalCount;
|
||||||
|
// 冠脉CTA异常人数
|
||||||
|
private Integer cardiovaAbCount;
|
||||||
|
// 头颅CTA异常人数
|
||||||
|
private Integer cerebrovAbCount;
|
||||||
|
// 冠脉ct异常人数 (未返回)
|
||||||
|
private Integer cctaAbCount;
|
||||||
|
}
|
||||||
+6
-1
@@ -1,4 +1,4 @@
|
|||||||
package com.renkang.emergency.largeScreen.entity.vo;
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
@@ -16,6 +16,11 @@ public class MedicalAbnormalVO {
|
|||||||
*/
|
*/
|
||||||
@Schema(title = "姓名")
|
@Schema(title = "姓名")
|
||||||
private String name;
|
private String name;
|
||||||
|
/**
|
||||||
|
* 身份证号
|
||||||
|
*/
|
||||||
|
@Schema(title = "身份证号")
|
||||||
|
private String idCard;
|
||||||
/**
|
/**
|
||||||
* 性别
|
* 性别
|
||||||
*/
|
*/
|
||||||
+6
-6
@@ -1,4 +1,4 @@
|
|||||||
package com.renkang.emergency.largeScreen.entity.vo;
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
@@ -10,14 +10,14 @@ public class MedicalPeopleNumStatisticsVO {
|
|||||||
*/
|
*/
|
||||||
@Schema(title = "医院名称")
|
@Schema(title = "医院名称")
|
||||||
private String hospitalName;
|
private String hospitalName;
|
||||||
|
/**
|
||||||
|
* 别名 为了显示或别的目的,医院名称过长导致不好显示,最好增加短的别名,如果没有则和hospitalName保持一致
|
||||||
|
*/
|
||||||
|
@Schema(title = "别名")
|
||||||
|
private String alias;
|
||||||
/**
|
/**
|
||||||
* 已参检人数
|
* 已参检人数
|
||||||
*/
|
*/
|
||||||
@Schema(title = "已参检人数")
|
@Schema(title = "已参检人数")
|
||||||
private Integer checkedCount;
|
private Integer checkedCount;
|
||||||
/**
|
|
||||||
* 应检人数 (可能无法提供 先冗余)
|
|
||||||
*/
|
|
||||||
@Schema(title = "应检人数 (可能无法提供 先冗余)")
|
|
||||||
private Integer totalCount;
|
|
||||||
}
|
}
|
||||||
+41
@@ -0,0 +1,41 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Data
|
||||||
|
@Schema(title="健康打卡体重异常数据详细", description="健康打卡体重异常数据详细")
|
||||||
|
public class WeightPressureList extends XjUserBaseInfo {
|
||||||
|
/**
|
||||||
|
*腰围(CM)
|
||||||
|
*/
|
||||||
|
@Schema(title = "腰围(CM)")
|
||||||
|
private String waist;
|
||||||
|
/**
|
||||||
|
*身高(M)
|
||||||
|
*/
|
||||||
|
@Schema(title = "身高(M)")
|
||||||
|
private String height;
|
||||||
|
/**
|
||||||
|
*体重(KG)
|
||||||
|
*/
|
||||||
|
@Schema(title = "体重(KG)")
|
||||||
|
private String weight;
|
||||||
|
/**
|
||||||
|
*BMI
|
||||||
|
*/
|
||||||
|
@Schema(title = "BMI")
|
||||||
|
private String bmi;
|
||||||
|
/**
|
||||||
|
*BMI是否异常(1:是/0:否)
|
||||||
|
*/
|
||||||
|
@Schema(title = "BMI是否异常(1:是/0:否)")
|
||||||
|
private String bmiFlag;
|
||||||
|
/**
|
||||||
|
*填报时间 YYYY-MM-DD
|
||||||
|
*/
|
||||||
|
@Schema(title = "填报时间")
|
||||||
|
private String inputDate;
|
||||||
|
}
|
||||||
+36
@@ -0,0 +1,36 @@
|
|||||||
|
package com.renkang.anyan.model.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 员工基本信息
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class XjUserBaseInfo {
|
||||||
|
/**
|
||||||
|
*单位
|
||||||
|
*/
|
||||||
|
@Schema(title = "单位")
|
||||||
|
private String departName;
|
||||||
|
/**
|
||||||
|
*姓名
|
||||||
|
*/
|
||||||
|
@Schema(title = "姓名")
|
||||||
|
private String name;
|
||||||
|
/**
|
||||||
|
*身份证号
|
||||||
|
*/
|
||||||
|
@Schema(title = "身份证号")
|
||||||
|
private String idCard;
|
||||||
|
/**
|
||||||
|
*年龄
|
||||||
|
*/
|
||||||
|
@Schema(title = "年龄")
|
||||||
|
private String age;
|
||||||
|
/**
|
||||||
|
*性别
|
||||||
|
*/
|
||||||
|
@Schema(title = "性别")
|
||||||
|
private String sex;
|
||||||
|
}
|
||||||
+25
@@ -0,0 +1,25 @@
|
|||||||
|
package com.renkang.anyan.utils;
|
||||||
|
|
||||||
|
import cn.hutool.core.bean.BeanUtil;
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.renkang.anyan.model.vo.AnYanResult;
|
||||||
|
|
||||||
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* IPage 类型装换
|
||||||
|
* @param <T>
|
||||||
|
*/
|
||||||
|
public class PageResultToBeanUtil<T> {
|
||||||
|
|
||||||
|
public IPage<T> transform(AnYanResult<Object> result, Class<T> tClass) {
|
||||||
|
IPage<?> page = BeanUtil.toBean(result.getData(), Page.class);
|
||||||
|
IPage<T> iPage = new Page<>();
|
||||||
|
BeanUtil.copyProperties(page,iPage,"records");
|
||||||
|
if(page.getTotal() > 0){
|
||||||
|
iPage.setRecords(page.getRecords().stream().map(o ->BeanUtil.toBean(o, tClass)).collect(Collectors.toList()));
|
||||||
|
}
|
||||||
|
return iPage;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,47 @@
|
|||||||
|
package com.renkang.anyan.utils;
|
||||||
|
|
||||||
|
import cn.hutool.crypto.Mode;
|
||||||
|
import cn.hutool.crypto.Padding;
|
||||||
|
import cn.hutool.crypto.symmetric.SM4;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* XJ安眼平台提供的数据加密工具类 仅用于安眼系统外部登录接口的对接
|
||||||
|
*/
|
||||||
|
public class SM4Utils {
|
||||||
|
|
||||||
|
private static final String privateKey = "5tgb6yhn7ujm8ik,";
|
||||||
|
// private static final String privateKey = "123456789qwertyu";
|
||||||
|
|
||||||
|
private static final String iv = "5tgb6yhn7ujm8ik,";
|
||||||
|
// private static final String iv = "abcdefghi1234567";
|
||||||
|
private static SM4 sm4 = null;
|
||||||
|
|
||||||
|
private static SM4 getInstance() {
|
||||||
|
if (sm4 == null) {
|
||||||
|
sm4 = new SM4(Mode.CBC, Padding.PKCS5Padding, privateKey.getBytes(), iv.getBytes());
|
||||||
|
}
|
||||||
|
return sm4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description 加密
|
||||||
|
* @author xj
|
||||||
|
* @time 2023/8/17
|
||||||
|
*/
|
||||||
|
public static String encryptSM4(String needEncryptText) {
|
||||||
|
return getInstance().encryptBase64(needEncryptText);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @description 解密
|
||||||
|
* @author xj
|
||||||
|
* @time 2023/8/17
|
||||||
|
*/
|
||||||
|
public static String decryptSM4(String encryptText) {
|
||||||
|
if (encryptText == null || encryptText.isEmpty()) return "";
|
||||||
|
return getInstance().decryptStr(encryptText);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
+115
@@ -0,0 +1,115 @@
|
|||||||
|
package com.renkang.anyan.utils;
|
||||||
|
|
||||||
|
import cn.hutool.core.util.StrUtil;
|
||||||
|
|
||||||
|
import javax.crypto.Cipher;
|
||||||
|
import java.net.URI;
|
||||||
|
import java.net.URISyntaxException;
|
||||||
|
import java.nio.file.Path;
|
||||||
|
import java.nio.file.Paths;
|
||||||
|
import java.security.KeyFactory;
|
||||||
|
import java.security.PublicKey;
|
||||||
|
import java.security.spec.X509EncodedKeySpec;
|
||||||
|
import java.util.Base64;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 安眼平台提供的数据加密工具类 仅用于安眼系统外部登录接口的对接
|
||||||
|
*/
|
||||||
|
public class StringUtils {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 公钥加密方法
|
||||||
|
*
|
||||||
|
* @param publicKeyText 公钥
|
||||||
|
* @param text 将要加密的信息
|
||||||
|
* @return Base64编码的字符串
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
|
||||||
|
public static String encryptByPublicKey(String publicKeyText, String text) throws Exception {
|
||||||
|
// 返回按照 X.509 标准进行编码的密钥的字节
|
||||||
|
// x509EncodedKeySpec2 是一种规范、规格
|
||||||
|
X509EncodedKeySpec x509EncodedKeySpec2 = new X509EncodedKeySpec(org.apache.commons.codec.binary.Base64.decodeBase64(publicKeyText));
|
||||||
|
KeyFactory keyFactory = KeyFactory.getInstance("RSA");
|
||||||
|
// 让密钥工厂按照指定的 规范 生成公钥
|
||||||
|
PublicKey publicKey = keyFactory.generatePublic(x509EncodedKeySpec2);
|
||||||
|
Cipher cipher = Cipher.getInstance("RSA");
|
||||||
|
// 对加密初始化,使用加密模式,公钥加密
|
||||||
|
// Cipher.ENCRYPT_MODE 可以用 1 代替
|
||||||
|
cipher.init(Cipher.ENCRYPT_MODE, publicKey);
|
||||||
|
|
||||||
|
byte[] result = cipher.doFinal(text.getBytes());
|
||||||
|
// 返回 Base64编码的字符串
|
||||||
|
return org.apache.commons.codec.binary.Base64.encodeBase64String(result);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public static String base64Encode(String input) {
|
||||||
|
return Base64.getEncoder().encodeToString(input.getBytes());
|
||||||
|
}
|
||||||
|
|
||||||
|
public static String base64Decode(String encodedInput) {
|
||||||
|
byte[] decodedBytes = Base64.getDecoder().decode(encodedInput);
|
||||||
|
return new String(decodedBytes);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static String preprocessJsonString(String jsonStr) {
|
||||||
|
String a = StrUtil.removeAll(jsonStr, ' ', '\t', '\r', '\n');
|
||||||
|
String[] searchList = {"\":\"", "\",\"", "{\"", "\"}", "\":"};
|
||||||
|
String[] replacementList = {"$is$", "$center$", "$left$", "$right$", "$start$"};
|
||||||
|
String b = org.apache.commons.lang3.StringUtils.replaceEach(a, searchList, replacementList);
|
||||||
|
String c = b.replace("\"", "\\\"");
|
||||||
|
return org.apache.commons.lang3.StringUtils.replaceEach(c, replacementList, searchList);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 提取文件名中的扩展名
|
||||||
|
*
|
||||||
|
* @param fileName 文件名
|
||||||
|
* @param needDot 需要点
|
||||||
|
* @return 文件扩展名,如果文件名中没有扩展名则返回 null
|
||||||
|
*/
|
||||||
|
public static String getFileExtension(String fileName, boolean needDot) {
|
||||||
|
// 检查文件名是否为 null 或空字符串
|
||||||
|
if (fileName == null || fileName.isEmpty()) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 找到最后一个点的位置
|
||||||
|
int lastDotIndex = fileName.lastIndexOf('.');
|
||||||
|
|
||||||
|
// 如果找不到点,或者点在字符串的第一个位置,返回 null
|
||||||
|
if (lastDotIndex == -1 || lastDotIndex == 0) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return fileName.substring(needDot ? lastDotIndex : (lastDotIndex + 1));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取路径的最后一个元素(文件名或目录名)
|
||||||
|
*
|
||||||
|
* @param pathOrUrl 文件路径或 URL
|
||||||
|
* @return 路径的最后一个元素
|
||||||
|
*/
|
||||||
|
public static String baseName(String pathOrUrl) {
|
||||||
|
if (pathOrUrl == null || pathOrUrl.isEmpty()) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
|
// 尝试将字符串解析为 URI
|
||||||
|
URI uri = new URI(pathOrUrl);
|
||||||
|
// 获取 URI 的路径部分
|
||||||
|
String path = uri.getPath();
|
||||||
|
// 使用 Path 类获取路径的最后一个元素
|
||||||
|
Path filePath = Paths.get(path);
|
||||||
|
return filePath.getFileName().toString();
|
||||||
|
} catch (URISyntaxException e) {
|
||||||
|
// 如果解析 URI 失败,则直接将字符串作为路径处理
|
||||||
|
Path filePath = Paths.get(pathOrUrl);
|
||||||
|
return filePath.getFileName().toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+3
@@ -20,6 +20,9 @@ public class ConDoctorUserVO {
|
|||||||
@Schema(title = "用户账号")
|
@Schema(title = "用户账号")
|
||||||
private String username;
|
private String username;
|
||||||
|
|
||||||
|
@Schema(title = "用户姓名")
|
||||||
|
private String realname;
|
||||||
|
|
||||||
@Schema(title = "用户密码")
|
@Schema(title = "用户密码")
|
||||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||||
private String password;
|
private String password;
|
||||||
|
|||||||
+3
@@ -76,6 +76,9 @@ public class ConDoctorVO {
|
|||||||
@Schema(title = "执业经历")
|
@Schema(title = "执业经历")
|
||||||
private String experience;
|
private String experience;
|
||||||
|
|
||||||
|
@Schema(title = "擅长")
|
||||||
|
private String goodAt;
|
||||||
|
|
||||||
@Schema(title = "排序")
|
@Schema(title = "排序")
|
||||||
private Integer sort;
|
private Integer sort;
|
||||||
|
|
||||||
|
|||||||
+2
@@ -58,5 +58,7 @@ public interface RequestPrefix {
|
|||||||
|
|
||||||
String sessionReservationDate = BASE + "/sessionReservationDate";
|
String sessionReservationDate = BASE + "/sessionReservationDate";
|
||||||
|
|
||||||
|
String screen = BASE + "/screen";
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+133
@@ -0,0 +1,133 @@
|
|||||||
|
package com.renkang.consultation.api.controller;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.OrderItem;
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.renkang.consultation.api.RequestPrefix;
|
||||||
|
import com.renkang.consultation.api.service.ConHelperApiService;
|
||||||
|
import com.renkang.consultation.dto.ConDoctorDTO;
|
||||||
|
import com.renkang.consultation.entity.ConDoctor;
|
||||||
|
import com.renkang.consultation.entity.ConSession;
|
||||||
|
import com.renkang.consultation.service.IConDoctorService;
|
||||||
|
import com.renkang.consultation.service.IConSessionService;
|
||||||
|
import com.renkang.consultation.vo.ConDoctorVO;
|
||||||
|
import com.renkang.consultation.vo.ConHelperCustomUserVO;
|
||||||
|
import com.renkang.emergency.entity.EmergencyCenterResource;
|
||||||
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
|
import org.apache.commons.collections4.CollectionUtils;
|
||||||
|
import org.jeecg.common.api.vo.Result;
|
||||||
|
import org.jeecg.common.constant.CommonConstant;
|
||||||
|
import org.jeecg.modules.manager.SysCacheImpl;
|
||||||
|
import org.jeecg.modules.system.entity.SysDepart;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
@RestController
|
||||||
|
@RequestMapping(RequestPrefix.screen)
|
||||||
|
public class ConScreenApiController {
|
||||||
|
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private IConDoctorService conDoctorService;
|
||||||
|
@Autowired
|
||||||
|
private IConSessionService conSessionService;
|
||||||
|
@Autowired
|
||||||
|
private SysCacheImpl sysCache;
|
||||||
|
|
||||||
|
@Operation(summary = "查询统计数", description = "查询统计数")
|
||||||
|
@GetMapping("/queryStaticCount")
|
||||||
|
public Result<?> queryStaticCount() {
|
||||||
|
Map<String,Long> map = new HashMap<>();
|
||||||
|
|
||||||
|
//入驻医生数
|
||||||
|
LambdaQueryWrapper<ConDoctor> dockerWrapper = new LambdaQueryWrapper<>();
|
||||||
|
dockerWrapper.eq(ConDoctor::getDoctorStatus, "1");//只查有效的
|
||||||
|
Long docCount = conDoctorService.count(dockerWrapper);
|
||||||
|
map.put("docCount",docCount);
|
||||||
|
//累计咨询
|
||||||
|
Long consultCount = conSessionService.count();
|
||||||
|
map.put("consultCount",consultCount);
|
||||||
|
//累计咨询人数
|
||||||
|
LambdaQueryWrapper<ConSession> sessionWrapper = new LambdaQueryWrapper<>();
|
||||||
|
sessionWrapper.in(ConSession::getSessionType, "1", "2");
|
||||||
|
sessionWrapper.groupBy(ConSession::getFromAccount);
|
||||||
|
sessionWrapper.select(ConSession::getFromAccount);
|
||||||
|
List<ConSession> fromAccountList = conSessionService.list(sessionWrapper);
|
||||||
|
map.put("consultPersonCount", (long) fromAccountList.size());
|
||||||
|
return Result.OK(map);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Operation(summary = "分页查询入驻专家", description = "分页查询入驻专家")
|
||||||
|
@GetMapping("/queryPageList")
|
||||||
|
public Result<IPage<ConDoctorVO>> queryPageList(ConDoctorDTO dto) {
|
||||||
|
Page<ConDoctor> page = new Page<>(dto.getPageNo(), dto.getPageSize());
|
||||||
|
// dto.setDoctorTitle("2");//主任医师
|
||||||
|
dto.setDoctorStatus("1");//有效
|
||||||
|
List<OrderItem> orders = new ArrayList<>();
|
||||||
|
orders.add(OrderItem.asc("sort"));
|
||||||
|
page.setOrders( orders);
|
||||||
|
IPage<ConDoctorVO> pageList = conDoctorService.queryPageList(page, dto);
|
||||||
|
return Result.OK(pageList);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Operation(summary = "查询全部入驻专家", description = "查询全部入驻专家")
|
||||||
|
@GetMapping("/queryDocList")
|
||||||
|
public Result<List<ConDoctorVO>> queryAllDocList() {
|
||||||
|
ConDoctorDTO dto = new ConDoctorDTO();
|
||||||
|
dto.setPageNo(1);
|
||||||
|
dto.setPageSize(1000);//懒得重写了,这里复用分页查询,专家数应该不会超过1000
|
||||||
|
Page<ConDoctor> page = new Page<>(dto.getPageNo(), dto.getPageSize());
|
||||||
|
// dto.setDoctorTitle("2");//主任医师
|
||||||
|
dto.setDoctorStatus("1");//有效
|
||||||
|
List<OrderItem> orders = new ArrayList<>();
|
||||||
|
orders.add(OrderItem.asc("sort"));
|
||||||
|
page.setOrders( orders);
|
||||||
|
IPage<ConDoctorVO> pageList = conDoctorService.queryPageList(page, dto);
|
||||||
|
if(!CollectionUtils.isEmpty(pageList.getRecords())){
|
||||||
|
return Result.OK(pageList.getRecords());
|
||||||
|
}
|
||||||
|
return Result.OK();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Operation(summary = "医院专家数量统计", description = "医院专家数量统计")
|
||||||
|
@GetMapping("/queryDocCountStat")
|
||||||
|
public Result<?> queryDocCountStat() {
|
||||||
|
List<Map<String, Object>> mapList = conDoctorService.getDocCountStatList();
|
||||||
|
return Result.OK(mapList);
|
||||||
|
}
|
||||||
|
@Operation(summary = "单位咨询数量统计", description = "单位咨询数量统计")
|
||||||
|
@GetMapping("/queryDeptCountStat")
|
||||||
|
public Result<?> queryDeptCountStat() {
|
||||||
|
List<Map<String, Object>> mapList = conDoctorService.getDeptCountStatList();
|
||||||
|
if(!CollectionUtils.isEmpty(mapList)){
|
||||||
|
for (Map<String, Object> map : mapList) {
|
||||||
|
SysDepart depart = sysCache.getDepartByOrgCode(map.get("orgCode").toString());
|
||||||
|
if(depart != null){
|
||||||
|
map.put("departName", depart.getDepartName());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return Result.OK(mapList);
|
||||||
|
}
|
||||||
|
@Operation(summary = "科室咨询数量统计", description = "科室咨询数量统计")
|
||||||
|
@GetMapping("/queryDepartmentCountStat")
|
||||||
|
public Result<?> queryDepartmentCountStat() {
|
||||||
|
List<Map<String, Object>> mapList = conDoctorService.getDepartmentCountStatList();
|
||||||
|
return Result.OK(mapList);
|
||||||
|
}
|
||||||
|
@Operation(summary = "医院咨询数量统计", description = "医院咨询数量统计")
|
||||||
|
@GetMapping("/queryHospitalCountStat")
|
||||||
|
public Result<?> queryHospitalCountStat() {
|
||||||
|
List<Map<String, Object>> mapList = conDoctorService.getHospitalCountStatList();
|
||||||
|
return Result.OK(mapList);
|
||||||
|
}
|
||||||
|
}
|
||||||
+310
-14
@@ -3,38 +3,46 @@ package com.renkang.consultation.controller;
|
|||||||
import cn.hutool.core.collection.CollUtil;
|
import cn.hutool.core.collection.CollUtil;
|
||||||
import cn.hutool.core.util.StrUtil;
|
import cn.hutool.core.util.StrUtil;
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||||
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
import com.renkang.consultation.async.AsyncExportService;
|
import com.renkang.consultation.async.AsyncExportService;
|
||||||
import com.renkang.consultation.constant.ConsultationConstants;
|
import com.renkang.consultation.constant.ConsultationConstants;
|
||||||
import com.renkang.consultation.dto.AccountDTO;
|
import com.renkang.consultation.dto.AccountDTO;
|
||||||
import com.renkang.consultation.dto.ConDoctorDTO;
|
import com.renkang.consultation.dto.ConDoctorDTO;
|
||||||
import com.renkang.consultation.dto.DoctorAudioStatusDTO;
|
import com.renkang.consultation.dto.DoctorAudioStatusDTO;
|
||||||
import com.renkang.consultation.dto.DoctorJumpHolidayDTO;
|
import com.renkang.consultation.dto.DoctorJumpHolidayDTO;
|
||||||
import com.renkang.consultation.entity.ConCostLog;
|
import com.renkang.consultation.entity.*;
|
||||||
import com.renkang.consultation.entity.ConDoctor;
|
import com.renkang.consultation.mapper.ConDepartmentMapper;
|
||||||
import com.renkang.consultation.entity.ConDoctorExAndUser;
|
import com.renkang.consultation.mapper.ConResourceMapper;
|
||||||
import com.renkang.consultation.entity.CondepartmentId;
|
|
||||||
import com.renkang.consultation.mapper.ESConDoctorMapper;
|
import com.renkang.consultation.mapper.ESConDoctorMapper;
|
||||||
import com.renkang.consultation.service.IConDepartmentService;
|
import com.renkang.consultation.service.IConDepartmentService;
|
||||||
|
import com.renkang.consultation.service.IConDoctorSchedulingService;
|
||||||
import com.renkang.consultation.service.IConDoctorService;
|
import com.renkang.consultation.service.IConDoctorService;
|
||||||
import com.renkang.consultation.service.IConResourceService;
|
import com.renkang.consultation.service.IConResourceService;
|
||||||
import com.renkang.consultation.vo.AccountVO;
|
import com.renkang.consultation.util.PicturesUtils;
|
||||||
import com.renkang.consultation.vo.ConDoctorExportVO;
|
import com.renkang.consultation.vo.*;
|
||||||
import com.renkang.consultation.vo.ConDoctorVO;
|
|
||||||
import com.renkang.consultation.vo.ConServiceVO;
|
|
||||||
import io.swagger.v3.oas.annotations.Operation;
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
import io.swagger.v3.oas.annotations.Parameter;
|
import io.swagger.v3.oas.annotations.Parameter;
|
||||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.apache.poi.ooxml.POIXMLDocumentPart;
|
||||||
|
import org.apache.poi.ss.usermodel.*;
|
||||||
|
import org.apache.poi.xssf.usermodel.*;
|
||||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
import org.jeecg.common.api.vo.Result;
|
import org.jeecg.common.api.vo.Result;
|
||||||
import org.jeecg.common.aspect.annotation.AutoLog;
|
import org.jeecg.common.aspect.annotation.AutoLog;
|
||||||
import org.jeecg.common.constant.CommonConstant;
|
import org.jeecg.common.constant.CommonConstant;
|
||||||
import org.jeecg.common.system.api.ISysBaseAPI;
|
import org.jeecg.common.system.api.ISysBaseAPI;
|
||||||
import org.jeecg.common.system.base.controller.JeecgController;
|
import org.jeecg.common.system.base.controller.JeecgController;
|
||||||
|
import org.jeecg.common.system.util.DictUtil;
|
||||||
|
import org.jeecg.common.system.vo.DictModel;
|
||||||
import org.jeecg.common.util.CheckPasswordUtil;
|
import org.jeecg.common.util.CheckPasswordUtil;
|
||||||
|
import org.jeecg.common.util.MyUploadUtil;
|
||||||
|
import org.jeecg.global.GlobalUtils;
|
||||||
import org.jeecg.util.RSAEncryptUtils;
|
import org.jeecg.util.RSAEncryptUtils;
|
||||||
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
import org.jeecgframework.poi.excel.ExcelImportUtil;
|
||||||
import org.jeecgframework.poi.excel.entity.ImportParams;
|
import org.jeecgframework.poi.excel.entity.ImportParams;
|
||||||
@@ -44,13 +52,13 @@ import org.springframework.web.bind.annotation.*;
|
|||||||
import org.springframework.web.multipart.MultipartFile;
|
import org.springframework.web.multipart.MultipartFile;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
import java.io.ByteArrayInputStream;
|
import java.io.*;
|
||||||
import java.io.IOException;
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.ArrayList;
|
import java.net.HttpURLConnection;
|
||||||
import java.util.Arrays;
|
import java.net.URL;
|
||||||
import java.util.Date;
|
import java.nio.file.Files;
|
||||||
import java.util.List;
|
import java.nio.file.Paths;
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: con_doctor
|
* @Description: con_doctor
|
||||||
@@ -72,6 +80,14 @@ public class ConDoctorController extends JeecgController<ConDoctor, IConDoctorSe
|
|||||||
private ESConDoctorMapper esConDoctorMapper;
|
private ESConDoctorMapper esConDoctorMapper;
|
||||||
@Resource
|
@Resource
|
||||||
private AsyncExportService asyncExportService;
|
private AsyncExportService asyncExportService;
|
||||||
|
@Autowired
|
||||||
|
private ConResourceMapper conResourceMapper;
|
||||||
|
@Autowired
|
||||||
|
private DictUtil dictUtil;
|
||||||
|
@Autowired
|
||||||
|
private ConDepartmentMapper conDepartmentMapper;
|
||||||
|
@Autowired
|
||||||
|
private IConDoctorSchedulingService conDoctorSchedulingService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 分页列表查询
|
* 分页列表查询
|
||||||
@@ -445,5 +461,285 @@ public class ConDoctorController extends JeecgController<ConDoctor, IConDoctorSe
|
|||||||
// }
|
// }
|
||||||
// esConDoctorMapper.deleteById(id);
|
// esConDoctorMapper.deleteById(id);
|
||||||
// return Result.OK("出库成功!");
|
// return Result.OK("出库成功!");
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
@PostMapping("/initDoctor")
|
||||||
|
public String initDoctor(@RequestParam("file") MultipartFile file,
|
||||||
|
@RequestParam("token") String token,
|
||||||
|
@RequestParam("urlPath") String urlPath) {
|
||||||
|
if (file.isEmpty()) {
|
||||||
|
return "上传文件为空";
|
||||||
|
}
|
||||||
|
PicturesUtils picturesUtils = new PicturesUtils();
|
||||||
|
try {
|
||||||
|
byte[] fileData = file.getBytes(); // 读取上传文件的字节流
|
||||||
|
Map<Integer, PicturesUtils.PicturePosition> pictures = picturesUtils.getPicturesWithRow(fileData);
|
||||||
|
|
||||||
|
try (InputStream is = file.getInputStream();
|
||||||
|
XSSFWorkbook workbook = new XSSFWorkbook(is)) {
|
||||||
|
|
||||||
|
XSSFSheet sheet = workbook.getSheetAt(0);
|
||||||
|
|
||||||
|
for (int rowIndex = 2; rowIndex <= sheet.getLastRowNum(); rowIndex++) {
|
||||||
|
Row row = sheet.getRow(rowIndex);
|
||||||
|
if (row == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
ConDoctorExAndUser doctorExAndUser = new ConDoctorExAndUser();
|
||||||
|
ConDoctorDoctorVO doctorVO = new ConDoctorDoctorVO();
|
||||||
|
ConDoctorUserVO userVO = new ConDoctorUserVO();
|
||||||
|
|
||||||
|
String name = getCellStringValue(row.getCell(0));
|
||||||
|
doctorVO.setDoctorName(name);
|
||||||
|
doctorVO.setType("1");
|
||||||
|
userVO.setRealname(name);
|
||||||
|
String account = getCellStringValue(row.getCell(1));
|
||||||
|
userVO.setUsername(account);
|
||||||
|
String password = getCellStringValue(row.getCell(2));
|
||||||
|
String g = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCmZfR/bA9X3vp86y1aEpvwzXJYKRRF1fLau2+05/ZtaITLpV8bhkmSf3neSy/Q9gAdvG75Fr73E+GWE+K5b0BpvIS1jDGo319+PpZR39SaZTKZ27XFXrosmJTZutN79t819HS1VseleunHAFgMVufE9U5jP6LGzl/wbkSy01GhzwIDAQAB";
|
||||||
|
String cipherText = RSAEncryptUtils.encrypt1(password, g);
|
||||||
|
|
||||||
|
String key = RSAEncryptUtils.decrypt1(cipherText, CommonConstant.PRIVATE_KEY);
|
||||||
|
String s = CheckPasswordUtil.checkPasswordRule(key);
|
||||||
|
if (StrUtil.isNotBlank(s)) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
userVO.setPassword(cipherText);
|
||||||
|
|
||||||
|
System.out.println("第" + (rowIndex + 1) + "行数据:姓名=" + name + ", 账号=" + account + ", 密码=" + password);
|
||||||
|
|
||||||
|
// 根据行号直接获取对应图片
|
||||||
|
PicturesUtils.PicturePosition picPos = pictures.get(rowIndex);
|
||||||
|
if (picPos != null) {
|
||||||
|
XSSFPictureData xssfPictureData = picPos.getPictureData();
|
||||||
|
String fileName = xssfPictureData.getPackagePart().getPartName().getName();
|
||||||
|
System.out.println("图片文件名:" + fileName);
|
||||||
|
|
||||||
|
File imgFile = new File("D:\\" + fileName);
|
||||||
|
File dir = imgFile.getParentFile();
|
||||||
|
if (!dir.exists()) {
|
||||||
|
dir.mkdirs();
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
Files.write(Paths.get(imgFile.getPath()), xssfPictureData.getData());
|
||||||
|
// 调用之前写好的上传接口,传入token
|
||||||
|
String url = uploadImage(imgFile, MyUploadUtil.TEMP_BIZ, token,urlPath);
|
||||||
|
userVO.setAvatar(url);
|
||||||
|
} catch (IOException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
|
||||||
|
String resourceName = getCellStringValue(row.getCell(4));
|
||||||
|
doctorVO.setResourceName(resourceName);
|
||||||
|
List<ConResource> conResources = conResourceMapper.selectByResourceName(resourceName);
|
||||||
|
if (conResources != null && !conResources.isEmpty()) {
|
||||||
|
ConResource conResource = conResources.get(0);
|
||||||
|
if (conResource != null) {
|
||||||
|
doctorVO.setResourceId(conResource.getId());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
String departmentName = getCellStringValue(row.getCell(5));
|
||||||
|
List<ConDepartment> conDepartments = conDepartmentMapper.selectListByName(departmentName);
|
||||||
|
if (conDepartments != null && !conDepartments.isEmpty()) {
|
||||||
|
ConDepartment conDepartment = conDepartments.get(0);
|
||||||
|
if (conDepartment != null) {
|
||||||
|
doctorVO.setDepartmentId(conDepartment.getId());
|
||||||
|
doctorVO.setDepartmentName(departmentName);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
String zc = getCellStringValue(row.getCell(6));
|
||||||
|
List<DictModel> models = dictUtil.queryDictItemListByCode("z_doct_lev");
|
||||||
|
DictModel dictModel = models.stream().filter(item -> item.getText().equals(zc)).findFirst().orElse(null);
|
||||||
|
if (dictModel != null) {
|
||||||
|
doctorVO.setDoctorTitle(dictModel.getValue());
|
||||||
|
}
|
||||||
|
doctorVO.setDoctorJob("3");
|
||||||
|
|
||||||
|
doctorVO.setGoodAt(getCellStringValue(row.getCell(7)));
|
||||||
|
doctorVO.setExperience(getCellStringValue(row.getCell(8)));
|
||||||
|
String sex = getCellStringValue(row.getCell(9));
|
||||||
|
userVO.setSex(Integer.valueOf(sex));
|
||||||
|
} else {
|
||||||
|
System.out.println("第" + (rowIndex + 1) + "行无对应图片");
|
||||||
|
}
|
||||||
|
doctorExAndUser.setConDoctor(doctorVO);
|
||||||
|
doctorExAndUser.setSysUserModel(userVO);
|
||||||
|
conDoctorService.saveDoctorUser(doctorExAndUser);
|
||||||
|
// 生成专家排班
|
||||||
|
String doctorId = doctorExAndUser.getConDoctor().getId();
|
||||||
|
List<ConDoctorScheduling> doctorSchedulingList = conDoctorSchedulingService.getDoctorScheduling(doctorId);
|
||||||
|
for (ConDoctorScheduling conDoctorScheduling : doctorSchedulingList) {
|
||||||
|
conDoctorScheduling.setAmNum("8");
|
||||||
|
conDoctorScheduling.setPmNum("8");
|
||||||
|
}
|
||||||
|
conDoctorSchedulingService.updateDoctorScheduling(doctorSchedulingList);
|
||||||
|
System.out.println(rowIndex);
|
||||||
|
}
|
||||||
|
return "处理成功";
|
||||||
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
return "处理失败:" + e.getMessage();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 上传图片文件到指定接口,返回响应字符串(一般是json)。
|
||||||
|
* @param file 头像文件
|
||||||
|
* @param bizValue biz字段值,示例中固定为 "temp"
|
||||||
|
* @param token x-access-token 请求头值
|
||||||
|
* @return 服务端响应内容
|
||||||
|
* @throws Exception 异常抛出
|
||||||
|
*/
|
||||||
|
private String uploadImage(File file, String bizValue, String token,String urlPath) throws Exception {
|
||||||
|
String boundary = "----WebKitFormBoundaryGEKNMBfLirBXKE2d";
|
||||||
|
String LINE_FEED = "\r\n";
|
||||||
|
String charset = "UTF-8";
|
||||||
|
|
||||||
|
URL url = new URL(urlPath);
|
||||||
|
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
|
||||||
|
conn.setUseCaches(false);
|
||||||
|
conn.setDoOutput(true);
|
||||||
|
conn.setDoInput(true);
|
||||||
|
conn.setRequestMethod("POST");
|
||||||
|
conn.setRequestProperty("Content-Type", "multipart/form-data; boundary=" + boundary);
|
||||||
|
conn.setRequestProperty("User-Agent", "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36");
|
||||||
|
conn.setRequestProperty("x-access-token", token);
|
||||||
|
conn.setRequestProperty("x-requested-with", "XMLHttpRequest");
|
||||||
|
|
||||||
|
try (
|
||||||
|
OutputStream outputStream = conn.getOutputStream();
|
||||||
|
PrintWriter writer = new PrintWriter(new OutputStreamWriter(outputStream, charset), true);
|
||||||
|
) {
|
||||||
|
// 写 biz 字段
|
||||||
|
writer.append("--").append(boundary).append(LINE_FEED);
|
||||||
|
writer.append("Content-Disposition: form-data; name=\"biz\"").append(LINE_FEED);
|
||||||
|
writer.append(LINE_FEED);
|
||||||
|
writer.append(bizValue).append(LINE_FEED);
|
||||||
|
writer.flush();
|
||||||
|
|
||||||
|
// 写文件字段
|
||||||
|
String fileName = file.getName();
|
||||||
|
String mimeType = Files.probeContentType(file.toPath());
|
||||||
|
if (mimeType == null) {
|
||||||
|
mimeType = "application/octet-stream";
|
||||||
|
}
|
||||||
|
writer.append("--").append(boundary).append(LINE_FEED);
|
||||||
|
writer.append("Content-Disposition: form-data; name=\"file\"; filename=\"").append(fileName).append("\"").append(LINE_FEED);
|
||||||
|
writer.append("Content-Type: ").append(mimeType).append(LINE_FEED);
|
||||||
|
writer.append(LINE_FEED);
|
||||||
|
writer.flush();
|
||||||
|
|
||||||
|
try (FileInputStream inputStream = new FileInputStream(file)) {
|
||||||
|
byte[] buffer = new byte[4096];
|
||||||
|
int bytesRead;
|
||||||
|
while ((bytesRead = inputStream.read(buffer)) != -1) {
|
||||||
|
outputStream.write(buffer, 0, bytesRead);
|
||||||
|
}
|
||||||
|
outputStream.flush();
|
||||||
|
}
|
||||||
|
|
||||||
|
writer.append(LINE_FEED);
|
||||||
|
writer.flush();
|
||||||
|
|
||||||
|
// 结尾
|
||||||
|
writer.append("--").append(boundary).append("--").append(LINE_FEED);
|
||||||
|
writer.flush();
|
||||||
|
}
|
||||||
|
|
||||||
|
int status = conn.getResponseCode();
|
||||||
|
InputStream responseStream = (status >= 200 && status < 300) ? conn.getInputStream() : conn.getErrorStream();
|
||||||
|
|
||||||
|
try (BufferedReader reader = new BufferedReader(new InputStreamReader(responseStream, charset))) {
|
||||||
|
StringBuilder response = new StringBuilder();
|
||||||
|
String line;
|
||||||
|
while ((line = reader.readLine()) != null) {
|
||||||
|
response.append(line);
|
||||||
|
}
|
||||||
|
|
||||||
|
// 解析json,提取result.url
|
||||||
|
ObjectMapper mapper = new ObjectMapper();
|
||||||
|
JsonNode rootNode = mapper.readTree(response.toString());
|
||||||
|
if (rootNode.path("success").asBoolean(false)) {
|
||||||
|
JsonNode urlNode = rootNode.path("result").path("url");
|
||||||
|
if (!urlNode.isMissingNode()) {
|
||||||
|
return urlNode.asText();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 如果失败或无url,返回完整响应或空
|
||||||
|
return "";
|
||||||
|
} finally {
|
||||||
|
conn.disconnect();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
private String getCellStringValue(Cell cell) {
|
||||||
|
if (cell == null) {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
cell.setCellType(CellType.STRING);
|
||||||
|
return cell.getStringCellValue().trim();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
PicturesUtils picturesUtils = new PicturesUtils();
|
||||||
|
byte[] fileData = picturesUtils.getFileStream(new File("C:\\Users\\Huawei\\Desktop\\专家库.xlsm"));
|
||||||
|
Map<Integer, PicturesUtils.PicturePosition> pictures = picturesUtils.getPicturesWithRow(fileData);
|
||||||
|
pictures.forEach((row, picturePosition) -> {
|
||||||
|
System.out.println("图片所在行号(从0开始):" + row);
|
||||||
|
XSSFPictureData pictureData = picturePosition.getPictureData();
|
||||||
|
String fileName = pictureData.getPackagePart().getPartName().getName();
|
||||||
|
System.out.println("文件名:" + fileName);
|
||||||
|
// 保存路径,注意转义反斜杠
|
||||||
|
File file = new File("D:\\" + fileName);
|
||||||
|
File dir = file.getParentFile();
|
||||||
|
if (!dir.exists()) {
|
||||||
|
dir.mkdirs();
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
Files.write(Paths.get(file.getPath()), pictureData.getData());
|
||||||
|
System.out.println("图片保存成功,路径:" + file.getPath());
|
||||||
|
} catch (IOException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// public static void main(String[] args) {
|
||||||
|
// String filePath = "C:\\Users\\Huawei\\Desktop\\专家库.xlsm";
|
||||||
|
//
|
||||||
|
// try (FileInputStream fis = new FileInputStream(filePath);
|
||||||
|
// XSSFWorkbook workbook = new XSSFWorkbook(fis)) {
|
||||||
|
//
|
||||||
|
// XSSFSheet sheet = workbook.getSheetAt(0);
|
||||||
|
//
|
||||||
|
// XSSFDrawing drawing = sheet.getDrawingPatriarch();
|
||||||
|
// if (drawing == null) {
|
||||||
|
// System.out.println("该sheet没有图片");
|
||||||
|
// return;
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// List<XSSFShape> shapes = drawing.getShapes();
|
||||||
|
// for (XSSFShape shape : shapes) {
|
||||||
|
// if (shape instanceof XSSFPicture) {
|
||||||
|
// XSSFPicture picture = (XSSFPicture) shape;
|
||||||
|
// XSSFClientAnchor anchor = picture.getPreferredSize();
|
||||||
|
//
|
||||||
|
// int row = anchor.getRow1(); // 图片所在的起始行号(从0开始)
|
||||||
|
// int col = anchor.getCol1(); // 图片所在的起始列号
|
||||||
|
//
|
||||||
|
// String fileName = picture.getPictureData().getPackagePart().getPartName().getName();
|
||||||
|
// System.out.println("图片对应行:" + (row + 1) + ",列:" + (col + 1) + ",文件名:" + fileName);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// } catch (Exception e) {
|
||||||
|
// e.printStackTrace();
|
||||||
|
// }
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
|
|||||||
+85
@@ -214,4 +214,89 @@ public interface ConDoctorMapper extends BaseMapper<ConDoctor> , MPJBaseMapper<C
|
|||||||
|
|
||||||
String selectDoctorNoExist(@Param("doctorNo") String doctorNo,@Param("doctorId") String doctorId);
|
String selectDoctorNoExist(@Param("doctorNo") String doctorNo,@Param("doctorId") String doctorId);
|
||||||
|
|
||||||
|
@Select("SELECT\n" +
|
||||||
|
" * \n" +
|
||||||
|
"FROM\n" +
|
||||||
|
" (\n" +
|
||||||
|
" SELECT\n" +
|
||||||
|
" conr.resource_name hospitalName,\n" +
|
||||||
|
" count(doct.resource_id) docCount \n" +
|
||||||
|
" FROM\n" +
|
||||||
|
" con_resource conr\n" +
|
||||||
|
" LEFT JOIN con_doctor doct ON conr.id = doct.resource_id \n" +
|
||||||
|
" WHERE conr.del_flag = 0 and doct.del_flag = 0 and doct.doctor_status = '1' \n" +
|
||||||
|
" GROUP BY conr.id) a\n" +
|
||||||
|
"ORDER BY\n" +
|
||||||
|
" docCount DESC")
|
||||||
|
List<Map<String, Object>> getDocCountStatList();
|
||||||
|
|
||||||
|
@Select("SELECT\n" +
|
||||||
|
" * \n" +
|
||||||
|
"FROM\n" +
|
||||||
|
" (\n" +
|
||||||
|
" SELECT\n" +
|
||||||
|
" LEFT(org_code, 6) orgCode,\n" +
|
||||||
|
" SUM(CASE WHEN c.session_type = '2' THEN 1 ELSE 0 END) AS consultHelperCount,\n" +
|
||||||
|
" SUM(CASE WHEN c.session_type = '1' THEN 1 ELSE 0 END) AS consultDocCount\n" +
|
||||||
|
" FROM\n" +
|
||||||
|
" con_session c \n" +
|
||||||
|
" WHERE\n" +
|
||||||
|
" c.del_flag = 0 \n" +
|
||||||
|
" AND c.STATUS = '1' \n" +
|
||||||
|
" AND (c.tf_reply = 1 OR c.user_tf_reply = 1) \n" +
|
||||||
|
" AND c.session_type IN ('1', '2') \n" +
|
||||||
|
" AND length(c.org_code) >= 6 \n" +
|
||||||
|
" GROUP BY\n" +
|
||||||
|
" LEFT(org_code, 6)) a \n" +
|
||||||
|
"ORDER BY\n" +
|
||||||
|
" consultHelperCount DESC")
|
||||||
|
List<Map<String, Object>> getDeptCountStatList();
|
||||||
|
|
||||||
|
@Select("SELECT\n" +
|
||||||
|
" * \n" +
|
||||||
|
"FROM\n" +
|
||||||
|
" (\n" +
|
||||||
|
" SELECT\n" +
|
||||||
|
" cre.department_name departmentName,\n" +
|
||||||
|
" SUM(CASE WHEN c.content_type = '1' THEN 1 ELSE 0 END) AS consultImCount,\n" +
|
||||||
|
" SUM(CASE WHEN c.content_type = '2' THEN 1 ELSE 0 END) AS consultVedioCount\n" +
|
||||||
|
" FROM\n" +
|
||||||
|
" con_session c\n" +
|
||||||
|
" LEFT JOIN con_doctor d ON c.to_account = d.id\n" +
|
||||||
|
" LEFT JOIN con_department cre ON d.department_id = cre.id \n" +
|
||||||
|
" WHERE\n" +
|
||||||
|
" c.del_flag = 0 \n" +
|
||||||
|
" AND c.STATUS = '1' \n" +
|
||||||
|
" AND (c.tf_reply = 1 OR c.user_tf_reply = 1) \n" +
|
||||||
|
" AND c.session_type = '1' \n" +
|
||||||
|
" AND cre.id IS NOT NULL \n" +
|
||||||
|
" GROUP BY\n" +
|
||||||
|
" cre.id) a \n" +
|
||||||
|
"ORDER BY\n" +
|
||||||
|
" consultImCount DESC")
|
||||||
|
List<Map<String, Object>> getDepartmentCountStatList();
|
||||||
|
|
||||||
|
@Select("SELECT\n" +
|
||||||
|
" * \n" +
|
||||||
|
"FROM\n" +
|
||||||
|
" (\n" +
|
||||||
|
" SELECT\n" +
|
||||||
|
" cre.resource_name hospitalName,\n" +
|
||||||
|
" SUM(CASE WHEN c.content_type = '1' THEN 1 ELSE 0 END) AS consultImCount,\n" +
|
||||||
|
" SUM(CASE WHEN c.content_type = '2' THEN 1 ELSE 0 END) AS consultVedioCount\n" +
|
||||||
|
" FROM\n" +
|
||||||
|
" con_session c\n" +
|
||||||
|
" LEFT JOIN con_doctor d ON c.to_account = d.id\n" +
|
||||||
|
" LEFT JOIN con_resource cre ON d.resource_id = cre.id \n" +
|
||||||
|
" WHERE\n" +
|
||||||
|
" c.del_flag = 0 \n" +
|
||||||
|
" AND c.STATUS = '1' \n" +
|
||||||
|
" AND (c.tf_reply = 1 OR c.user_tf_reply = 1) \n" +
|
||||||
|
" AND c.session_type = '1' \n" +
|
||||||
|
" AND cre.id IS NOT NULL \n" +
|
||||||
|
" GROUP BY\n" +
|
||||||
|
" cre.id) a \n" +
|
||||||
|
"ORDER BY\n" +
|
||||||
|
" consultImCount DESC")
|
||||||
|
List<Map<String, Object>> getHospitalCountStatList();
|
||||||
}
|
}
|
||||||
|
|||||||
+9
@@ -16,6 +16,7 @@ import org.springframework.web.multipart.MultipartFile;
|
|||||||
|
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: con_doctor
|
* @Description: con_doctor
|
||||||
@@ -154,4 +155,12 @@ public interface IConDoctorService extends IService<ConDoctor> {
|
|||||||
void updateDoctorByLog(ConDoctorChangeLog changeLog);
|
void updateDoctorByLog(ConDoctorChangeLog changeLog);
|
||||||
|
|
||||||
void recommendDoctor(String id, Integer type);
|
void recommendDoctor(String id, Integer type);
|
||||||
|
|
||||||
|
List<Map<String, Object>> getDocCountStatList();
|
||||||
|
|
||||||
|
List<Map<String, Object>> getDeptCountStatList();
|
||||||
|
|
||||||
|
List<Map<String, Object>> getDepartmentCountStatList();
|
||||||
|
|
||||||
|
List<Map<String, Object>> getHospitalCountStatList();
|
||||||
}
|
}
|
||||||
|
|||||||
+21
@@ -441,6 +441,7 @@ public class ConDoctorServiceImpl extends ServiceImpl<ConDoctorMapper, ConDoctor
|
|||||||
|
|
||||||
// 保存医生信息
|
// 保存医生信息
|
||||||
int i = saveDoctor(conDoctor);
|
int i = saveDoctor(conDoctor);
|
||||||
|
conDoctorExAndUser.getConDoctor().setId(conDoctor.getId());
|
||||||
|
|
||||||
// 检查是否成功插入医生信息,如果失败则返回错误
|
// 检查是否成功插入医生信息,如果失败则返回错误
|
||||||
if (i == 0) {
|
if (i == 0) {
|
||||||
@@ -1089,4 +1090,24 @@ public class ConDoctorServiceImpl extends ServiceImpl<ConDoctorMapper, ConDoctor
|
|||||||
doctor.setTfRecommend(String.valueOf(type));
|
doctor.setTfRecommend(String.valueOf(type));
|
||||||
this.updateDoctor(doctor);
|
this.updateDoctor(doctor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<Map<String, Object>> getDocCountStatList() {
|
||||||
|
return conDoctorMapper.getDocCountStatList();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<Map<String, Object>> getDeptCountStatList() {
|
||||||
|
return conDoctorMapper.getDeptCountStatList();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<Map<String, Object>> getDepartmentCountStatList() {
|
||||||
|
return conDoctorMapper.getDepartmentCountStatList();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<Map<String, Object>> getHospitalCountStatList() {
|
||||||
|
return conDoctorMapper.getHospitalCountStatList();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+370
@@ -0,0 +1,370 @@
|
|||||||
|
package com.renkang.consultation.util;
|
||||||
|
|
||||||
|
import cn.hutool.json.JSONArray;
|
||||||
|
import cn.hutool.json.JSONObject;
|
||||||
|
import cn.hutool.json.XML;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.apache.commons.collections4.map.HashedMap;
|
||||||
|
import org.apache.commons.io.IOUtils;
|
||||||
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
import org.apache.poi.openxml4j.opc.PackagePartName;
|
||||||
|
import org.apache.poi.ss.usermodel.Sheet;
|
||||||
|
import org.apache.poi.ss.usermodel.Workbook;
|
||||||
|
import org.apache.poi.ss.usermodel.WorkbookFactory;
|
||||||
|
import org.apache.poi.xssf.usermodel.*;
|
||||||
|
|
||||||
|
import java.io.*;
|
||||||
|
import java.nio.charset.StandardCharsets;
|
||||||
|
import java.nio.file.Files;
|
||||||
|
import java.nio.file.Path;
|
||||||
|
import java.nio.file.Paths;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Iterator;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
import java.util.zip.ZipEntry;
|
||||||
|
import java.util.zip.ZipInputStream;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author bianhl
|
||||||
|
* @version 1.0
|
||||||
|
* @description 获取图片资源
|
||||||
|
* @date 2024年4月28日08:44:42
|
||||||
|
*/
|
||||||
|
@Slf4j
|
||||||
|
public class PicturesUtils {
|
||||||
|
|
||||||
|
public static void main(String[] args) {
|
||||||
|
PicturesUtils picturesUtils = new PicturesUtils();
|
||||||
|
byte[] fileData = picturesUtils.getFileStream(new File("你的文件路径"));
|
||||||
|
Map<String, XSSFPictureData> pictures = picturesUtils.getPictures(fileData);
|
||||||
|
pictures.forEach((id, xssfPictureData) -> {
|
||||||
|
System.out.println("id:" + id);
|
||||||
|
String fileName = xssfPictureData.getPackagePart().getPartName().getName();
|
||||||
|
System.out.println("fileName:" + fileName);
|
||||||
|
File file = new File("C:\\Users\\XXX\\Desktop\\" + fileName);
|
||||||
|
File dir = file.getParentFile();
|
||||||
|
dir.mkdirs();
|
||||||
|
try {
|
||||||
|
Files.write(Paths.get(file.getPath()), xssfPictureData.getData());
|
||||||
|
} catch (IOException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取浮动图片,以 map 形式返回,键为行列格式 x-y。
|
||||||
|
*
|
||||||
|
* @param xssfSheet WPS 工作表
|
||||||
|
* @return 浮动图片的 map
|
||||||
|
*/
|
||||||
|
public static Map<String, XSSFPictureData> getFloatingPictures(XSSFSheet xssfSheet) {
|
||||||
|
Map<String, XSSFPictureData> mapFloatingPictures = new HashMap<>();
|
||||||
|
XSSFDrawing drawingPatriarch = xssfSheet.getDrawingPatriarch();
|
||||||
|
if (drawingPatriarch != null) {
|
||||||
|
List<XSSFShape> shapes = drawingPatriarch.getShapes();
|
||||||
|
for (XSSFShape shape : shapes) {
|
||||||
|
if (shape instanceof XSSFPicture) {
|
||||||
|
XSSFPicture picture = (XSSFPicture) shape;
|
||||||
|
XSSFClientAnchor anchor = (XSSFClientAnchor) picture.getAnchor();
|
||||||
|
XSSFPictureData pictureData = picture.getPictureData();
|
||||||
|
String key = anchor.getRow1() + "-" + anchor.getCol1();
|
||||||
|
mapFloatingPictures.put(key, pictureData);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return mapFloatingPictures;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 处理 WPS 文件中的图片数据,返回图片信息 map。
|
||||||
|
*
|
||||||
|
* @param stream 输入流
|
||||||
|
* @param mapConfig 配置映射
|
||||||
|
* @return 图片信息的 map
|
||||||
|
* @throws IOException
|
||||||
|
*/
|
||||||
|
private Map<String, XSSFPictureData> processPictures(ByteArrayInputStream stream, Map<String, String> mapConfig) throws IOException {
|
||||||
|
Map<String, XSSFPictureData> mapPictures = new HashedMap<>();
|
||||||
|
Workbook workbook = WorkbookFactory.create(stream);
|
||||||
|
List<XSSFPictureData> allPictures = (List<XSSFPictureData>) workbook.getAllPictures();
|
||||||
|
for (XSSFPictureData pictureData : allPictures) {
|
||||||
|
PackagePartName partName = pictureData.getPackagePart().getPartName();
|
||||||
|
String uri = partName.getURI().toString();
|
||||||
|
if (mapConfig.containsKey(uri)) {
|
||||||
|
String strId = mapConfig.get(uri);
|
||||||
|
mapPictures.put(strId, pictureData);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return mapPictures;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取 WPS 文档中的图片,包括嵌入式图片和浮动式图片。
|
||||||
|
*
|
||||||
|
* @param data 二进制数据
|
||||||
|
* @return 图片信息的 map
|
||||||
|
* @throws IOException
|
||||||
|
*/
|
||||||
|
public Map<String, XSSFPictureData> getPictures(byte[] data) {
|
||||||
|
try {
|
||||||
|
Map<String, String> mapConfig = processZipEntries(new ByteArrayInputStream(data));
|
||||||
|
Map<String, XSSFPictureData> mapPictures = processPictures(new ByteArrayInputStream(data), mapConfig);
|
||||||
|
Iterator<Sheet> sheetIterator = WorkbookFactory.create(new ByteArrayInputStream(data)).sheetIterator();
|
||||||
|
while (sheetIterator.hasNext()) {
|
||||||
|
mapPictures.putAll(getFloatingPictures((XSSFSheet) sheetIterator.next()));
|
||||||
|
}
|
||||||
|
return mapPictures;
|
||||||
|
} catch (IOException e) {
|
||||||
|
return new HashedMap<>();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public static class PicturePosition {
|
||||||
|
private XSSFPictureData pictureData;
|
||||||
|
private int row;
|
||||||
|
private int col;
|
||||||
|
|
||||||
|
public PicturePosition(XSSFPictureData pictureData, int row, int col) {
|
||||||
|
this.pictureData = pictureData;
|
||||||
|
this.row = row;
|
||||||
|
this.col = col;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public Map<Integer, PicturePosition> getPicturesWithRow(byte[] data) {
|
||||||
|
Map<Integer, PicturePosition> pictureMap = new HashMap<>();
|
||||||
|
try {
|
||||||
|
Map<String, String> mapConfig = processZipEntries(new ByteArrayInputStream(data));
|
||||||
|
Map<String, XSSFPictureData> mapPictures = processPictures(new ByteArrayInputStream(data), mapConfig);
|
||||||
|
Iterator<Sheet> sheetIterator = WorkbookFactory.create(new ByteArrayInputStream(data)).sheetIterator();
|
||||||
|
while (sheetIterator.hasNext()) {
|
||||||
|
XSSFSheet sheet = (XSSFSheet) sheetIterator.next();
|
||||||
|
Map<Integer, PicturePosition> floatingPics = getFloatingPicturesWithRow(sheet);
|
||||||
|
pictureMap.putAll(floatingPics);
|
||||||
|
}
|
||||||
|
} catch (IOException e) {
|
||||||
|
// 处理异常
|
||||||
|
}
|
||||||
|
return pictureMap;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Map<Integer, PicturePosition> getFloatingPicturesWithRow(XSSFSheet xssfSheet) {
|
||||||
|
Map<Integer, PicturePosition> map = new HashMap<>();
|
||||||
|
XSSFDrawing drawingPatriarch = xssfSheet.getDrawingPatriarch();
|
||||||
|
if (drawingPatriarch != null) {
|
||||||
|
List<XSSFShape> shapes = drawingPatriarch.getShapes();
|
||||||
|
for (XSSFShape shape : shapes) {
|
||||||
|
if (shape instanceof XSSFPicture) {
|
||||||
|
XSSFPicture picture = (XSSFPicture) shape;
|
||||||
|
XSSFClientAnchor anchor = (XSSFClientAnchor) picture.getAnchor();
|
||||||
|
int row = anchor.getRow1();
|
||||||
|
int col = anchor.getCol1();
|
||||||
|
map.put(row, new PicturePosition(picture.getPictureData(), row, col));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 处理 Zip 文件中的条目,更新图片配置信息。
|
||||||
|
*
|
||||||
|
* @param stream Zip 输入流
|
||||||
|
* @return 配置信息的 map
|
||||||
|
* @throws IOException
|
||||||
|
*/
|
||||||
|
private Map<String, String> processZipEntries(ByteArrayInputStream stream) throws IOException {
|
||||||
|
Map<String, String> mapConfig = new HashedMap<>();
|
||||||
|
ZipInputStream zipInputStream = new ZipInputStream(stream);
|
||||||
|
ZipEntry zipEntry;
|
||||||
|
while ((zipEntry = zipInputStream.getNextEntry()) != null) {
|
||||||
|
try {
|
||||||
|
final String fileName = zipEntry.getName();
|
||||||
|
if ("xl/cellimages.xml".equals(fileName)) {
|
||||||
|
processCellImages(zipInputStream, mapConfig);
|
||||||
|
} else if ("xl/_rels/cellimages.xml.rels".equals(fileName)) {
|
||||||
|
return processCellImagesRels(zipInputStream, mapConfig);
|
||||||
|
}
|
||||||
|
} finally {
|
||||||
|
zipInputStream.closeEntry();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return new HashedMap<>();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 处理 Zip 文件中的 cellimages.xml 文件,更新图片配置信息。
|
||||||
|
*
|
||||||
|
* @param zipInputStream Zip 输入流
|
||||||
|
* @param mapConfig 配置信息的 map
|
||||||
|
* @throws IOException
|
||||||
|
*/
|
||||||
|
private void processCellImages(ZipInputStream zipInputStream, Map<String, String> mapConfig) throws IOException {
|
||||||
|
String content = IOUtils.toString(zipInputStream, StandardCharsets.UTF_8);
|
||||||
|
JSONObject jsonObject = XML.toJSONObject(content);
|
||||||
|
if (jsonObject != null) {
|
||||||
|
JSONObject cellImages = jsonObject.getJSONObject("etc:cellImages");
|
||||||
|
if (cellImages != null) {
|
||||||
|
JSONArray cellImageArray = null;
|
||||||
|
Object cellImage = cellImages.get("etc:cellImage");
|
||||||
|
if (cellImage != null && cellImage instanceof JSONArray) {
|
||||||
|
cellImageArray = (JSONArray) cellImage;
|
||||||
|
} else if (cellImage != null && cellImage instanceof JSONObject) {
|
||||||
|
JSONObject cellImageObj = (JSONObject) cellImage; // 显式类型转换
|
||||||
|
if (cellImageObj != null) {
|
||||||
|
cellImageArray = new JSONArray();
|
||||||
|
cellImageArray.add(cellImageObj);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (cellImageArray != null) {
|
||||||
|
processImageItems(cellImageArray, mapConfig);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 处理 cellImageArray 中的图片项,更新图片配置信息。
|
||||||
|
*
|
||||||
|
* @param cellImageArray 图片项的 JSONArray
|
||||||
|
* @param mapConfig 配置信息的 map
|
||||||
|
*/
|
||||||
|
private void processImageItems(JSONArray cellImageArray, Map<String, String> mapConfig) {
|
||||||
|
for (int i = 0; i < cellImageArray.size(); i++) {
|
||||||
|
JSONObject imageItem = cellImageArray.getJSONObject(i);
|
||||||
|
if (imageItem != null) {
|
||||||
|
JSONObject pic = imageItem.getJSONObject("xdr:pic");
|
||||||
|
if (pic != null) {
|
||||||
|
processPic(pic, mapConfig);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 处理 pic 中的图片信息,更新图片配置信息。
|
||||||
|
*
|
||||||
|
* @param pic 图片的 JSONObject
|
||||||
|
* @param mapConfig 配置信息的 map
|
||||||
|
*/
|
||||||
|
private void processPic(JSONObject pic, Map<String, String> mapConfig) {
|
||||||
|
JSONObject nvPicPr = pic.getJSONObject("xdr:nvPicPr");
|
||||||
|
if (nvPicPr != null) {
|
||||||
|
JSONObject cNvPr = nvPicPr.getJSONObject("xdr:cNvPr");
|
||||||
|
if (cNvPr != null) {
|
||||||
|
String name = cNvPr.getStr("name");
|
||||||
|
if (StringUtils.isNotEmpty(name)) {
|
||||||
|
String strImageEmbed = updateImageEmbed(pic);
|
||||||
|
if (strImageEmbed != null) {
|
||||||
|
mapConfig.put(strImageEmbed, name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取嵌入式图片的 embed 信息。
|
||||||
|
*
|
||||||
|
* @param pic 图片的 JSONObject
|
||||||
|
* @return embed 信息
|
||||||
|
*/
|
||||||
|
private String updateImageEmbed(JSONObject pic) {
|
||||||
|
JSONObject blipFill = pic.getJSONObject("xdr:blipFill");
|
||||||
|
if (blipFill != null) {
|
||||||
|
JSONObject blip = blipFill.getJSONObject("a:blip");
|
||||||
|
if (blip != null) {
|
||||||
|
return blip.getStr("r:embed");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 处理 Zip 文件中的 relationship 条目,更新配置信息。
|
||||||
|
*
|
||||||
|
* @param zipInputStream Zip 输入流
|
||||||
|
* @param mapConfig 配置信息的 map
|
||||||
|
* @return 配置信息的 map
|
||||||
|
* @throws IOException
|
||||||
|
*/
|
||||||
|
private Map<String, String> processCellImagesRels(ZipInputStream zipInputStream, Map<String, String> mapConfig) throws IOException {
|
||||||
|
String content = IOUtils.toString(zipInputStream, StandardCharsets.UTF_8);
|
||||||
|
JSONObject jsonObject = XML.toJSONObject(content);
|
||||||
|
JSONObject relationships = jsonObject.getJSONObject("Relationships");
|
||||||
|
if (relationships != null) {
|
||||||
|
JSONArray relationshipArray = null;
|
||||||
|
Object relationship = relationships.get("Relationship");
|
||||||
|
|
||||||
|
if (relationship != null && relationship instanceof JSONArray) {
|
||||||
|
relationshipArray = (JSONArray) relationship;
|
||||||
|
} else if (relationship != null && relationship instanceof JSONObject) {
|
||||||
|
JSONObject relationshipObj = (JSONObject) relationship; // Java 8 显式类型转换
|
||||||
|
if (relationshipObj != null) {
|
||||||
|
relationshipArray = new JSONArray();
|
||||||
|
relationshipArray.add(relationshipObj);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (relationshipArray != null) {
|
||||||
|
return processRelationships(relationshipArray, mapConfig);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 处理 relationshipArray 中的关系项,更新配置信息。
|
||||||
|
*
|
||||||
|
* @param relationshipArray 关系项的 JSONArray
|
||||||
|
* @param mapConfig 配置信息的 map
|
||||||
|
* @return 配置信息的 map
|
||||||
|
*/
|
||||||
|
private Map<String, String> processRelationships(JSONArray relationshipArray, Map<String, String> mapConfig) {
|
||||||
|
Map<String, String> mapRelationships = new HashedMap<>();
|
||||||
|
for (int i = 0; i < relationshipArray.size(); i++) {
|
||||||
|
JSONObject relaItem = relationshipArray.getJSONObject(i);
|
||||||
|
if (relaItem != null) {
|
||||||
|
String id = relaItem.getStr("Id");
|
||||||
|
String value = "/xl/" + relaItem.getStr("Target");
|
||||||
|
if (mapConfig.containsKey(id)) {
|
||||||
|
String strImageId = mapConfig.get(id);
|
||||||
|
mapRelationships.put(value, strImageId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return mapRelationships;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param file 数据文件
|
||||||
|
* @return {@link byte[]}
|
||||||
|
* @description
|
||||||
|
* @author bianhl
|
||||||
|
* @date 2024/4/26 13:52
|
||||||
|
*/
|
||||||
|
public byte[] getFileStream(File file) {
|
||||||
|
try (InputStream inputStream = new FileInputStream(file)) {
|
||||||
|
// 创建 ByteArrayOutputStream 来暂存流数据
|
||||||
|
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
|
||||||
|
// 将 inputStream 读取到 byteArrayOutputStream 中
|
||||||
|
byte[] buffer = new byte[1024];
|
||||||
|
int length;
|
||||||
|
while ((length = inputStream.read(buffer)) != -1) {
|
||||||
|
byteArrayOutputStream.write(buffer, 0, length);
|
||||||
|
}
|
||||||
|
// 将 byteArrayOutputStream 的内容获取为字节数组
|
||||||
|
return byteArrayOutputStream.toByteArray();
|
||||||
|
} catch (IOException e) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -5,7 +5,7 @@ MAINTAINER xxx@163.com
|
|||||||
|
|
||||||
ENV PROFILE_NAME dev
|
ENV PROFILE_NAME dev
|
||||||
ENV SERVER_PORT 7010
|
ENV SERVER_PORT 7010
|
||||||
ENV NACOS_SERVER_ADDR nacos250:8848
|
ENV NACOS_SERVER_ADDR nacos:8848
|
||||||
ENV NACOS_USERNAME xjuser
|
ENV NACOS_USERNAME xjuser
|
||||||
ENV NACOS_PASSWORD Aa135790!123
|
ENV NACOS_PASSWORD Aa135790!123
|
||||||
ENV NACOS_NAMESPACE 3af98a54-4a44-4576-8e28-bf5781c0dccf
|
ENV NACOS_NAMESPACE 3af98a54-4a44-4576-8e28-bf5781c0dccf
|
||||||
|
|||||||
+10
-1
@@ -28,9 +28,18 @@ public class EmergencySocket {
|
|||||||
private List<TblBaseHospitalVo> hospitalList;
|
private List<TblBaseHospitalVo> hospitalList;
|
||||||
private String type;
|
private String type;
|
||||||
private String centerId;
|
private String centerId;
|
||||||
@Schema(title = "1:紧急求助 2:云坐席 3:终端报警")
|
@Schema(title = "0:120 1:紧急求助 2:云坐席 3:终端报警")
|
||||||
private Integer popType;
|
private Integer popType;
|
||||||
private String queue;
|
private String queue;
|
||||||
private String noticeId;
|
private String noticeId;
|
||||||
|
|
||||||
|
@Schema(title = "关爱联络员姓名")
|
||||||
|
private String careLiaisonName;
|
||||||
|
@Schema(title = "关爱联络员电话")
|
||||||
|
private String careLiaisonPhone;
|
||||||
|
@Schema(title = "急救人员姓名")
|
||||||
|
private String lifeguardName;
|
||||||
|
@Schema(title = "急救人员电话")
|
||||||
|
private String lifeguardPhone;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+16
@@ -0,0 +1,16 @@
|
|||||||
|
package com.renkang.emergency.bean.response;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author stan
|
||||||
|
* @since 2025-08-27
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
public class SrcInfo {
|
||||||
|
private String url;
|
||||||
|
private String accessToken;
|
||||||
|
private String appendBaseUrl;
|
||||||
|
}
|
||||||
+435
@@ -0,0 +1,435 @@
|
|||||||
|
package com.renkang.emergency.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
import org.jeecg.common.aspect.annotation.Dict;
|
||||||
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: aed_equipment_manger
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2024-01-30
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("aed_equipment_manger")
|
||||||
|
@Accessors(chain = true)
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@Schema(title = "aed_equipment_manger对象", description = "aed_equipment_manger")
|
||||||
|
public class AedEquipmentManger implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.ASSIGN_ID)
|
||||||
|
@Schema(title = "主键")
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||||
|
private Long id;
|
||||||
|
/**
|
||||||
|
* 资源名称
|
||||||
|
*/
|
||||||
|
@Excel(name = "资源名称", width = 15)
|
||||||
|
@Schema(title = "资源名称")
|
||||||
|
private String name;
|
||||||
|
/**
|
||||||
|
* 经度
|
||||||
|
*/
|
||||||
|
@Excel(name = "经度", width = 15)
|
||||||
|
@Schema(title = "经度")
|
||||||
|
private BigDecimal longitude;
|
||||||
|
/**
|
||||||
|
* 纬度
|
||||||
|
*/
|
||||||
|
@Excel(name = "纬度", width = 15)
|
||||||
|
@Schema(title = "纬度")
|
||||||
|
private BigDecimal latitude;
|
||||||
|
/**
|
||||||
|
* 部门编码
|
||||||
|
*/
|
||||||
|
@Excel(name = "部门编码", width = 15)
|
||||||
|
@Schema(title = "部门编码")
|
||||||
|
private String departCode;
|
||||||
|
/**
|
||||||
|
* 主机型号
|
||||||
|
*/
|
||||||
|
@Excel(name = "主机型号", width = 15)
|
||||||
|
@Schema(title = "主机型号")
|
||||||
|
private String hostModel;
|
||||||
|
/**
|
||||||
|
* 主机序列号
|
||||||
|
*/
|
||||||
|
@Excel(name = "主机序列号", width = 15)
|
||||||
|
@Schema(title = "主机序列号")
|
||||||
|
private String hostSerialNum;
|
||||||
|
/**
|
||||||
|
* 电极片有效期
|
||||||
|
*/
|
||||||
|
@Excel(name = "电极片有效期", width = 15, format = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Schema(title = "电极片有效期")
|
||||||
|
private Date electrodeSheetValidTime;
|
||||||
|
/**
|
||||||
|
* 电极片是否完好
|
||||||
|
*/
|
||||||
|
private String electrodeIsOk;
|
||||||
|
/**
|
||||||
|
* 路由器型号
|
||||||
|
*/
|
||||||
|
@Excel(name = "路由器型号", width = 15)
|
||||||
|
@Schema(title = "路由器型号")
|
||||||
|
private String routerModel;
|
||||||
|
/**
|
||||||
|
* 路由器序列号
|
||||||
|
*/
|
||||||
|
@Excel(name = "路由器序列号", width = 15)
|
||||||
|
@Schema(title = "路由器序列号")
|
||||||
|
private String routerSerialNum;
|
||||||
|
/**
|
||||||
|
* 电池型号
|
||||||
|
*/
|
||||||
|
@Excel(name = "电池型号", width = 15)
|
||||||
|
@Schema(title = "电池型号")
|
||||||
|
private String batteryModel;
|
||||||
|
/**
|
||||||
|
* 电池电压
|
||||||
|
*/
|
||||||
|
@Excel(name = "电池电压", width = 15)
|
||||||
|
@Schema(title = "电池电压")
|
||||||
|
private Double batteryVoltage;
|
||||||
|
/**
|
||||||
|
* 质保开始时间
|
||||||
|
*/
|
||||||
|
@Excel(name = "质保开始时间", width = 15, format = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Schema(title = "质保开始时间")
|
||||||
|
private Date warrantyStartDate;
|
||||||
|
/**
|
||||||
|
* 质保结束时间
|
||||||
|
*/
|
||||||
|
@Excel(name = "质保结束时间", width = 15, format = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Schema(title = "质保结束时间")
|
||||||
|
private Date warrantyEndDate;
|
||||||
|
/**
|
||||||
|
* 设备图片 多个","分隔
|
||||||
|
*/
|
||||||
|
@Excel(name = "设备图片 多个,分隔", width = 15)
|
||||||
|
@Schema(title = "设备图片 多个,分隔")
|
||||||
|
private String aedImg;
|
||||||
|
/**
|
||||||
|
* 制造商名称
|
||||||
|
*/
|
||||||
|
@Excel(name = "制造商名称",dicCode = "aed_mfrs", width = 15)
|
||||||
|
@Schema(title = "制造商名称")
|
||||||
|
@Dict(dicCode = "aed_mfrs")
|
||||||
|
private String mfrsName;
|
||||||
|
/**
|
||||||
|
* 制造商联系电话
|
||||||
|
*/
|
||||||
|
@Excel(name = "制造商联系电话", width = 15)
|
||||||
|
@Schema(title = "制造商联系电话")
|
||||||
|
private String mfrsMobile;
|
||||||
|
/**
|
||||||
|
* 安装位置
|
||||||
|
*/
|
||||||
|
@Excel(name = "安装位置", width = 15)
|
||||||
|
@Schema(title = "安装位置")
|
||||||
|
private String installAddress;
|
||||||
|
/**
|
||||||
|
* 位置图片 多个","分隔
|
||||||
|
*/
|
||||||
|
@Excel(name = "位置图片 多个,分隔", width = 15)
|
||||||
|
@Schema(title = "位置图片 多个,分隔")
|
||||||
|
private String installAddressImg;
|
||||||
|
/**
|
||||||
|
* 管理人员id
|
||||||
|
*/
|
||||||
|
@Excel(name = "管理人员id", width = 15)
|
||||||
|
@Schema(title = "管理人员id")
|
||||||
|
private String manageUserId;
|
||||||
|
/**
|
||||||
|
* 管理人员
|
||||||
|
*/
|
||||||
|
@Excel(name = "管理人员", width = 15)
|
||||||
|
@Schema(title = "管理人员")
|
||||||
|
private String manageUserName;
|
||||||
|
/**
|
||||||
|
* 管理人员电话
|
||||||
|
*/
|
||||||
|
@Excel(name = "管理人员电话", width = 15)
|
||||||
|
@Schema(title = "管理人员电话")
|
||||||
|
private String manageUserMobile;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 自检查状态
|
||||||
|
*/
|
||||||
|
@Excel(name = "自检查状态", width = 15)
|
||||||
|
@Schema(title = "自检查状态")
|
||||||
|
@Dict(dicCode = "aed_check_status")
|
||||||
|
private Integer checkStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 自检查状态
|
||||||
|
*/
|
||||||
|
@TableField(exist = false)
|
||||||
|
private String checkStatusDesc;
|
||||||
|
/**
|
||||||
|
* 电极片状态
|
||||||
|
*/
|
||||||
|
@Excel(name = "电极片状态", width = 15)
|
||||||
|
@Schema(title = "电极片状态")
|
||||||
|
@Dict(dicCode = "aed_electrode_sheet_status")
|
||||||
|
private Integer electrodeSheetStatus;
|
||||||
|
/**
|
||||||
|
* 电池状态
|
||||||
|
*/
|
||||||
|
@Excel(name = "电池状态", width = 15)
|
||||||
|
@Schema(title = "电池状态")
|
||||||
|
@Dict(dicCode = "aed_battery_status")
|
||||||
|
private Integer batteryStatus;
|
||||||
|
/**
|
||||||
|
* 路由状态
|
||||||
|
*/
|
||||||
|
@Excel(name = "路由状态", width = 15)
|
||||||
|
@Schema(title = "路由状态")
|
||||||
|
@Dict(dicCode = "aed_router_status")
|
||||||
|
private Integer routerStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单位名称
|
||||||
|
*/
|
||||||
|
@TableField(exist = false)
|
||||||
|
@Excel(name = "单位名", width = 15)
|
||||||
|
@Schema(title = "单位名")
|
||||||
|
private String secondDepart;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部门名
|
||||||
|
*/
|
||||||
|
@TableField(exist = false)
|
||||||
|
@Excel(name = "部门名", width = 15)
|
||||||
|
@Schema(title = "部门名")
|
||||||
|
private String departName;
|
||||||
|
/**
|
||||||
|
* 部门名
|
||||||
|
*/
|
||||||
|
@TableField(exist = false)
|
||||||
|
@Excel(name = "部门名", width = 15)
|
||||||
|
@Schema(title = "部门名")
|
||||||
|
private String orgName;
|
||||||
|
/**
|
||||||
|
* 单位名
|
||||||
|
*/
|
||||||
|
@TableField(exist = false)
|
||||||
|
@Excel(name = "单位名", width = 15)
|
||||||
|
@Schema(title = "单位名")
|
||||||
|
private String secondDepartName;
|
||||||
|
/**
|
||||||
|
* 管理部门名
|
||||||
|
*/
|
||||||
|
private String manageDepartName;
|
||||||
|
|
||||||
|
|
||||||
|
@Excel(name = "管理部门", width = 15)
|
||||||
|
private String manageDepartCode;
|
||||||
|
@Excel(name = "负责人1", width = 15)
|
||||||
|
private String chargeFirst;
|
||||||
|
@Excel(name = "负责人1电话", width = 15)
|
||||||
|
private String chargeFirstMobile;
|
||||||
|
@Excel(name = "负责人2", width = 15)
|
||||||
|
private String chargeSecond;
|
||||||
|
@Excel(name = "负责人2电话", width = 15)
|
||||||
|
private String chargeSecondMobile;
|
||||||
|
@Excel(name = "附件", width = 15)
|
||||||
|
private String annex;
|
||||||
|
@Excel(name = "视频操作", width = 15)
|
||||||
|
private String videoHandle;
|
||||||
|
@Excel(name = "操作说明", width = 15)
|
||||||
|
private String handleExplain;
|
||||||
|
@Excel(name = "设备附件状态", width = 15)
|
||||||
|
private String aedAnnexStatus;
|
||||||
|
@Excel(name = "安装时间", width = 15)
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
private Date installTime;
|
||||||
|
@Excel(name = "覆盖人数", width = 15)
|
||||||
|
private Integer coverUserNum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除(0:否 1:是)
|
||||||
|
*/
|
||||||
|
private Integer delFlag;
|
||||||
|
/**
|
||||||
|
* 创建者
|
||||||
|
*/
|
||||||
|
private String createBy;
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
private Date createTime;
|
||||||
|
/**
|
||||||
|
* 更新者
|
||||||
|
*/
|
||||||
|
private String updateBy;
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
private Date updateTime;
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
@Excel(name = "备注", width = 15)
|
||||||
|
private String memo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 操作图片(文件路径)
|
||||||
|
*/
|
||||||
|
@Excel(name = "操作图片(文件路径)", width = 15)
|
||||||
|
@Schema(title = "操作图片(文件路径)")
|
||||||
|
@NotBlank(message = "请上传操作图片,操作图片不能为空")
|
||||||
|
private String operateInstruction;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 操作视频(文件路径)
|
||||||
|
*/
|
||||||
|
@Excel(name = "操作视频(文件路径)", width = 15)
|
||||||
|
@Schema(title = "操作视频(文件路径)")
|
||||||
|
@NotBlank(message = "请上传操作视频,操作视频不能为空")
|
||||||
|
private String operateVideo;
|
||||||
|
/**
|
||||||
|
* 免责说明(文件路径)
|
||||||
|
*/
|
||||||
|
@Excel(name = "免责说明(文件路径)", width = 15)
|
||||||
|
@NotBlank(message = "请上传免责说明,免责说明不能为空")
|
||||||
|
@Schema(title = "免责说明(文件路径)")
|
||||||
|
private String disclaimer;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 品牌
|
||||||
|
*/
|
||||||
|
@Excel(name = "品牌", width = 15)
|
||||||
|
@Schema(title = "品牌")
|
||||||
|
private String brand;
|
||||||
|
/**
|
||||||
|
* 型号
|
||||||
|
*/
|
||||||
|
@Excel(name = "型号", width = 15)
|
||||||
|
@Schema(title = "型号")
|
||||||
|
private String model;
|
||||||
|
/**
|
||||||
|
* 来源字典 设备类型 1:立式 ,2:挂式,3:车载
|
||||||
|
*/
|
||||||
|
@Excel(name = "来源字典 设备类型 1:立式 ,2:挂式,3:车载", width = 15)
|
||||||
|
@NotNull(message = "请选择设备类型,设备类型不能为空")
|
||||||
|
@Schema(title = "来源字典 设备类型 1:立式 ,2:挂式,3:车载")
|
||||||
|
@Dict(dicCode = "intervene_aed_type")
|
||||||
|
private Integer type;
|
||||||
|
/**
|
||||||
|
* 入库日期
|
||||||
|
*/
|
||||||
|
@Excel(name = "入库日期", width = 15, format = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Schema(title = "入库日期")
|
||||||
|
@NotNull(message = "请选择入库日期,入库日期不能为空")
|
||||||
|
private Date inStorageDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* /**
|
||||||
|
* 出厂日期
|
||||||
|
*/
|
||||||
|
@Excel(name = "出厂日期", width = 20, format = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Schema(title = "出厂日期")
|
||||||
|
@NotNull(message = "请选择出厂日期,出厂日期不能为空")
|
||||||
|
private Date outFactoryDate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 电池有效期
|
||||||
|
*/
|
||||||
|
@Excel(name = "电池有效期", width = 20, format = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Schema(title = "电池有效期")
|
||||||
|
@NotNull(message = "请选择电池有效期,电池有效期不能为空")
|
||||||
|
private Date batteryLife;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 电量
|
||||||
|
*/
|
||||||
|
@Excel(name = "电量", width = 15)
|
||||||
|
@Schema(title = "电量")
|
||||||
|
@NotBlank(message = "请输入电量,电量不能为空")
|
||||||
|
private String electricQuantity;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备编号
|
||||||
|
*/
|
||||||
|
@Excel(name = "设备编号", width = 15)
|
||||||
|
@Schema(title = "设备编号")
|
||||||
|
private String code;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 状态(1-正常,2-冻结)
|
||||||
|
*/
|
||||||
|
@Excel(name = "状态(1-正常,2-维护中)", width = 15)
|
||||||
|
@Schema(title = "状态(1-正常,2-维护中)")
|
||||||
|
@NotNull(message = "请选择状态,状态不能为空")
|
||||||
|
@Dict(dicCode = "intervene_aed_status")
|
||||||
|
private Integer status;
|
||||||
|
|
||||||
|
@Excel(name = "自检更新时间", width = 20, format = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Schema(title = "自检更新时间")
|
||||||
|
private Date selfCheckUpdateTime;
|
||||||
|
|
||||||
|
// 摄像头序列号
|
||||||
|
private String cameraNum;
|
||||||
|
// 摄像头验证码
|
||||||
|
private String cameraCode;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private String aedStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否已布点,1:是,0:否
|
||||||
|
*/
|
||||||
|
@Excel(name = "是否已布点,1:是,0:否", width = 15)
|
||||||
|
@Schema(title = "是否已布点,1:是,0:否")
|
||||||
|
private Integer publishFlag;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 管理部门名称,应急就医AED组网管理部门为下拉选择的code,新系统中为输入,为避免后期数据无法迁移,两项都存在,暂时冗余code
|
||||||
|
*/
|
||||||
|
private String controlOrgName;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
+5
@@ -3,15 +3,20 @@ package com.renkang.emergency.entity;
|
|||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
import io.swagger.v3.oas.annotations.media.Schema;
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||||
import org.springframework.format.annotation.DateTimeFormat;
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
|
@TableName("emergency_health_room")
|
||||||
|
@Schema(title="新疆健康小屋", description="新疆健康小屋表")
|
||||||
public class EmergencyHealthRoom {
|
public class EmergencyHealthRoom {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
+3
@@ -31,4 +31,7 @@ public class EmergencySchedulesItem {
|
|||||||
|
|
||||||
@Schema(title = "人员姓名")
|
@Schema(title = "人员姓名")
|
||||||
private String userName;
|
private String userName;
|
||||||
|
|
||||||
|
@Schema(title = "排序")
|
||||||
|
private Integer sort;
|
||||||
}
|
}
|
||||||
|
|||||||
+99
@@ -0,0 +1,99 @@
|
|||||||
|
package com.renkang.emergency.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import com.renkang.emergency.entity.dto.LargeScreenDataValueDTO;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@TableName("large_screen_data")
|
||||||
|
@Accessors(chain = true)
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@Schema(title = "large_screen_data对象", description = "large_screen_data")
|
||||||
|
public class LargeScreenData implements Serializable {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.ASSIGN_ID)
|
||||||
|
@Schema(title = "主键")
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
private String centerId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开关类型
|
||||||
|
* 最新呼入电话gross 最新受理电话alerdyreceive 突发重大伤病应急jqqz 重大伤病应急就医dbjy 累计受理totaldeal 累计处置totalacceptance
|
||||||
|
*
|
||||||
|
* 120oneTwenty 应急就医hospital
|
||||||
|
*
|
||||||
|
* 体检人数medical
|
||||||
|
*
|
||||||
|
* 减重今日打卡weightLossCountDay 减重本月打卡weightLossCountMonth 减重今日异常weightLossAbnormalCountDay 减重本月异常weightLossAbnormalCountMonth
|
||||||
|
* 血糖今日打卡bloodSugarCountDay 血糖本月打卡bloodSugarCountMonth 血糖今日异常bloodSugarAbnormalCountDay 血糖本月异常bloodSugarAbnormalCountMonth
|
||||||
|
* 血压今日打卡bloodPressureCountDay 血压本月打卡bloodPressureCountMonth 血压今日异常bloodPressureAbnormalCountDay 血压本月异常bloodPressureAbnormalCountMonth
|
||||||
|
*
|
||||||
|
* 体检总totalCount 心血管异常cardiovaAbCount 脑血管异常cerebrovAbCount 冠状CT异常cctaAbCount
|
||||||
|
*/
|
||||||
|
@Schema(title = "开关类型")
|
||||||
|
private String type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 开启状态(0:未开启 1:开启)
|
||||||
|
*/
|
||||||
|
@Schema(title = "开启状态(0:未开启 1:开启)")
|
||||||
|
private String status;
|
||||||
|
|
||||||
|
@Schema(title = "名称(体检机构才有值)")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@Schema(title = "值")
|
||||||
|
private String value;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Schema(title = "创建人")
|
||||||
|
private String createBy;
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Schema(title = "创建时间")
|
||||||
|
private Date createTime;
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
@Schema(title = "更新人")
|
||||||
|
private String updateBy;
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Schema(title = "更新时间")
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
|
||||||
|
public LargeScreenData() {}
|
||||||
|
|
||||||
|
|
||||||
|
public LargeScreenData(LargeScreenDataValueDTO dto){
|
||||||
|
this.id = dto.getId();
|
||||||
|
this.centerId = dto.getCenterId();
|
||||||
|
this.type = dto.getType();
|
||||||
|
this.status = dto.getStatus();
|
||||||
|
this.name = dto.getName();
|
||||||
|
this.value = dto.getValue();
|
||||||
|
}
|
||||||
|
}
|
||||||
+28
@@ -246,6 +246,34 @@ public class Order implements Serializable {
|
|||||||
@Excel(name = "专业人头像", width = 15)
|
@Excel(name = "专业人头像", width = 15)
|
||||||
@Schema(title = "专业人头像")
|
@Schema(title = "专业人头像")
|
||||||
private java.lang.String majorUserAvatar;
|
private java.lang.String majorUserAvatar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 第二位参与的专业人员id
|
||||||
|
* PS: 新疆项目的临时解决方案 ,为满足四方通话的需求 ,可能会在发起应急的时候拉第二位专业人员加入对话
|
||||||
|
*/
|
||||||
|
@Schema(title = "第二位参与的专业人员id")
|
||||||
|
private java.lang.String majorUserTwoId;
|
||||||
|
/**
|
||||||
|
* 第二位参与的专业人员姓名
|
||||||
|
*/
|
||||||
|
@Schema(title = "第二位参与的专业人员姓名")
|
||||||
|
private java.lang.String majorUserTwoName;
|
||||||
|
/**
|
||||||
|
* 第二位参与的专业人员性别
|
||||||
|
*/
|
||||||
|
@Schema(title = "第二位参与的专业人员性别")
|
||||||
|
private java.lang.String majorUserTwoSex;
|
||||||
|
/**
|
||||||
|
* 第二位参与的专业人员电话
|
||||||
|
*/
|
||||||
|
@Schema(title = "第二位参与的专业人员电话")
|
||||||
|
private java.lang.String majorUserTwoMobile;
|
||||||
|
/**
|
||||||
|
* 第二位参与的专业人头像
|
||||||
|
*/
|
||||||
|
@Schema(title = "第二位参与的专业人头像")
|
||||||
|
private java.lang.String majorUserTwoAvatar;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 驻场人员id
|
* 驻场人员id
|
||||||
*/
|
*/
|
||||||
|
|||||||
+63
@@ -0,0 +1,63 @@
|
|||||||
|
package com.renkang.emergency.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: emergency_order_operator 应急工单操作人员表,记录工单所有参与或协助应急的人员信息
|
||||||
|
* @Author: feng
|
||||||
|
* @Date: 2025-10-24
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("emergency_order_operator")
|
||||||
|
@Schema(title = "应急工单操作人员表", description = "应急工单操作人员表")
|
||||||
|
public class OrderOperator implements Serializable {
|
||||||
|
/**
|
||||||
|
* id
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.ASSIGN_ID)
|
||||||
|
@Schema(title = "id")
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 应急工单ID
|
||||||
|
*/
|
||||||
|
@Schema(title = "应急工单ID")
|
||||||
|
private String orderId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 人员类型(人员类型0:操作人员 1:专业人员)
|
||||||
|
*/
|
||||||
|
@Schema(title = "人员类型(人员类型0:操作人员 1:专业人员)")
|
||||||
|
private Integer operatorType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 人员ID
|
||||||
|
*/
|
||||||
|
@Schema(title = "人员ID")
|
||||||
|
private String userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 参与类型(0:处理应急,1:协助应急) PS:中途被邀请参与至应急视屏通话的被视为协助应急人员
|
||||||
|
*/
|
||||||
|
@Schema(title = "参与类型(0:处理应急,1:协助应急)")
|
||||||
|
private Integer joinType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 参与应急时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "参与应急时间")
|
||||||
|
private Date joinDate;
|
||||||
|
|
||||||
|
}
|
||||||
+16
-3
@@ -68,11 +68,24 @@ public class Resource implements Serializable {
|
|||||||
@Schema(title = "纬度")
|
@Schema(title = "纬度")
|
||||||
private BigDecimal latitude;
|
private BigDecimal latitude;
|
||||||
/**
|
/**
|
||||||
* 资源类型(1:油田医院 2:合作医院 3:医疗点 4: )
|
* 资源类型(1:油田医院 3:健康小屋 5:救护车) 202508xj 项目字典发生变化 , 使用字典resource_type ,
|
||||||
*/
|
*/
|
||||||
@Excel(name = "资源类型(1:油田医院 2:合作医院 3:医疗点 4: )", width = 15)
|
@Excel(name = "资源类型(1:油田医院 3:健康小屋 4:AED 5:救护车)", width = 15)
|
||||||
@Schema(title = "资源类型(1:油田医院 2:合作医院 3:医疗点 4: )")
|
@Schema(title = "资源类型(1:油田医院 3:健康小屋 4:AED 5:救护车 )")
|
||||||
private String type;
|
private String type;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 在岗人数
|
||||||
|
*/
|
||||||
|
@Schema(title = "在岗人数")
|
||||||
|
private Integer jobNum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 运转时间(分钟)
|
||||||
|
*/
|
||||||
|
@Schema(title = "运转时间(分钟)")
|
||||||
|
private Integer runTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 救治范围
|
* 救治范围
|
||||||
*/
|
*/
|
||||||
|
|||||||
+26
@@ -23,10 +23,36 @@ public class TblBaseHospitalVo {
|
|||||||
private String type;
|
private String type;
|
||||||
@Schema(title = "中心医疗点标识")
|
@Schema(title = "中心医疗点标识")
|
||||||
private boolean centerResource=false;
|
private boolean centerResource=false;
|
||||||
|
@Schema(title = "管理员/联系人姓名")
|
||||||
|
private String manageName;
|
||||||
|
@Schema(title = "管理员/联系人电话")
|
||||||
|
private String managePhone;
|
||||||
|
@Schema(title = "地址")
|
||||||
|
private String address;
|
||||||
|
|
||||||
private String ambulance;
|
private String ambulance;
|
||||||
private String docNum;
|
private String docNum;
|
||||||
private String nurseNum;
|
private String nurseNum;
|
||||||
private String expertNum;
|
private String expertNum;
|
||||||
private String distance;
|
private String distance;
|
||||||
|
|
||||||
|
public TblBaseHospitalVo() {}
|
||||||
|
|
||||||
|
public TblBaseHospitalVo(Resource resource){
|
||||||
|
this.id = resource.getId();
|
||||||
|
this.name = resource.getName();
|
||||||
|
this.lat = resource.getLatitude();
|
||||||
|
this.lon = resource.getLongitude();
|
||||||
|
this.type = resource.getType();
|
||||||
|
this.address = resource.getAddress();
|
||||||
|
}
|
||||||
|
|
||||||
|
public TblBaseHospitalVo(XjAed xjAed){
|
||||||
|
this.id = xjAed.getId();
|
||||||
|
this.name = xjAed.getName();
|
||||||
|
this.lat = xjAed.getLatitude();
|
||||||
|
this.lon = xjAed.getLongitude();
|
||||||
|
this.type = "4";
|
||||||
|
this.address = xjAed.getAddress();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+72
@@ -0,0 +1,72 @@
|
|||||||
|
package com.renkang.emergency.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@TableName("xj_aed")
|
||||||
|
@Accessors(chain = true)
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
public class XjAed implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
@TableId(type = IdType.ASSIGN_ID)
|
||||||
|
@Schema(title = "主键")
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
@Excel(name = "aed名称", width = 15)
|
||||||
|
@Schema(title = "aed名称")
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
@Excel(name = "设置地点", width = 15)
|
||||||
|
@Schema(title = "设置地点")
|
||||||
|
private String address;
|
||||||
|
|
||||||
|
@Excel(name = "经度", width = 15)
|
||||||
|
@Schema(title = "经度(火星坐标系)")
|
||||||
|
private BigDecimal longitude;
|
||||||
|
|
||||||
|
@Excel(name = "纬度", width = 15)
|
||||||
|
@Schema(title = "纬度(火星坐标系)")
|
||||||
|
private BigDecimal latitude;
|
||||||
|
|
||||||
|
@Excel(name = "管理员姓名", width = 15)
|
||||||
|
@Schema(title = "管理员姓名")
|
||||||
|
private String manageName;
|
||||||
|
|
||||||
|
@Excel(name = "管理员电话", width = 15)
|
||||||
|
@Schema(title = "管理员电话")
|
||||||
|
private String managePhone;
|
||||||
|
|
||||||
|
@Schema(title = "orgCode")
|
||||||
|
private String orgCode;
|
||||||
|
|
||||||
|
@Schema(title = "orgName")
|
||||||
|
@TableField(exist = false)
|
||||||
|
private String orgName;
|
||||||
|
|
||||||
|
@TableLogic
|
||||||
|
private Integer delFlag;
|
||||||
|
|
||||||
|
private String createBy;
|
||||||
|
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date createTime;
|
||||||
|
|
||||||
|
private String updateBy;
|
||||||
|
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date updateTime;
|
||||||
|
}
|
||||||
+36
@@ -0,0 +1,36 @@
|
|||||||
|
package com.renkang.emergency.entity.dto;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotEmpty;
|
||||||
|
import javax.validation.constraints.Size;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Huawei
|
||||||
|
* @version 1.0
|
||||||
|
* @description: 添加其他成员DTO
|
||||||
|
* @date 2025/11/3 10:41
|
||||||
|
*/
|
||||||
|
@NoArgsConstructor
|
||||||
|
@Data
|
||||||
|
public class AddOtherMemberDTO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 群组id
|
||||||
|
*/
|
||||||
|
@NotBlank(message = "群组id不能为空")
|
||||||
|
@Schema(title = "群组id")
|
||||||
|
private String groupId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 邀请成员id集合
|
||||||
|
*/
|
||||||
|
@NotEmpty(message = "邀请成员id集合不能为空")
|
||||||
|
@Size(min = 1, max = 100, message = "邀请成员数量必须在1-100个之间")
|
||||||
|
@Schema(title = "邀请成员id集合")
|
||||||
|
private List<String> memberList;
|
||||||
|
}
|
||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
package com.renkang.emergency.entity.dto;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class LargeScreenDataValueDTO {
|
||||||
|
private String id;
|
||||||
|
private String centerId;
|
||||||
|
private String value;
|
||||||
|
private String name;
|
||||||
|
private String type;
|
||||||
|
private String status;
|
||||||
|
}
|
||||||
+51
@@ -0,0 +1,51 @@
|
|||||||
|
package com.renkang.emergency.entity.vo;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Huawei
|
||||||
|
* @version 1.0
|
||||||
|
* @description: 创建群聊VO
|
||||||
|
* @date 2025/11/3 10:41
|
||||||
|
*/
|
||||||
|
@NoArgsConstructor
|
||||||
|
@Data
|
||||||
|
public class CreateGroupMagVO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 群组id
|
||||||
|
*/
|
||||||
|
@JsonProperty("groupId")
|
||||||
|
private String groupId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户id
|
||||||
|
*/
|
||||||
|
@JsonProperty("userId")
|
||||||
|
private String userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 成员集合(当前加入成员)
|
||||||
|
*/
|
||||||
|
@JsonProperty("member")
|
||||||
|
private List<String> member;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 应急单id
|
||||||
|
*/
|
||||||
|
@JsonProperty("id")
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
@JsonProperty("tfNew")
|
||||||
|
private String tfNew;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 成员集合(待加入成员)
|
||||||
|
*/
|
||||||
|
@JsonProperty("otherMember")
|
||||||
|
private List<String> otherMember;
|
||||||
|
}
|
||||||
+157
@@ -0,0 +1,157 @@
|
|||||||
|
package com.renkang.emergency.entity.vo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class DataDetailVO {
|
||||||
|
private String centerId;
|
||||||
|
private String module;
|
||||||
|
/**
|
||||||
|
* 服务详情
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 应急就医
|
||||||
|
*/
|
||||||
|
private String emergencyNum;
|
||||||
|
private String emergencyNumStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 重大伤病
|
||||||
|
*/
|
||||||
|
private String illNum;
|
||||||
|
private String illNumStatus;
|
||||||
|
/**
|
||||||
|
* 受理电话
|
||||||
|
*/
|
||||||
|
private String latestAcceptCall;
|
||||||
|
private String latestAcceptCallStatus;
|
||||||
|
/**
|
||||||
|
* 呼入电话
|
||||||
|
*/
|
||||||
|
private String latestCall;
|
||||||
|
private String latestCallStatus;
|
||||||
|
/**
|
||||||
|
* 累计受理
|
||||||
|
*/
|
||||||
|
private String totalAccept;
|
||||||
|
private String totalAcceptStatus;
|
||||||
|
/**
|
||||||
|
* 累计处置
|
||||||
|
*/
|
||||||
|
private String totalDisposal;
|
||||||
|
private String totalDisposalStatus;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主诉分类
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 应急就医
|
||||||
|
*/
|
||||||
|
private String emergencyCount;
|
||||||
|
private String emergencyCountStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 120
|
||||||
|
*/
|
||||||
|
private String hospitalCount;
|
||||||
|
private String hospitalCountStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 健康打卡人数
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 减重今日打卡人数
|
||||||
|
*/
|
||||||
|
private String weightLossCountDay;
|
||||||
|
private String weightLossCountDayStatus;
|
||||||
|
/**
|
||||||
|
* 减重本月打卡人数
|
||||||
|
*/
|
||||||
|
private String weightLossCountMonth;
|
||||||
|
private String weightLossCountMonthStatus;
|
||||||
|
/**
|
||||||
|
* 减重今日异常人数
|
||||||
|
*/
|
||||||
|
private String weightLossAbnormalCountDay;
|
||||||
|
private String weightLossAbnormalCountDayStatus;
|
||||||
|
/**
|
||||||
|
* 减重本月异常人数
|
||||||
|
*/
|
||||||
|
private String weightLossAbnormalCountMonth;
|
||||||
|
private String weightLossAbnormalCountMonthStatus;
|
||||||
|
/**
|
||||||
|
* 血糖今日打卡人数
|
||||||
|
*/
|
||||||
|
private String bloodSugarCountDay;
|
||||||
|
private String bloodSugarCountDayStatus;
|
||||||
|
/**
|
||||||
|
* 血糖本月打卡人数
|
||||||
|
*/
|
||||||
|
private String bloodSugarCountMonth;
|
||||||
|
private String bloodSugarCountMonthStatus;
|
||||||
|
/**
|
||||||
|
* 血糖今日异常人数
|
||||||
|
*/
|
||||||
|
private String bloodSugarAbnormalCountDay;
|
||||||
|
private String bloodSugarAbnormalCountDayStatus;
|
||||||
|
/**
|
||||||
|
* 血糖本月异常人数
|
||||||
|
*/
|
||||||
|
private String bloodSugarAbnormalCountMonth;
|
||||||
|
private String bloodSugarAbnormalCountMonthStatus;
|
||||||
|
/**
|
||||||
|
* 血压今日打卡人数
|
||||||
|
*/
|
||||||
|
private String bloodPressureCountDay;
|
||||||
|
private String bloodPressureCountDayStatus;
|
||||||
|
/**
|
||||||
|
* 血压本月打卡人数
|
||||||
|
*/
|
||||||
|
private String bloodPressureCountMonth;
|
||||||
|
private String bloodPressureCountMonthStatus;
|
||||||
|
/**
|
||||||
|
* 血压今日异常人数
|
||||||
|
*/
|
||||||
|
private String bloodPressureAbnormalCountDay;
|
||||||
|
private String bloodPressureAbnormalCountDayStatus;
|
||||||
|
/**
|
||||||
|
* 血压本月异常人数
|
||||||
|
*/
|
||||||
|
private String bloodPressureAbnormalCountMonth;
|
||||||
|
private String bloodPressureAbnormalCountMonthStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 体检数据
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 体检总人数
|
||||||
|
*/
|
||||||
|
private String totalCount;
|
||||||
|
private String totalCountStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 心血管异常人数
|
||||||
|
*/
|
||||||
|
private String cardiovaAbCount;
|
||||||
|
private String cardiovaAbCountStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 脑血管异常人数
|
||||||
|
*/
|
||||||
|
private String cerebrovAbCount;
|
||||||
|
private String cerebrovAbCountStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 冠状ct异常人数
|
||||||
|
*/
|
||||||
|
private String cctaAbCount;
|
||||||
|
private String cctaAbCountStatus;
|
||||||
|
|
||||||
|
}
|
||||||
+45
@@ -0,0 +1,45 @@
|
|||||||
|
package com.renkang.emergency.entity.vo;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Huawei
|
||||||
|
* @version 1.0
|
||||||
|
* @description: 群组成员VO
|
||||||
|
* @date 2025/11/5 13:17
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class GroupMemberVO {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 应急单id
|
||||||
|
*/
|
||||||
|
@Schema(title = "应急单id")
|
||||||
|
private String orderId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户ID
|
||||||
|
*/
|
||||||
|
@Schema(title = "用户ID")
|
||||||
|
private String userId;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 用户名称
|
||||||
|
*/
|
||||||
|
@Schema(title = "用户名称")
|
||||||
|
private String userName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 头像
|
||||||
|
*/
|
||||||
|
@Schema(title = "头像")
|
||||||
|
private String avatar;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 是否是群组成员, 0:不是群组成员, 1:是群组成员
|
||||||
|
*/
|
||||||
|
@Schema(title = "是否是群组成员, 0:不是群组成员, 1:是群组成员")
|
||||||
|
private Integer isGroupMember;
|
||||||
|
|
||||||
|
}
|
||||||
+22
@@ -0,0 +1,22 @@
|
|||||||
|
package com.renkang.emergency.entity.vo;
|
||||||
|
|
||||||
|
import com.renkang.emergency.entity.LargeScreenData;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class MedicalDataVO {
|
||||||
|
private String id;
|
||||||
|
private String centerId;
|
||||||
|
private String name;
|
||||||
|
private String status;
|
||||||
|
private String count;
|
||||||
|
|
||||||
|
public MedicalDataVO() {}
|
||||||
|
public MedicalDataVO(LargeScreenData data) {
|
||||||
|
id = data.getId();
|
||||||
|
centerId = data.getCenterId();
|
||||||
|
name = data.getName();
|
||||||
|
count = data.getValue();
|
||||||
|
status = data.getStatus();
|
||||||
|
}
|
||||||
|
}
|
||||||
+15
-2
@@ -7,6 +7,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
|||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import org.springframework.format.annotation.DateTimeFormat;
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.util.Comparator;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
@@ -28,11 +29,23 @@ public class WeekDataVO {
|
|||||||
@Schema(title ="专业人员集合")
|
@Schema(title ="专业人员集合")
|
||||||
private List<EmergencySchedulesItem> professionalUserList;
|
private List<EmergencySchedulesItem> professionalUserList;
|
||||||
|
|
||||||
|
@Schema(title ="操作人员id集合")
|
||||||
|
private List<String> operationUserListIds;
|
||||||
|
|
||||||
|
@Schema(title ="专业人员id集合")
|
||||||
|
private List<String> professionalUserListIds;
|
||||||
|
|
||||||
public List<EmergencySchedulesItem> getOperationUserList(List<EmergencySchedulesItem> itemList) {
|
public List<EmergencySchedulesItem> getOperationUserList(List<EmergencySchedulesItem> itemList) {
|
||||||
return itemList.stream().filter(item -> "0".equals(item.getUserType())).collect(Collectors.toList());
|
return itemList.stream()
|
||||||
|
.filter(item -> "0".equals(item.getUserType()))
|
||||||
|
.sorted(Comparator.comparing(EmergencySchedulesItem::getSort)) // 根据 sort 字段升序排序
|
||||||
|
.collect(Collectors.toList());
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<EmergencySchedulesItem> getProfessionalUserList(List<EmergencySchedulesItem> itemList) {
|
public List<EmergencySchedulesItem> getProfessionalUserList(List<EmergencySchedulesItem> itemList) {
|
||||||
return itemList.stream().filter(item -> "1".equals(item.getUserType())).collect(Collectors.toList());
|
return itemList.stream()
|
||||||
|
.filter(item -> "1".equals(item.getUserType()))
|
||||||
|
.sorted(Comparator.comparing(EmergencySchedulesItem::getSort)) // 根据 sort 字段升序排序
|
||||||
|
.collect(Collectors.toList());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,14 @@
|
|||||||
<groupId>com.renkang</groupId>
|
<groupId>com.renkang</groupId>
|
||||||
<artifactId>health-im-api</artifactId>
|
<artifactId>health-im-api</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.renkang</groupId>
|
||||||
|
<artifactId>xj-anyan-api</artifactId>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.renkang</groupId>
|
||||||
|
<artifactId>health-watch-api</artifactId>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
|||||||
+28
@@ -0,0 +1,28 @@
|
|||||||
|
package com.renkang.emergency.aed.common;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部门名称
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class Dept {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单位编码
|
||||||
|
*/
|
||||||
|
private String orgCode;
|
||||||
|
/**
|
||||||
|
* 部门编码
|
||||||
|
*/
|
||||||
|
private String deptCode;
|
||||||
|
/**
|
||||||
|
* 单位名称
|
||||||
|
*/
|
||||||
|
private String orgName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 单位名称
|
||||||
|
*/
|
||||||
|
private String deptName;
|
||||||
|
}
|
||||||
+40
@@ -0,0 +1,40 @@
|
|||||||
|
package com.renkang.emergency.aed.constant;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Junqiang Zhu
|
||||||
|
* @date 2023-12-13 09:45
|
||||||
|
*/
|
||||||
|
public class AedEnumUtil {
|
||||||
|
|
||||||
|
public enum WarnTypeEnum {
|
||||||
|
BATTERY, // 电池
|
||||||
|
ROUTER, // 路由
|
||||||
|
EXPIRED, // 过期时间
|
||||||
|
CHECK // 自检
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum BatteryPowerEnum {
|
||||||
|
OK, // 正常
|
||||||
|
LOW, // 电量低
|
||||||
|
CHANGE // 需要更换
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum RouterPowerEnum {
|
||||||
|
OK, // 正常
|
||||||
|
LOW, // 电量低
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum ExpiredPowerEnum {
|
||||||
|
OK, // 正常
|
||||||
|
APPROACH, // 快过期
|
||||||
|
EXPIRED // 已过期
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum CheckEnum {
|
||||||
|
OK, // 正常
|
||||||
|
CANNOT_FIND, // 没有找到
|
||||||
|
CANNOT_CONNECT, // 无法连接
|
||||||
|
CANNOT_GET// 无法获取
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
+22
@@ -0,0 +1,22 @@
|
|||||||
|
package com.renkang.emergency.aed.constant;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Junqiang Zhu
|
||||||
|
* @date 2023-04-26 10:11
|
||||||
|
*/
|
||||||
|
public interface Constants {
|
||||||
|
/**
|
||||||
|
* redis 缓存aed key
|
||||||
|
*/
|
||||||
|
String AED_REDIS_KEY = "intervene:aed";
|
||||||
|
|
||||||
|
// 中国 经纬度 范围
|
||||||
|
BigDecimal LONGITUDE_START = BigDecimal.valueOf(73);
|
||||||
|
BigDecimal LONGITUDE_END = BigDecimal.valueOf(136);
|
||||||
|
BigDecimal LATITUDE_START = BigDecimal.valueOf(3);
|
||||||
|
BigDecimal LATITUDE_END = BigDecimal.valueOf(54);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
+164
@@ -0,0 +1,164 @@
|
|||||||
|
package com.renkang.emergency.aed.controller;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.renkang.emergency.aed.entity.AedEquipmentCertificate;
|
||||||
|
import com.renkang.emergency.aed.service.IAedEquipmentCertificateService;
|
||||||
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.jeecg.common.api.vo.Result;
|
||||||
|
import org.jeecg.common.aspect.annotation.AutoLog;
|
||||||
|
import org.jeecg.common.system.base.controller.JeecgController;
|
||||||
|
import org.jeecg.common.system.query.QueryGenerator;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import java.util.Arrays;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 取证人员controller
|
||||||
|
*
|
||||||
|
* @Description: aed_equipment_certificate
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2024-01-30
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Tag(name = "aed_equipment_certificate")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/intervene/v2/aedEquipmentCertificate")
|
||||||
|
@Slf4j
|
||||||
|
public class AedEquipmentCertificateController extends JeecgController<AedEquipmentCertificate, IAedEquipmentCertificateService> {
|
||||||
|
@Autowired
|
||||||
|
private IAedEquipmentCertificateService aedEquipmentCertificateService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 取证人员分页列表查询
|
||||||
|
*
|
||||||
|
* @param aedEquipmentCertificate
|
||||||
|
* @param pageNo 分页参数
|
||||||
|
* @param pageSize 分页参数
|
||||||
|
* @param req
|
||||||
|
* @return 取证人员分页列表
|
||||||
|
*/
|
||||||
|
//@AutoLog(value = "aed_equipment_certificate-分页列表查询")
|
||||||
|
@Operation(summary = "aed_equipment_certificate-分页列表查询", description = "aed_equipment_certificate-分页列表查询")
|
||||||
|
@GetMapping(value = "/list")
|
||||||
|
public Result<IPage<AedEquipmentCertificate>> queryPageList(AedEquipmentCertificate aedEquipmentCertificate,
|
||||||
|
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||||
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
|
||||||
|
HttpServletRequest req) {
|
||||||
|
QueryWrapper<AedEquipmentCertificate> queryWrapper = QueryGenerator.initQueryWrapper(aedEquipmentCertificate, req.getParameterMap());
|
||||||
|
Page<AedEquipmentCertificate> page = new Page<AedEquipmentCertificate>(pageNo, pageSize);
|
||||||
|
IPage<AedEquipmentCertificate> pageList = aedEquipmentCertificateService.page(page, queryWrapper);
|
||||||
|
return Result.OK(pageList);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加取证人员
|
||||||
|
*
|
||||||
|
* @param aedEquipmentCertificate 请求body
|
||||||
|
* @return 成功、失败
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_certificate-添加")
|
||||||
|
@Operation(summary = "aed_equipment_certificate-添加", description = "aed_equipment_certificate-添加")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_certificate:add")
|
||||||
|
@PostMapping(value = "/add")
|
||||||
|
public Result<String> add(@RequestBody AedEquipmentCertificate aedEquipmentCertificate) {
|
||||||
|
if (aedEquipmentCertificateService.save(aedEquipmentCertificate)) {
|
||||||
|
return Result.OK("添加成功!");
|
||||||
|
}
|
||||||
|
return Result.error("添加失败!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编辑取证人员
|
||||||
|
*
|
||||||
|
* @param aedEquipmentCertificate 请求body
|
||||||
|
* @return 成功、失败
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_certificate-编辑")
|
||||||
|
@Operation(summary = "aed_equipment_certificate-编辑", description = "aed_equipment_certificate-编辑")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_certificate:edit")
|
||||||
|
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||||
|
public Result<String> edit(@RequestBody AedEquipmentCertificate aedEquipmentCertificate) {
|
||||||
|
aedEquipmentCertificateService.updateById(aedEquipmentCertificate);
|
||||||
|
return Result.OK("编辑成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过id删除
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_certificate-通过id删除")
|
||||||
|
@Operation(summary = "aed_equipment_certificate-通过id删除", description = "aed_equipment_certificate-通过id删除")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_certificate:delete")
|
||||||
|
@DeleteMapping(value = "/delete")
|
||||||
|
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||||
|
aedEquipmentCertificateService.removeById(id);
|
||||||
|
return Result.OK("删除成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除
|
||||||
|
*
|
||||||
|
* @param ids
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_certificate-批量删除")
|
||||||
|
@Operation(summary = "aed_equipment_certificate-批量删除", description = "aed_equipment_certificate-批量删除")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_certificate:deleteBatch")
|
||||||
|
@DeleteMapping(value = "/deleteBatch")
|
||||||
|
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||||
|
this.aedEquipmentCertificateService.removeByIds(Arrays.asList(ids.split(",")));
|
||||||
|
return Result.OK("批量删除成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过id查询
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
//@AutoLog(value = "aed_equipment_certificate-通过id查询")
|
||||||
|
@Operation(summary = "aed_equipment_certificate-通过id查询", description = "aed_equipment_certificate-通过id查询")
|
||||||
|
@GetMapping(value = "/queryById")
|
||||||
|
public Result<AedEquipmentCertificate> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||||
|
AedEquipmentCertificate aedEquipmentCertificate = aedEquipmentCertificateService.getById(id);
|
||||||
|
if (aedEquipmentCertificate == null) {
|
||||||
|
return Result.error("未找到对应数据");
|
||||||
|
}
|
||||||
|
return Result.OK(aedEquipmentCertificate);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出excel
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("intervene:aed_equipment_certificate:exportXls")
|
||||||
|
@RequestMapping(value = "/exportXls")
|
||||||
|
public Result<String> exportXls(@RequestParam(required = false) String name,
|
||||||
|
@RequestParam(required = false) String sex) {
|
||||||
|
aedEquipmentCertificateService.customExport(name, sex);
|
||||||
|
return Result.ok("请到导出记录查看结果");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过excel导入数据
|
||||||
|
*
|
||||||
|
* @param request
|
||||||
|
* @param response
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("intervene:aed_equipment_certificate:importExcel")
|
||||||
|
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||||
|
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||||
|
return super.importExcel(request, response, AedEquipmentCertificate.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
+159
@@ -0,0 +1,159 @@
|
|||||||
|
package com.renkang.emergency.aed.controller;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.renkang.emergency.aed.entity.AedEquipmentMaintain;
|
||||||
|
import com.renkang.emergency.aed.service.IAedEquipmentMaintainService;
|
||||||
|
import com.renkang.emergency.aed.vo.req.AedEquipmentMaintainReq;
|
||||||
|
import com.renkang.emergency.aed.vo.res.maintain.AedEquipmentMaintainRes;
|
||||||
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.jeecg.common.api.vo.Result;
|
||||||
|
import org.jeecg.common.aspect.annotation.AutoLog;
|
||||||
|
import org.jeecg.common.system.base.controller.JeecgController;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.validation.annotation.Validated;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import java.util.Arrays;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: aed_equipment_maintain
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2024-01-30
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Tag(name = "aed_equipment_maintain")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/intervene/v2/aedEquipmentMaintain")
|
||||||
|
@Slf4j
|
||||||
|
public class AedEquipmentMaintainController extends JeecgController<AedEquipmentMaintain, IAedEquipmentMaintainService> {
|
||||||
|
@Autowired
|
||||||
|
private IAedEquipmentMaintainService aedEquipmentMaintainService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备布点列表
|
||||||
|
*
|
||||||
|
* @param pageNo 分页参数
|
||||||
|
* @param pageSize 分页参数
|
||||||
|
* @param name 设备名称
|
||||||
|
* @param type 设备类型
|
||||||
|
* @param orgCode 所属部门
|
||||||
|
* @return 设备布点列表
|
||||||
|
*/
|
||||||
|
@Operation(summary = "aed_location_equipment-分页列表查询", description = "aed_location_equipment-分页列表查询")
|
||||||
|
@GetMapping(value = "/list")
|
||||||
|
public Result<IPage<AedEquipmentMaintainRes>> getPage(@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||||
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
|
||||||
|
String name,
|
||||||
|
Integer type,
|
||||||
|
String orgCode) {
|
||||||
|
IPage<AedEquipmentMaintainRes> page = aedEquipmentMaintainService.getPage(pageNo, pageSize, name, type, orgCode);
|
||||||
|
return Result.OK(page);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加 日常维护,维护的状态STATUS 为主表中的STATUS
|
||||||
|
*
|
||||||
|
* @param req
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_maintain-添加")
|
||||||
|
@Operation(summary = "aed_equipment_maintain-添加", description = "aed_equipment_maintain-添加")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_maintain:add")
|
||||||
|
@PostMapping(value = "/add")
|
||||||
|
public Result<String> add(@RequestBody @Validated AedEquipmentMaintainReq req) {
|
||||||
|
if (aedEquipmentMaintainService.add(req) > 0) {
|
||||||
|
return Result.OK("添加成功!");
|
||||||
|
}
|
||||||
|
return Result.error("添加失败!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编辑
|
||||||
|
*
|
||||||
|
* @param aedEquipmentMaintain
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_maintain-编辑")
|
||||||
|
@Operation(summary = "aed_equipment_maintain-编辑", description = "aed_equipment_maintain-编辑")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_maintain:edit")
|
||||||
|
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||||
|
public Result<String> edit(@RequestBody AedEquipmentMaintain aedEquipmentMaintain) {
|
||||||
|
aedEquipmentMaintainService.updateById(aedEquipmentMaintain);
|
||||||
|
return Result.OK("编辑成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过id删除
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_maintain-通过id删除")
|
||||||
|
@Operation(summary = "aed_equipment_maintain-通过id删除", description = "aed_equipment_maintain-通过id删除")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_maintain:delete")
|
||||||
|
@DeleteMapping(value = "/delete")
|
||||||
|
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||||
|
aedEquipmentMaintainService.removeById(id);
|
||||||
|
return Result.OK("删除成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除
|
||||||
|
*
|
||||||
|
* @param ids
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_maintain-批量删除")
|
||||||
|
@Operation(summary = "aed_equipment_maintain-批量删除", description = "aed_equipment_maintain-批量删除")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_maintain:deleteBatch")
|
||||||
|
@DeleteMapping(value = "/deleteBatch")
|
||||||
|
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||||
|
this.aedEquipmentMaintainService.removeByIds(Arrays.asList(ids.split(",")));
|
||||||
|
return Result.OK("批量删除成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过id查询
|
||||||
|
*
|
||||||
|
* @param id 设备维护id
|
||||||
|
* @return 维护详情
|
||||||
|
*/
|
||||||
|
//@AutoLog(value = "aed_equipment_maintain-通过id查询")
|
||||||
|
@Operation(summary = "aed_equipment_maintain-通过id查询", description = "aed_equipment_maintain-通过id查询")
|
||||||
|
@GetMapping(value = "/queryById")
|
||||||
|
public Result<AedEquipmentMaintain> queryById(@RequestParam(name = "id", required = true) Long id) {
|
||||||
|
return Result.ok(aedEquipmentMaintainService.getById(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出excel
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("intervene:aed_equipment_maintain:exportXls")
|
||||||
|
@RequestMapping(value = "/exportXls")
|
||||||
|
public Result<String> exportXls(@RequestParam(required = false) String name,
|
||||||
|
@RequestParam(required = false) String type,
|
||||||
|
@RequestParam(required = false) String departCode) {
|
||||||
|
aedEquipmentMaintainService.customExport(name, type, departCode);
|
||||||
|
return Result.ok("请到导出记录查看结果");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过excel导入数据
|
||||||
|
*
|
||||||
|
* @param request
|
||||||
|
* @param response
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("intervene:aed_equipment_maintain:importExcel")
|
||||||
|
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||||
|
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||||
|
return super.importExcel(request, response, AedEquipmentMaintain.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
+329
@@ -0,0 +1,329 @@
|
|||||||
|
package com.renkang.emergency.aed.controller;
|
||||||
|
|
||||||
|
import cn.hutool.core.collection.CollectionUtil;
|
||||||
|
import cn.hutool.core.util.ObjectUtil;
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.renkang.emergency.aed.constant.Constants;
|
||||||
|
import com.renkang.emergency.aed.service.IAedEquipmentMangerService;
|
||||||
|
import com.renkang.emergency.aed.vo.req.manager.AEDManagerInsertReq;
|
||||||
|
import com.renkang.emergency.aed.vo.req.manager.AEDPublishEquipmentReq;
|
||||||
|
import com.renkang.emergency.aed.vo.res.manager.AEDManagerPageRes;
|
||||||
|
import com.renkang.emergency.aed.vo.res.manager.AEDPublishPageRes;
|
||||||
|
import com.renkang.emergency.aed.vo.res.manager.AedGeo;
|
||||||
|
import com.renkang.emergency.bean.response.SrcInfo;
|
||||||
|
import com.renkang.emergency.entity.AedEquipmentManger;
|
||||||
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.jeecg.common.api.vo.Result;
|
||||||
|
import org.jeecg.common.aspect.annotation.AutoLog;
|
||||||
|
import org.jeecg.common.system.base.controller.JeecgController;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.validation.annotation.Validated;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备管理、布点管理
|
||||||
|
*
|
||||||
|
* @Description: aed_equipment_manger
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2024-01-30
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Tag(name = "aed_equipment_manger")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/intervene/v2/aedEquipmentManger")
|
||||||
|
@Slf4j
|
||||||
|
public class AedEquipmentMangerController extends JeecgController<AedEquipmentManger, IAedEquipmentMangerService> {
|
||||||
|
@Autowired
|
||||||
|
private IAedEquipmentMangerService aedEquipmentMangerService;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取视频播放的路径
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@GetMapping(value = "getSrc")
|
||||||
|
public Result<SrcInfo> getSrc() {
|
||||||
|
return Result.ok(aedEquipmentMangerService.getSrc());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备管理分页列表查询
|
||||||
|
*
|
||||||
|
* @param pageNo 分页参数
|
||||||
|
* @param pageSize 分页参数
|
||||||
|
* @param name 设备名称
|
||||||
|
* @param type 设备类型
|
||||||
|
* @param orgCode 部门编码
|
||||||
|
* @return 设备管理分页列表
|
||||||
|
*/
|
||||||
|
//@AutoLog(value = "aed_equipment_manger-分页列表查询")
|
||||||
|
@Operation(summary = "设备管理分页列表查询", description = "设备管理分页列表查询")
|
||||||
|
@GetMapping(value = "/queryManagerPage")
|
||||||
|
public Result<IPage<AEDManagerPageRes>> queryManagerPage(
|
||||||
|
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||||
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
|
||||||
|
String name,
|
||||||
|
Integer type,
|
||||||
|
String orgCode,
|
||||||
|
String mfrs, String model,String hostSerialNum
|
||||||
|
|
||||||
|
) {
|
||||||
|
IPage<AEDManagerPageRes> page = aedEquipmentMangerService.queryManagerPageList(pageNo, pageSize, name, type, orgCode, mfrs, model, hostSerialNum);
|
||||||
|
|
||||||
|
return Result.OK(page);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 布点设备分页列表查询
|
||||||
|
*
|
||||||
|
* @param pageNo 分页参数
|
||||||
|
* @param pageSize 分页参数
|
||||||
|
* @param name 设备名称
|
||||||
|
* @param type 设备类型
|
||||||
|
* @param orgCode 部门编码
|
||||||
|
* @param mfrs 厂家
|
||||||
|
* @param model 型号
|
||||||
|
* @return 布点设备分页列表
|
||||||
|
*/
|
||||||
|
//@AutoLog(value = "aed_equipment_manger-分页列表查询")
|
||||||
|
@Operation(summary = "布点设备分页列表查询", description = "布点设备分页列表查询")
|
||||||
|
@GetMapping(value = "/queryPublishPage")
|
||||||
|
public Result<IPage<AEDPublishPageRes>> queryPublishPage(
|
||||||
|
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||||
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
|
||||||
|
String name,
|
||||||
|
Integer type,
|
||||||
|
String orgCode,
|
||||||
|
String mfrs, String model,String hostSerialNum
|
||||||
|
) {
|
||||||
|
IPage<AEDPublishPageRes> page = aedEquipmentMangerService.queryPublishPage(pageNo, pageSize, name, type, orgCode, mfrs, model,hostSerialNum);
|
||||||
|
return Result.OK(page);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 附近的aed
|
||||||
|
*
|
||||||
|
* @param longitude 经度
|
||||||
|
* @param latitude 维度
|
||||||
|
* @param radiusRange 半径范围
|
||||||
|
* @return result
|
||||||
|
*/
|
||||||
|
@GetMapping("nearbyAed")
|
||||||
|
public Result<List<AedGeo>> nearbyAed(@RequestParam(required = false) BigDecimal longitude,
|
||||||
|
@RequestParam(required = false) BigDecimal latitude,
|
||||||
|
@RequestParam(defaultValue = "100000") Double radiusRange,
|
||||||
|
@RequestParam(required = false) Integer aedNum) {
|
||||||
|
|
||||||
|
List<AedGeo> aedGeos = aedEquipmentMangerService.nearbyAed(longitude, latitude, radiusRange, aedNum);
|
||||||
|
if (CollectionUtil.isEmpty(aedGeos)) {
|
||||||
|
return Result.OK("该位置附近暂无设备", null);
|
||||||
|
}
|
||||||
|
|
||||||
|
return Result.ok(aedGeos);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取未布点设备和已布点设备,用于布点设备下拉选择
|
||||||
|
*
|
||||||
|
* @param publishFlag 0:未布点,1:已布点
|
||||||
|
* publishFlag为0
|
||||||
|
* @return 未布点设备列表
|
||||||
|
*/
|
||||||
|
@GetMapping(value = "/getUnPublishEquipment")
|
||||||
|
public Result<List<AedEquipmentManger>> getUnPublishEquipment(@RequestParam Integer publishFlag,
|
||||||
|
@RequestParam(required = false) String name,
|
||||||
|
@RequestParam(required = false) String hostModel,
|
||||||
|
@RequestParam(required = false) String orgCode) {
|
||||||
|
List<AedEquipmentManger> result = aedEquipmentMangerService.getUnPublishEquipment(publishFlag, name, hostModel, orgCode);
|
||||||
|
return Result.OK(result);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 设备管理新增
|
||||||
|
*
|
||||||
|
* @param req 请求body
|
||||||
|
* @return 新增结果
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_manger-添加")
|
||||||
|
@Operation(summary = "aed_equipment_manger-添加", description = "aed_equipment_manger-添加")
|
||||||
|
@PostMapping(value = "/add")
|
||||||
|
public Result<String> add(@RequestBody @Validated AEDManagerInsertReq req) {
|
||||||
|
if (aedEquipmentMangerService.add(req) > 0) {
|
||||||
|
return Result.OK("添加成功!");
|
||||||
|
}
|
||||||
|
return Result.error("添加失败!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 布点设备新增
|
||||||
|
*
|
||||||
|
* @param req 请求body
|
||||||
|
* @return 新增结果
|
||||||
|
*/
|
||||||
|
@PostMapping(value = "/insertPublishEquipment")
|
||||||
|
public Result<String> insertPublishEquipment(@RequestBody @Validated AEDPublishEquipmentReq req) {
|
||||||
|
if (ObjectUtil.isNotNull(req.getLongitude())) {
|
||||||
|
BigDecimal latitude = BigDecimal.valueOf(req.getLongitude());
|
||||||
|
if (latitude.compareTo(Constants.LONGITUDE_START) < 0
|
||||||
|
|| latitude.compareTo(Constants.LONGITUDE_END) > 0) {
|
||||||
|
return Result.error("经度范围正常值为:" + Constants.LONGITUDE_START + "--" + Constants.LONGITUDE_END);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (ObjectUtil.isNotNull(req.getLatitude())) {
|
||||||
|
BigDecimal latitude = BigDecimal.valueOf(req.getLatitude());
|
||||||
|
if (latitude.compareTo(Constants.LATITUDE_START) < 0
|
||||||
|
|| latitude.compareTo(Constants.LATITUDE_END) > 0) {
|
||||||
|
return Result.error("纬度范围正常值为:" + Constants.LATITUDE_START + "--" + Constants.LATITUDE_END);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (aedEquipmentMangerService.insertPublishEquipment(req) > 0) {
|
||||||
|
return Result.OK("添加成功!");
|
||||||
|
}
|
||||||
|
return Result.error("添加失败!");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编辑布点设备
|
||||||
|
* 编辑分为两种情况
|
||||||
|
* 1:编辑原布点设备时只需更新相关信息,
|
||||||
|
* 2:选择新的布点设备时,要把原布点设备的布点信息置空
|
||||||
|
*
|
||||||
|
* @param req 布点信息
|
||||||
|
* @return 成功、失败
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_manger-编辑")
|
||||||
|
@Operation(summary = "aed_equipment_manger-编辑", description = "aed_equipment_manger-编辑")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_manger:edit")
|
||||||
|
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||||
|
public Result<String> edit(@RequestBody @Validated AEDPublishEquipmentReq req) {
|
||||||
|
if (ObjectUtil.isNotNull(req.getLongitude())) {
|
||||||
|
BigDecimal latitude = BigDecimal.valueOf(req.getLongitude());
|
||||||
|
if (latitude.compareTo(Constants.LONGITUDE_START) < 0
|
||||||
|
|| latitude.compareTo(Constants.LONGITUDE_END) > 0) {
|
||||||
|
return Result.error("经度范围正常值为:" + Constants.LONGITUDE_START + "--" + Constants.LONGITUDE_END);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (ObjectUtil.isNotNull(req.getLatitude())) {
|
||||||
|
BigDecimal latitude = BigDecimal.valueOf(req.getLatitude());
|
||||||
|
if (latitude.compareTo(Constants.LATITUDE_START) < 0
|
||||||
|
|| latitude.compareTo(Constants.LATITUDE_END) > 0) {
|
||||||
|
return Result.error("纬度范围正常值为:" + Constants.LATITUDE_START + "--" + Constants.LATITUDE_END);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (aedEquipmentMangerService.edit(req) > 0) {
|
||||||
|
return Result.OK("编辑成功!");
|
||||||
|
}
|
||||||
|
return Result.error("编辑失败!");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编辑设备管理
|
||||||
|
*
|
||||||
|
* @param req 设备管理
|
||||||
|
* @return 成功、失败
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_manger-编辑")
|
||||||
|
@Operation(summary = "aed_equipment_manger-编辑", description = "aed_equipment_manger-编辑")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_manger:edit")
|
||||||
|
@RequestMapping(value = "/updateManager", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||||
|
public Result<String> updateManager(@RequestBody @Validated AEDManagerInsertReq req) {
|
||||||
|
if (aedEquipmentMangerService.updateManager(req) > 0) {
|
||||||
|
return Result.OK("编辑成功!");
|
||||||
|
}
|
||||||
|
return Result.error("编辑失败!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除设备信息
|
||||||
|
*
|
||||||
|
* @param ids ids
|
||||||
|
* @return 批量成功、失败
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_manger-批量删除")
|
||||||
|
@Operation(summary = "aed_equipment_manger-批量删除", description = "aed_equipment_manger-批量删除")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_manger:deleteBatch")
|
||||||
|
@DeleteMapping(value = "/deleteBatchManager")
|
||||||
|
public Result<String> deleteBatchManager(@RequestParam(name = "ids", required = true) String ids) {
|
||||||
|
if (aedEquipmentMangerService.deleteBatchManager(Arrays.asList(ids.split(","))) > 0) {
|
||||||
|
return Result.OK("删除成功!");
|
||||||
|
}
|
||||||
|
return Result.error("删除失败!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除布点信息,批量置空设备布点信息
|
||||||
|
*
|
||||||
|
* @param ids ids
|
||||||
|
* @return 批量成功、失败
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_manger-批量删除")
|
||||||
|
@Operation(summary = "aed_equipment_manger-批量删除", description = "aed_equipment_manger-批量删除")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_manger:deleteBatch")
|
||||||
|
@DeleteMapping(value = "/deleteBatchPublish")
|
||||||
|
public Result<String> deleteBatchPublish(@RequestParam(name = "ids", required = true) String ids) {
|
||||||
|
if (aedEquipmentMangerService.deleteBatchPublish(Arrays.asList(ids.split(",")))) {
|
||||||
|
return Result.OK("删除成功!");
|
||||||
|
}
|
||||||
|
return Result.error("删除失败!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过id查询
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
//@AutoLog(value = "aed_equipment_manger-通过id查询")
|
||||||
|
@Operation(summary = "aed_equipment_manger-通过id查询", description = "aed_equipment_manger-通过id查询")
|
||||||
|
@GetMapping(value = "/queryById")
|
||||||
|
public Result<AedEquipmentManger> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||||
|
AedEquipmentManger aedEquipmentManger = aedEquipmentMangerService.getById(id);
|
||||||
|
if (aedEquipmentManger == null) {
|
||||||
|
return Result.error("未找到对应数据");
|
||||||
|
}
|
||||||
|
return Result.OK(aedEquipmentManger);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出设备管理excel
|
||||||
|
*
|
||||||
|
* @param aedEquipmentManger
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("intervene:aed_equipment_manger:exportXlsManager")
|
||||||
|
@RequestMapping(value = "/exportXlsManager")
|
||||||
|
public Result<String> exportXlsManager(AedEquipmentManger aedEquipmentManger) {
|
||||||
|
aedEquipmentMangerService.exportXlsManager(aedEquipmentManger);
|
||||||
|
return Result.ok("请到导出记录查看结果");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出布点设备excel
|
||||||
|
*
|
||||||
|
* @param request
|
||||||
|
* @param aedEquipmentManger
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("intervene:aed_equipment_manger:exportXls")
|
||||||
|
@RequestMapping(value = "/exportXlsPublish")
|
||||||
|
public Result<String> exportXlsPublish(AedEquipmentManger aedEquipmentManger) {
|
||||||
|
aedEquipmentMangerService.exportXlsPublish(aedEquipmentManger);
|
||||||
|
return Result.ok("请到导出记录查看结果");
|
||||||
|
}
|
||||||
|
|
||||||
|
@GetMapping("/selectAedAllBack")
|
||||||
|
public Result<List<AedEquipmentManger>> selectAedAllBack() {
|
||||||
|
return Result.ok(aedEquipmentMangerService.selectAedAllBack());
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
+163
@@ -0,0 +1,163 @@
|
|||||||
|
package com.renkang.emergency.aed.controller;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.renkang.emergency.aed.entity.AedEquipmentRetrain;
|
||||||
|
import com.renkang.emergency.aed.service.IAedEquipmentRetrainService;
|
||||||
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.jeecg.common.api.vo.Result;
|
||||||
|
import org.jeecg.common.aspect.annotation.AutoLog;
|
||||||
|
import org.jeecg.common.system.base.controller.JeecgController;
|
||||||
|
import org.jeecg.common.system.query.QueryGenerator;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: aed_equipment_retrain
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2024-01-30
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Tag(name = "aed_equipment_retrain")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/intervene/v2/aedEquipmentRetrain")
|
||||||
|
@Slf4j
|
||||||
|
public class AedEquipmentRetrainController extends JeecgController<AedEquipmentRetrain, IAedEquipmentRetrainService> {
|
||||||
|
@Autowired
|
||||||
|
private IAedEquipmentRetrainService aedEquipmentRetrainService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分页列表查询
|
||||||
|
*
|
||||||
|
* @param aedEquipmentRetrain
|
||||||
|
* @param pageNo
|
||||||
|
* @param pageSize
|
||||||
|
* @param req
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
//@AutoLog(value = "aed_equipment_retrain-分页列表查询")
|
||||||
|
@Operation(summary = "aed_equipment_retrain-分页列表查询", description = "aed_equipment_retrain-分页列表查询")
|
||||||
|
@GetMapping(value = "/list")
|
||||||
|
public Result<IPage<AedEquipmentRetrain>> queryPageList(AedEquipmentRetrain aedEquipmentRetrain,
|
||||||
|
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||||
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
|
||||||
|
HttpServletRequest req) {
|
||||||
|
QueryWrapper<AedEquipmentRetrain> queryWrapper = QueryGenerator.initQueryWrapper(aedEquipmentRetrain, req.getParameterMap());
|
||||||
|
Page<AedEquipmentRetrain> page = new Page<AedEquipmentRetrain>(pageNo, pageSize);
|
||||||
|
IPage<AedEquipmentRetrain> pageList = aedEquipmentRetrainService.page(page, queryWrapper);
|
||||||
|
return Result.OK(pageList);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加
|
||||||
|
*
|
||||||
|
* @param aedEquipmentRetrain
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_retrain-添加")
|
||||||
|
@Operation(summary = "aed_equipment_retrain-添加", description = "aed_equipment_retrain-添加")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_retrain:add")
|
||||||
|
@PostMapping(value = "/add")
|
||||||
|
public Result<String> add(@RequestBody AedEquipmentRetrain aedEquipmentRetrain) {
|
||||||
|
aedEquipmentRetrainService.save(aedEquipmentRetrain);
|
||||||
|
return Result.OK("添加成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编辑
|
||||||
|
*
|
||||||
|
* @param aedEquipmentRetrain
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_retrain-编辑")
|
||||||
|
@Operation(summary = "aed_equipment_retrain-编辑", description = "aed_equipment_retrain-编辑")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_retrain:edit")
|
||||||
|
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||||
|
public Result<String> edit(@RequestBody AedEquipmentRetrain aedEquipmentRetrain) {
|
||||||
|
aedEquipmentRetrainService.updateById(aedEquipmentRetrain);
|
||||||
|
return Result.OK("编辑成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过id删除
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_retrain-通过id删除")
|
||||||
|
@Operation(summary = "aed_equipment_retrain-通过id删除", description = "aed_equipment_retrain-通过id删除")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_retrain:delete")
|
||||||
|
@DeleteMapping(value = "/delete")
|
||||||
|
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||||
|
aedEquipmentRetrainService.removeById(id);
|
||||||
|
return Result.OK("删除成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除
|
||||||
|
*
|
||||||
|
* @param ids
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_retrain-批量删除")
|
||||||
|
@Operation(summary = "aed_equipment_retrain-批量删除", description = "aed_equipment_retrain-批量删除")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_retrain:deleteBatch")
|
||||||
|
@DeleteMapping(value = "/deleteBatch")
|
||||||
|
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||||
|
this.aedEquipmentRetrainService.removeByIds(Arrays.asList(ids.split(",")));
|
||||||
|
return Result.OK("批量删除成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过id查询
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
//@AutoLog(value = "aed_equipment_retrain-通过id查询")
|
||||||
|
@Operation(summary = "aed_equipment_retrain-通过id查询", description = "aed_equipment_retrain-通过id查询")
|
||||||
|
@GetMapping(value = "/queryById")
|
||||||
|
public Result<AedEquipmentRetrain> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||||
|
AedEquipmentRetrain aedEquipmentRetrain = aedEquipmentRetrainService.getById(id);
|
||||||
|
if (aedEquipmentRetrain == null) {
|
||||||
|
return Result.error("未找到对应数据");
|
||||||
|
}
|
||||||
|
return Result.OK(aedEquipmentRetrain);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出excel
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("intervene:aed_equipment_retrain:exportXls")
|
||||||
|
@RequestMapping(value = "/exportXls")
|
||||||
|
public Result<String> exportXls(@RequestParam(required = false) @DateTimeFormat(pattern = "yyyy-MM-dd") Date startTime,
|
||||||
|
@RequestParam(required = false) @DateTimeFormat(pattern = "yyyy-MM-dd") Date endTime,
|
||||||
|
@RequestParam(required = false) String result) {
|
||||||
|
aedEquipmentRetrainService.customExport(startTime, endTime, result);
|
||||||
|
return Result.ok("请到导出记录查看结果");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过excel导入数据
|
||||||
|
*
|
||||||
|
* @param request
|
||||||
|
* @param response
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("intervene:aed_equipment_retrain:importExcel")
|
||||||
|
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||||
|
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||||
|
return super.importExcel(request, response, AedEquipmentRetrain.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
+177
@@ -0,0 +1,177 @@
|
|||||||
|
package com.renkang.emergency.aed.controller;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.renkang.emergency.aed.entity.AedEquipmentTrain;
|
||||||
|
import com.renkang.emergency.aed.service.IAedEquipmentTrainService;
|
||||||
|
import com.renkang.emergency.aed.vo.res.train.AEDTrainPageRes;
|
||||||
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.jeecg.common.api.vo.Result;
|
||||||
|
import org.jeecg.common.aspect.annotation.AutoLog;
|
||||||
|
import org.jeecg.common.system.base.controller.JeecgController;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import java.util.Arrays;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: aed_equipment_train
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2024-01-30
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Tag(name = "aed_equipment_train")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/intervene/v2/aedEquipmentTrain")
|
||||||
|
@Slf4j
|
||||||
|
public class AedEquipmentTrainController extends JeecgController<AedEquipmentTrain, IAedEquipmentTrainService> {
|
||||||
|
@Autowired
|
||||||
|
private IAedEquipmentTrainService aedEquipmentTrainService;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 培训记录列表
|
||||||
|
*
|
||||||
|
* @param pageNo 分页参数
|
||||||
|
* @param pageSize 分页参数
|
||||||
|
* @param name 设备名称
|
||||||
|
* @param type 设备类型
|
||||||
|
* @param orgCode 所属部门
|
||||||
|
* @return 培训记录列表
|
||||||
|
*/
|
||||||
|
//@AutoLog(value = "aed_equipment_train-分页列表查询")
|
||||||
|
@GetMapping(value = "/queryPageList")
|
||||||
|
public Result<IPage<AEDTrainPageRes>> queryPageList(
|
||||||
|
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||||
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
|
||||||
|
String name,
|
||||||
|
Integer type,
|
||||||
|
String orgCode,
|
||||||
|
Integer flag
|
||||||
|
) {
|
||||||
|
Page<AEDTrainPageRes> page = new Page<>(pageNo, pageSize);
|
||||||
|
IPage<AEDTrainPageRes> pageList = aedEquipmentTrainService.queryPageList(page, name, type, orgCode, flag);
|
||||||
|
return Result.OK(pageList);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加 培训记录和演练记录
|
||||||
|
*
|
||||||
|
* @param aedEquipmentTrain 培训记录和演练记录请求body
|
||||||
|
* @return 新增结果
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_train-添加")
|
||||||
|
@Operation(summary = "aed_equipment_train-添加", description = "aed_equipment_train-添加")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_train:add")
|
||||||
|
@PostMapping(value = "/add")
|
||||||
|
public Result<String> addRehearsal(@RequestBody AedEquipmentTrain aedEquipmentTrain) {
|
||||||
|
if (aedEquipmentTrainService.save(aedEquipmentTrain)) {
|
||||||
|
return Result.OK("添加成功!");
|
||||||
|
}
|
||||||
|
return Result.error("添加失败!");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编辑
|
||||||
|
*
|
||||||
|
* @param aedEquipmentTrain
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_train-编辑")
|
||||||
|
@Operation(summary = "aed_equipment_train-编辑", description = "aed_equipment_train-编辑")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_train:edit")
|
||||||
|
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||||
|
public Result<String> edit(@RequestBody AedEquipmentTrain aedEquipmentTrain) {
|
||||||
|
aedEquipmentTrainService.updateById(aedEquipmentTrain);
|
||||||
|
return Result.OK("编辑成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过id删除
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_train-通过id删除")
|
||||||
|
@Operation(summary = "aed_equipment_train-通过id删除", description = "aed_equipment_train-通过id删除")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_train:delete")
|
||||||
|
@DeleteMapping(value = "/delete")
|
||||||
|
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||||
|
aedEquipmentTrainService.removeById(id);
|
||||||
|
return Result.OK("删除成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除
|
||||||
|
*
|
||||||
|
* @param ids
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_equipment_train-批量删除")
|
||||||
|
@Operation(summary = "aed_equipment_train-批量删除", description = "aed_equipment_train-批量删除")
|
||||||
|
// @RequiresPermissions("intervene:aed_equipment_train:deleteBatch")
|
||||||
|
@DeleteMapping(value = "/deleteBatch")
|
||||||
|
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||||
|
this.aedEquipmentTrainService.removeByIds(Arrays.asList(ids.split(",")));
|
||||||
|
return Result.OK("批量删除成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过id查询
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
//@AutoLog(value = "aed_equipment_train-通过id查询")
|
||||||
|
@Operation(summary = "aed_equipment_train-通过id查询", description = "aed_equipment_train-通过id查询")
|
||||||
|
@GetMapping(value = "/queryById")
|
||||||
|
public Result<AedEquipmentTrain> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||||
|
AedEquipmentTrain aedEquipmentTrain = aedEquipmentTrainService.getById(id);
|
||||||
|
if (aedEquipmentTrain == null) {
|
||||||
|
return Result.error("未找到对应数据");
|
||||||
|
}
|
||||||
|
return Result.OK(aedEquipmentTrain);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出数据
|
||||||
|
*
|
||||||
|
* @param name 设备名称
|
||||||
|
* @param type 设备类型
|
||||||
|
* @param departCode 部门code
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("intervene:aed_equipment_train:exportXls")
|
||||||
|
@RequestMapping(value = "/exportXls")
|
||||||
|
public Result<String> exportXls(@RequestParam(required = false) String name,
|
||||||
|
@RequestParam(required = false) String type,
|
||||||
|
@RequestParam(required = false) String departCode,
|
||||||
|
@RequestParam String flag) {
|
||||||
|
if (!("1".equals(flag) || "2".equals(flag))) {
|
||||||
|
return Result.error("未知导出类型");
|
||||||
|
}
|
||||||
|
aedEquipmentTrainService.customExport(name, type, departCode, flag);
|
||||||
|
return Result.ok("请到导出记录查看结果");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过excel导入数据
|
||||||
|
*
|
||||||
|
* @param request
|
||||||
|
* @param response
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("intervene:aed_equipment_train:importExcel")
|
||||||
|
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||||
|
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||||
|
return super.importExcel(request, response, AedEquipmentTrain.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
+154
@@ -0,0 +1,154 @@
|
|||||||
|
package com.renkang.emergency.aed.controller;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.renkang.emergency.aed.entity.AedLatest;
|
||||||
|
import com.renkang.emergency.aed.service.IAedLatestNewService;
|
||||||
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.jeecg.common.api.vo.Result;
|
||||||
|
import org.jeecg.common.aspect.annotation.AutoLog;
|
||||||
|
import org.jeecg.common.system.base.controller.JeecgController;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
|
|
||||||
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import java.util.Arrays;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: aed_latest
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2023-12-12
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Tag(name = "aed_latest")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/aed/v2/aedLatest")
|
||||||
|
@Slf4j
|
||||||
|
public class AedLatestNewController extends JeecgController<AedLatest, IAedLatestNewService> {
|
||||||
|
@Autowired
|
||||||
|
private IAedLatestNewService aedLatestService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 分页列表查询
|
||||||
|
*
|
||||||
|
* @param aedLatest
|
||||||
|
* @param pageNo
|
||||||
|
* @param pageSize
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
//@AutoLog(value = "aed_latest-分页列表查询")
|
||||||
|
@Operation(summary = "aed_latest-分页列表查询", description = "aed_latest-分页列表查询")
|
||||||
|
@GetMapping(value = "/list")
|
||||||
|
public Result<IPage<AedLatest>> queryPageList(AedLatest aedLatest,
|
||||||
|
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||||
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize) {
|
||||||
|
return Result.OK(aedLatestService.pageCustom(aedLatest, pageNo, pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加
|
||||||
|
*
|
||||||
|
* @param aedLatest
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_latest-添加")
|
||||||
|
@Operation(summary = "aed_latest-添加", description = "aed_latest-添加")
|
||||||
|
@RequiresPermissions("emergency:aed_latest:add")
|
||||||
|
@PostMapping(value = "/add")
|
||||||
|
public Result<String> add(@RequestBody AedLatest aedLatest) {
|
||||||
|
aedLatestService.save(aedLatest);
|
||||||
|
return Result.OK("添加成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编辑
|
||||||
|
*
|
||||||
|
* @param aedLatest
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_latest-编辑")
|
||||||
|
@Operation(summary = "aed_latest-编辑", description = "aed_latest-编辑")
|
||||||
|
@RequiresPermissions("emergency:aed_latest:edit")
|
||||||
|
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||||
|
public Result<String> edit(@RequestBody AedLatest aedLatest) {
|
||||||
|
aedLatestService.updateById(aedLatest);
|
||||||
|
return Result.OK("编辑成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过id删除
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_latest-通过id删除")
|
||||||
|
@Operation(summary = "aed_latest-通过id删除", description = "aed_latest-通过id删除")
|
||||||
|
@RequiresPermissions("emergency:aed_latest:delete")
|
||||||
|
@DeleteMapping(value = "/delete")
|
||||||
|
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||||
|
aedLatestService.removeById(id);
|
||||||
|
return Result.OK("删除成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除
|
||||||
|
*
|
||||||
|
* @param ids
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_latest-批量删除")
|
||||||
|
@Operation(summary = "aed_latest-批量删除", description = "aed_latest-批量删除")
|
||||||
|
@RequiresPermissions("emergency:aed_latest:deleteBatch")
|
||||||
|
@DeleteMapping(value = "/deleteBatch")
|
||||||
|
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||||
|
this.aedLatestService.removeByIds(Arrays.asList(ids.split(",")));
|
||||||
|
return Result.OK("批量删除成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过id查询
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
//@AutoLog(value = "aed_latest-通过id查询")
|
||||||
|
@Operation(summary = "aed_latest-通过id查询", description = "aed_latest-通过id查询")
|
||||||
|
@GetMapping(value = "/queryById")
|
||||||
|
public Result<AedLatest> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||||
|
AedLatest aedLatest = aedLatestService.getById(id);
|
||||||
|
if (aedLatest == null) {
|
||||||
|
return Result.error("未找到对应数据");
|
||||||
|
}
|
||||||
|
return Result.OK(aedLatest);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出excel
|
||||||
|
*
|
||||||
|
* @param request
|
||||||
|
* @param aedLatest
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("emergency:aed_latest:exportXls")
|
||||||
|
@RequestMapping(value = "/exportXls")
|
||||||
|
public ModelAndView exportXls(HttpServletRequest request, AedLatest aedLatest) {
|
||||||
|
return super.exportXls(request, aedLatest, AedLatest.class, "aed_latest");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过excel导入数据
|
||||||
|
*
|
||||||
|
* @param request
|
||||||
|
* @param response
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("emergency:aed_latest:importExcel")
|
||||||
|
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||||
|
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||||
|
return super.importExcel(request, response, AedLatest.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
+164
@@ -0,0 +1,164 @@
|
|||||||
|
package com.renkang.emergency.aed.controller;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
|
import com.renkang.emergency.aed.entity.AedUseRecord;
|
||||||
|
import com.renkang.emergency.aed.service.IAedUseRecordNewService;
|
||||||
|
import com.renkang.emergency.aed.vo.res.record.AEDUserRecordPageRes;
|
||||||
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.jeecg.common.api.vo.Result;
|
||||||
|
import org.jeecg.common.aspect.annotation.AutoLog;
|
||||||
|
import org.jeecg.common.system.base.controller.JeecgController;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
|
|
||||||
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import java.util.Arrays;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: aed_use_record
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2024-01-30
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Tag(name = "aed_use_record")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/intervene/v2/aedUseRecord")
|
||||||
|
@Slf4j
|
||||||
|
public class AedUseRecordNewController extends JeecgController<AedUseRecord, IAedUseRecordNewService> {
|
||||||
|
@Autowired
|
||||||
|
private IAedUseRecordNewService aedUseRecordService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查村应用记录列表
|
||||||
|
*
|
||||||
|
* @param pageNo 分页参数
|
||||||
|
* @param pageSize 分页参数
|
||||||
|
* @param name 设备名称
|
||||||
|
* @param type 设备类型
|
||||||
|
* @param orgCode 所属部门
|
||||||
|
* @return 应用记录列表
|
||||||
|
*/
|
||||||
|
//@AutoLog(value = "aed_use_record-分页列表查询")
|
||||||
|
@Operation(summary = "查寻应用记录列表", description = "查寻应用记录列表")
|
||||||
|
@GetMapping(value = "/queryPageList")
|
||||||
|
public Result<IPage<AEDUserRecordPageRes>> queryPageList(@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||||
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
|
||||||
|
String name,
|
||||||
|
Integer type,
|
||||||
|
String orgCode
|
||||||
|
) {
|
||||||
|
Page<AEDUserRecordPageRes> page = new Page<>(pageNo, pageSize);
|
||||||
|
IPage<AEDUserRecordPageRes> pageList = aedUseRecordService.queryPageList(page, name, type, orgCode);
|
||||||
|
return Result.OK(pageList);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 添加应用记录
|
||||||
|
*
|
||||||
|
* @param aedUseRecord 应用记录body
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_use_record-添加")
|
||||||
|
@Operation(summary = "aed_use_record-添加", description = "aed_use_record-添加")
|
||||||
|
// @RequiresPermissions("intervene:aed_use_record:add")
|
||||||
|
@PostMapping(value = "/add")
|
||||||
|
public Result<String> add(@RequestBody AedUseRecord aedUseRecord) {
|
||||||
|
if (aedUseRecordService.save(aedUseRecord)) {
|
||||||
|
return Result.OK("添加成功!");
|
||||||
|
}
|
||||||
|
return Result.error("添加失败!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 编辑
|
||||||
|
*
|
||||||
|
* @param aedUseRecord
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_use_record-编辑")
|
||||||
|
@Operation(summary = "aed_use_record-编辑", description = "aed_use_record-编辑")
|
||||||
|
// @RequiresPermissions("intervene:aed_use_record:edit")
|
||||||
|
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||||
|
public Result<String> edit(@RequestBody AedUseRecord aedUseRecord) {
|
||||||
|
aedUseRecordService.updateById(aedUseRecord);
|
||||||
|
return Result.OK("编辑成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过id删除
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_use_record-通过id删除")
|
||||||
|
@Operation(summary = "aed_use_record-通过id删除", description = "aed_use_record-通过id删除")
|
||||||
|
// @RequiresPermissions("intervene:aed_use_record:delete")
|
||||||
|
@DeleteMapping(value = "/delete")
|
||||||
|
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||||
|
aedUseRecordService.removeById(id);
|
||||||
|
return Result.OK("删除成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除
|
||||||
|
*
|
||||||
|
* @param ids
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@AutoLog(value = "aed_use_record-批量删除")
|
||||||
|
@Operation(summary = "aed_use_record-批量删除", description = "aed_use_record-批量删除")
|
||||||
|
// @RequiresPermissions("intervene:aed_use_record:deleteBatch")
|
||||||
|
@DeleteMapping(value = "/deleteBatch")
|
||||||
|
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||||
|
this.aedUseRecordService.removeByIds(Arrays.asList(ids.split(",")));
|
||||||
|
return Result.OK("批量删除成功!");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过id查询
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
//@AutoLog(value = "aed_use_record-通过id查询")
|
||||||
|
@Operation(summary = "aed_use_record-通过id查询", description = "aed_use_record-通过id查询")
|
||||||
|
@GetMapping(value = "/queryById")
|
||||||
|
public Result<AedUseRecord> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||||
|
AedUseRecord aedUseRecord = aedUseRecordService.getById(id);
|
||||||
|
if (aedUseRecord == null) {
|
||||||
|
return Result.error("未找到对应数据");
|
||||||
|
}
|
||||||
|
return Result.OK(aedUseRecord);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出excel
|
||||||
|
*
|
||||||
|
* @param request
|
||||||
|
* @param aedUseRecord
|
||||||
|
*/
|
||||||
|
// @RequiresPermissions("intervene:aed_use_record:exportXls")
|
||||||
|
@RequestMapping(value = "/exportXls")
|
||||||
|
public ModelAndView exportXls(HttpServletRequest request, AedUseRecord aedUseRecord) {
|
||||||
|
return super.exportXls(request, aedUseRecord, AedUseRecord.class, "aed_use_record");
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过excel导入数据
|
||||||
|
*
|
||||||
|
* @param request
|
||||||
|
* @param response
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
// @RequiresPermissions("intervene:aed_use_record:importExcel")
|
||||||
|
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||||
|
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||||
|
return super.importExcel(request, response, AedUseRecord.class);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
+83
@@ -0,0 +1,83 @@
|
|||||||
|
package com.renkang.emergency.aed.controller;
|
||||||
|
|
||||||
|
import cn.hutool.core.util.ObjectUtil;
|
||||||
|
import cn.hutool.core.util.StrUtil;
|
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
|
import com.renkang.emergency.aed.entity.AedWarnInfo;
|
||||||
|
import com.renkang.emergency.aed.service.IAedWarnInfoNewService;
|
||||||
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
import org.jeecg.common.api.vo.Result;
|
||||||
|
import org.jeecg.common.system.base.controller.JeecgController;
|
||||||
|
import org.jeecg.global.GlobalUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: aed_warn_info
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2023-12-12
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Tag(name = "aed_warn_info")
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/aed/v2/aedWarnInfo")
|
||||||
|
@Slf4j
|
||||||
|
public class AedWarnInfoNewController extends JeecgController<AedWarnInfo, IAedWarnInfoNewService> {
|
||||||
|
@Autowired
|
||||||
|
private IAedWarnInfoNewService aedWarnInfoService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 自定义分页列表
|
||||||
|
*
|
||||||
|
* @param aedWarnInfo 条件
|
||||||
|
* @param pageNo 页码
|
||||||
|
* @param pageSize 条数
|
||||||
|
* @return page
|
||||||
|
*/
|
||||||
|
@GetMapping(value = "/listCustom")
|
||||||
|
public Result<IPage<AedWarnInfo>> listCustom(AedWarnInfo aedWarnInfo,
|
||||||
|
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||||
|
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize) {
|
||||||
|
return Result.OK(aedWarnInfoService.pageCustom(pageNo, pageSize, aedWarnInfo));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改处理信息
|
||||||
|
*
|
||||||
|
* @param id id
|
||||||
|
* @param warnInfo 报警信息
|
||||||
|
* @return boolean
|
||||||
|
*/
|
||||||
|
@GetMapping(value = "/updateHandleInfo")
|
||||||
|
public Result<String> updateHandleInfo(@RequestParam Integer id, @RequestParam String warnInfo) {
|
||||||
|
if (ObjectUtil.isNull(id) || StrUtil.isBlank(warnInfo)) {
|
||||||
|
return Result.error("参数缺失");
|
||||||
|
}
|
||||||
|
boolean b = aedWarnInfoService.updateHandleInfo(id, warnInfo);
|
||||||
|
return GlobalUtils.getResult(b, b ? "成功" : "失败", null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通过id查询
|
||||||
|
*
|
||||||
|
* @param id
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
//@AutoLog(value = "aed_warn_info-通过id查询")
|
||||||
|
@Operation(summary = "aed_warn_info-通过id查询", description = "aed_warn_info-通过id查询")
|
||||||
|
@GetMapping(value = "/queryById")
|
||||||
|
public Result<AedWarnInfo> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||||
|
AedWarnInfo aedWarnInfo = aedWarnInfoService.getById(id);
|
||||||
|
if (aedWarnInfo == null) {
|
||||||
|
return Result.error("未找到对应数据");
|
||||||
|
}
|
||||||
|
return Result.OK(aedWarnInfo);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
+125
@@ -0,0 +1,125 @@
|
|||||||
|
package com.renkang.emergency.aed.entity;
|
||||||
|
|
||||||
|
import cn.hutool.core.date.DateUtil;
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
import org.jeecg.common.aspect.annotation.Dict;
|
||||||
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 取证人员实体类
|
||||||
|
*
|
||||||
|
* @Description: aed_equipment_certificate
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2024-01-30
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("aed_equipment_certificate")
|
||||||
|
@Accessors(chain = true)
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@Schema(title = "aed_equipment_certificate对象", description = "aed_equipment_certificate")
|
||||||
|
public class AedEquipmentCertificate implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.ASSIGN_ID)
|
||||||
|
@Schema(title = "主键")
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||||
|
private Long id;
|
||||||
|
/**
|
||||||
|
* 姓名
|
||||||
|
*/
|
||||||
|
@Excel(name = "姓名", width = 15)
|
||||||
|
@Schema(title = "姓名")
|
||||||
|
private String name;
|
||||||
|
/**
|
||||||
|
* 性别
|
||||||
|
*/
|
||||||
|
@Excel(name = "性别", width = 15)
|
||||||
|
@Schema(title = "性别")
|
||||||
|
@Dict(dicCode = "sex2")
|
||||||
|
private Integer sex;
|
||||||
|
/**
|
||||||
|
* 出生年月
|
||||||
|
*/
|
||||||
|
@Excel(name = "出生年月", width = 20, format = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Schema(title = "出生年月")
|
||||||
|
private Date birthday;
|
||||||
|
/**
|
||||||
|
* 单位
|
||||||
|
*/
|
||||||
|
@Excel(name = "单位", width = 15)
|
||||||
|
@Schema(title = "单位")
|
||||||
|
private String unit;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部门
|
||||||
|
*/
|
||||||
|
@Excel(name = "部门", width = 15)
|
||||||
|
@Schema(title = "部门")
|
||||||
|
private String dept;
|
||||||
|
/**
|
||||||
|
* 证书编号
|
||||||
|
*/
|
||||||
|
@Excel(name = "证书编号", width = 15)
|
||||||
|
@Schema(title = "证书编号")
|
||||||
|
private String certificateNo;
|
||||||
|
/**
|
||||||
|
* 删除状态(0-正常,1-已删除)
|
||||||
|
*/
|
||||||
|
@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
|
||||||
|
@Schema(title = "删除状态(0-正常,1-已删除)")
|
||||||
|
@TableLogic
|
||||||
|
private Integer delFlag;
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Schema(title = "创建人")
|
||||||
|
private String createBy;
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "创建时间")
|
||||||
|
private Date createTime;
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
@Schema(title = "更新人")
|
||||||
|
private String updateBy;
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "更新时间")
|
||||||
|
private Date updateTime;
|
||||||
|
|
||||||
|
public Integer getAge() {
|
||||||
|
if (birthday == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
try {
|
||||||
|
return DateUtil.ageOfNow(birthday);
|
||||||
|
} catch (Exception e) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+181
@@ -0,0 +1,181 @@
|
|||||||
|
package com.renkang.emergency.aed.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 日常维护表
|
||||||
|
*
|
||||||
|
* @Description: aed_equipment_maintain
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2024-01-30
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("aed_equipment_maintain")
|
||||||
|
@Accessors(chain = true)
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@Schema(title = "aed_equipment_maintain对象", description = "aed_equipment_maintain")
|
||||||
|
public class AedEquipmentMaintain implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.ASSIGN_ID)
|
||||||
|
@Schema(title = "主键")
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||||
|
private Long id;
|
||||||
|
/**
|
||||||
|
* 设备id
|
||||||
|
*/
|
||||||
|
@Excel(name = "设备id", width = 15)
|
||||||
|
@Schema(title = "设备id")
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||||
|
@NotNull(message = "请选择设备,设备不能为空")
|
||||||
|
private Long equipmentId;
|
||||||
|
/**
|
||||||
|
* 维护日期
|
||||||
|
*/
|
||||||
|
@Excel(name = "维护日期", width = 15, format = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Schema(title = "维护日期")
|
||||||
|
@NotNull(message = "请选择维护日期,维护日期不能为空")
|
||||||
|
private Date maintainDate;
|
||||||
|
/**
|
||||||
|
* 维护人
|
||||||
|
*/
|
||||||
|
@Excel(name = "维护人", width = 15)
|
||||||
|
@Schema(title = "维护人")
|
||||||
|
@NotBlank(message = "请输入维护人,维护人不能为空")
|
||||||
|
private String maintainUser;
|
||||||
|
/**
|
||||||
|
* 维护人电话
|
||||||
|
*/
|
||||||
|
@Excel(name = "维护人电话", width = 15)
|
||||||
|
@Schema(title = "维护人电话")
|
||||||
|
@NotBlank(message = "请输入维护人电话,维护人电话不能为空")
|
||||||
|
private String maintainUserTel;
|
||||||
|
/**
|
||||||
|
* 维护方
|
||||||
|
*/
|
||||||
|
@Excel(name = "维护方", width = 15)
|
||||||
|
@Schema(title = "维护方")
|
||||||
|
@NotBlank(message = "请输入维护方,维护方不能为空")
|
||||||
|
private String maintainUnit;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 外观是否完好
|
||||||
|
*/
|
||||||
|
@Excel(name = "外观是否完好", width = 15)
|
||||||
|
@Schema(title = "外观是否完好")
|
||||||
|
private String appearance;
|
||||||
|
/**
|
||||||
|
* 按钮开关是否正常工作
|
||||||
|
*/
|
||||||
|
@Excel(name = "按钮开关是否正常工作", width = 15)
|
||||||
|
@Schema(title = "按钮开关是否正常工作")
|
||||||
|
private String switchFlag;
|
||||||
|
/**
|
||||||
|
* 电池电量是否充足
|
||||||
|
*/
|
||||||
|
@Excel(name = "电池电量是否充足", width = 15)
|
||||||
|
@Schema(title = "电池电量是否充足")
|
||||||
|
private String battery;
|
||||||
|
/**
|
||||||
|
* 耗材是否无损
|
||||||
|
*/
|
||||||
|
@Excel(name = "耗材是否无损", width = 15)
|
||||||
|
@Schema(title = "耗材是否无损")
|
||||||
|
private String consumable;
|
||||||
|
/**
|
||||||
|
* 电池是否再有效期内
|
||||||
|
*/
|
||||||
|
@Excel(name = "电池是否再有效期内", width = 15)
|
||||||
|
@Schema(title = "电池是否再有效期内")
|
||||||
|
private String batteryValidity;
|
||||||
|
/**
|
||||||
|
* 标志标识清晰或模糊
|
||||||
|
*/
|
||||||
|
@Excel(name = "标志标识清晰或模糊", width = 15)
|
||||||
|
@Schema(title = "标志标识清晰或模糊")
|
||||||
|
private String identification;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 电极片是否完好
|
||||||
|
*/
|
||||||
|
@Excel(name = "电极片是否完好", width = 15)
|
||||||
|
@Schema(title = "电极片是否完好")
|
||||||
|
private String electrode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 警报器是否完好
|
||||||
|
*/
|
||||||
|
@Excel(name = "警报器是否完好", width = 15)
|
||||||
|
@Schema(title = "警报器是否完好")
|
||||||
|
private String siren;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 电极片是否在有效期内
|
||||||
|
*/
|
||||||
|
@Excel(name = "电极片是否在有效期内", width = 15)
|
||||||
|
@Schema(title = "电极片是否在有效期内")
|
||||||
|
private String electrodeValidity;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 电池是否完好
|
||||||
|
*/
|
||||||
|
@Excel(name = "电池是否完好", width = 15)
|
||||||
|
@Schema(title = "电池是否完好")
|
||||||
|
private String batteryFlag;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除状态(0-正常,1-已删除)
|
||||||
|
*/
|
||||||
|
@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
|
||||||
|
@Schema(title = "删除状态(0-正常,1-已删除)")
|
||||||
|
@TableLogic
|
||||||
|
private Integer delFlag;
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Schema(title = "创建人")
|
||||||
|
private String createBy;
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "创建时间")
|
||||||
|
private Date createTime;
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
@Schema(title = "更新人")
|
||||||
|
private String updateBy;
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "更新时间")
|
||||||
|
private Date updateTime;
|
||||||
|
}
|
||||||
+117
@@ -0,0 +1,117 @@
|
|||||||
|
package com.renkang.emergency.aed.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
import org.jeecg.common.aspect.annotation.Dict;
|
||||||
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: aed_equipment_retrain
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2024-01-30
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("aed_equipment_retrain")
|
||||||
|
@Accessors(chain = true)
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@Schema(title = "aed_equipment_retrain对象", description = "aed_equipment_retrain")
|
||||||
|
public class AedEquipmentRetrain implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.ASSIGN_ID)
|
||||||
|
@Schema(title = "主键")
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||||
|
private Long id;
|
||||||
|
/**
|
||||||
|
* 培训id
|
||||||
|
*/
|
||||||
|
@Excel(name = "培训id", width = 15)
|
||||||
|
@Schema(title = "培训id")
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||||
|
private Long trainId;
|
||||||
|
/**
|
||||||
|
* 培训日期
|
||||||
|
*/
|
||||||
|
@Excel(name = "培训日期", width = 20, format = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Schema(title = "培训日期")
|
||||||
|
private Date trainDate;
|
||||||
|
/**
|
||||||
|
* 培训地点
|
||||||
|
*/
|
||||||
|
@Excel(name = "培训地点", width = 15)
|
||||||
|
@Schema(title = "培训地点")
|
||||||
|
private String address;
|
||||||
|
/**
|
||||||
|
* 参训人数
|
||||||
|
*/
|
||||||
|
@Excel(name = "参训人数", width = 15)
|
||||||
|
@Schema(title = "参训人数")
|
||||||
|
private String userNums;
|
||||||
|
/**
|
||||||
|
* 复训效果
|
||||||
|
*/
|
||||||
|
@Excel(name = "复训效果", width = 15)
|
||||||
|
@Schema(title = "复训效果")
|
||||||
|
@Dict(dicCode = "aed_retrain_effect")
|
||||||
|
private Integer reTrainStatus;
|
||||||
|
/**
|
||||||
|
* 现场图片
|
||||||
|
*/
|
||||||
|
@Excel(name = "现场图片", width = 15)
|
||||||
|
@Schema(title = "现场图片")
|
||||||
|
private String sitePic;
|
||||||
|
/**
|
||||||
|
* 现场视频
|
||||||
|
*/
|
||||||
|
@Excel(name = "现场视频", width = 15)
|
||||||
|
@Schema(title = "现场视频")
|
||||||
|
private String siteVideo;
|
||||||
|
/**
|
||||||
|
* 删除状态(0-正常,1-已删除)
|
||||||
|
*/
|
||||||
|
@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
|
||||||
|
@Schema(title = "删除状态(0-正常,1-已删除)")
|
||||||
|
@TableLogic
|
||||||
|
private Integer delFlag;
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Schema(title = "创建人")
|
||||||
|
private String createBy;
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "创建时间")
|
||||||
|
private Date createTime;
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
@Schema(title = "更新人")
|
||||||
|
private String updateBy;
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "更新时间")
|
||||||
|
private Date updateTime;
|
||||||
|
}
|
||||||
+150
@@ -0,0 +1,150 @@
|
|||||||
|
package com.renkang.emergency.aed.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
import org.jeecg.common.aspect.annotation.Dict;
|
||||||
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 现场培训、演练
|
||||||
|
*
|
||||||
|
* @Description: aed_equipment_train
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2024-01-30
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("aed_equipment_train")
|
||||||
|
@Accessors(chain = true)
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@Schema(title = "aed_equipment_train对象", description = "aed_equipment_train")
|
||||||
|
public class AedEquipmentTrain implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.ASSIGN_ID)
|
||||||
|
@Schema(title = "主键")
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||||
|
private Long id;
|
||||||
|
/**
|
||||||
|
* 类型 1:现场培训 ,2:现场演练
|
||||||
|
*/
|
||||||
|
@Excel(name = "类型 1:现场培训 ,2:现场演练", width = 15)
|
||||||
|
@Schema(title = "类型 1:现场培训 ,2:现场演练")
|
||||||
|
private Integer flag;
|
||||||
|
/**
|
||||||
|
* 设备id
|
||||||
|
*/
|
||||||
|
@Excel(name = "设备id", width = 15)
|
||||||
|
@Schema(title = "设备id")
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||||
|
// @NotNull(message = "设备不能为空,请选择设备")
|
||||||
|
private Long equipmentId;
|
||||||
|
/**
|
||||||
|
* 培训日期/演练日期
|
||||||
|
*/
|
||||||
|
@Excel(name = "培训日期/演练日期", width = 15, format = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Schema(title = "培训日期/演练日期")
|
||||||
|
private Date trainDate;
|
||||||
|
/**
|
||||||
|
* 参加人数
|
||||||
|
*/
|
||||||
|
@Excel(name = "参加人数", width = 15)
|
||||||
|
@Schema(title = "参加人数")
|
||||||
|
private Integer joinNums;
|
||||||
|
/**
|
||||||
|
* 合格人数
|
||||||
|
*/
|
||||||
|
@Excel(name = "合格人数", width = 15)
|
||||||
|
@Schema(title = "合格人数")
|
||||||
|
private Integer qualifiedNums;
|
||||||
|
/**
|
||||||
|
* 负责人1
|
||||||
|
*/
|
||||||
|
@Excel(name = "负责人1", width = 15)
|
||||||
|
@Schema(title = "负责人1")
|
||||||
|
private String chargeUser1;
|
||||||
|
/**
|
||||||
|
* 负责人1
|
||||||
|
*/
|
||||||
|
@Excel(name = "负责人1", width = 15)
|
||||||
|
@Schema(title = "负责人1")
|
||||||
|
private String chargeUser2;
|
||||||
|
/**
|
||||||
|
* 现场签到表(文件路径)
|
||||||
|
*/
|
||||||
|
@Excel(name = "现场签到表(文件路径)", width = 15)
|
||||||
|
@Schema(title = "现场签到表(文件路径)")
|
||||||
|
private String siteSignSheet;
|
||||||
|
/**
|
||||||
|
* 现场图片(文件路径)
|
||||||
|
*/
|
||||||
|
@Excel(name = "现场图片(文件路径)", width = 15)
|
||||||
|
@Schema(title = "现场图片(文件路径)")
|
||||||
|
private String sitePic;
|
||||||
|
/**
|
||||||
|
* 现场视频(文件路径)
|
||||||
|
*/
|
||||||
|
@Excel(name = "现场视频(文件路径)", width = 15)
|
||||||
|
@Schema(title = "现场视频(文件路径)")
|
||||||
|
private String siteVideo;
|
||||||
|
/**
|
||||||
|
* 培演资料(文件路径)
|
||||||
|
*/
|
||||||
|
@Excel(name = "培演资料(文件路径)", width = 15)
|
||||||
|
@Schema(title = "培演资料(文件路径)")
|
||||||
|
private String siteProfile;
|
||||||
|
/**
|
||||||
|
* 培演效果 1:优,2:良,3:中,4:差
|
||||||
|
*/
|
||||||
|
@Excel(name = "培演效果 1:优,2:良,3:中,4:差", width = 15)
|
||||||
|
@Schema(title = "培演效果 1:优,2:良,3:中,4:差")
|
||||||
|
@Dict(dicCode = "aed_train_result")
|
||||||
|
private Integer effect;
|
||||||
|
/**
|
||||||
|
* 删除状态(0-正常,1-已删除)
|
||||||
|
*/
|
||||||
|
@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
|
||||||
|
@Schema(title = "删除状态(0-正常,1-已删除)")
|
||||||
|
@TableLogic
|
||||||
|
private Integer delFlag;
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Schema(title = "创建人")
|
||||||
|
private String createBy;
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "创建时间")
|
||||||
|
private Date createTime;
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
@Schema(title = "更新人")
|
||||||
|
private String updateBy;
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "更新时间")
|
||||||
|
private Date updateTime;
|
||||||
|
}
|
||||||
+211
@@ -0,0 +1,211 @@
|
|||||||
|
package com.renkang.emergency.aed.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonAlias;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
import org.jeecg.common.aspect.annotation.Dict;
|
||||||
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: aed_latest
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2023-12-12
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("aed_latest")
|
||||||
|
@Accessors(chain = true)
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@Schema(title = "aed_latest对象", description = "aed_latest")
|
||||||
|
public class AedLatest implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.AUTO)
|
||||||
|
@Schema(title = "主键")
|
||||||
|
private Integer id;
|
||||||
|
/**
|
||||||
|
* AED型号+序列号
|
||||||
|
*/
|
||||||
|
@Excel(name = "AED型号+序列号", width = 15)
|
||||||
|
@Schema(title = "AED型号+序列号")
|
||||||
|
@JsonAlias("AED_ID")
|
||||||
|
private String aedId;
|
||||||
|
/**
|
||||||
|
* 状态码
|
||||||
|
*/
|
||||||
|
@Excel(name = "状态码", width = 15)
|
||||||
|
@Schema(title = "状态码")
|
||||||
|
@JsonAlias("status")
|
||||||
|
@Dict(dicCode = "aed_check_status")
|
||||||
|
private String aedStatus;
|
||||||
|
/**
|
||||||
|
* AED型号
|
||||||
|
*/
|
||||||
|
@Excel(name = "AED型号", width = 15)
|
||||||
|
@Schema(title = "AED型号")
|
||||||
|
@JsonAlias("aedModel")
|
||||||
|
private String aedModel;
|
||||||
|
/**
|
||||||
|
* AED序列号
|
||||||
|
*/
|
||||||
|
@Excel(name = "AED序列号", width = 15)
|
||||||
|
@Schema(title = "AED序列号")
|
||||||
|
@JsonAlias("aedNo")
|
||||||
|
private String aedNo;
|
||||||
|
/**
|
||||||
|
* 电极片有效期
|
||||||
|
*/
|
||||||
|
@Excel(name = "电极片有效期", width = 15, format = "yyyy-MM")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM")
|
||||||
|
@Schema(title = "电极片有效期")
|
||||||
|
@JsonAlias("Pad_Expiration")
|
||||||
|
private Date padExpiration;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 电极片有效期
|
||||||
|
*/
|
||||||
|
@Dict(dicCode = "aed_electrode_sheet_status")
|
||||||
|
@TableField(exist = false)
|
||||||
|
private String padExpirationStatus;
|
||||||
|
/**
|
||||||
|
* AED剩余电量状态
|
||||||
|
*/
|
||||||
|
@TableField(exist = false)
|
||||||
|
@Dict(dicCode = "aed_battery_status")
|
||||||
|
private String batteryPowerStatus;
|
||||||
|
/**
|
||||||
|
* 电压状态
|
||||||
|
*/
|
||||||
|
@TableField(exist = false)
|
||||||
|
@Dict(dicCode = "aed_router_status")
|
||||||
|
private String routerVoltageStatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* AED剩余电量
|
||||||
|
*/
|
||||||
|
@Excel(name = "AED剩余电量", width = 15)
|
||||||
|
@Schema(title = "AED剩余电量")
|
||||||
|
@JsonAlias("Battery_Power")
|
||||||
|
private String batteryPower;
|
||||||
|
/**
|
||||||
|
* AED自检报告
|
||||||
|
*/
|
||||||
|
@Excel(name = "AED自检报告", width = 15)
|
||||||
|
@Schema(title = "AED自检报告")
|
||||||
|
@JsonAlias("AED_SelfReport")
|
||||||
|
private String aedSelfReport;
|
||||||
|
/**
|
||||||
|
* 专用路由器型号
|
||||||
|
*/
|
||||||
|
@Excel(name = "专用路由器型号", width = 15)
|
||||||
|
@Schema(title = "专用路由器型号")
|
||||||
|
@JsonAlias("Router_Model")
|
||||||
|
private String routerModel;
|
||||||
|
/**
|
||||||
|
* 专用路由器序列号
|
||||||
|
*/
|
||||||
|
@Excel(name = "专用路由器序列号", width = 15)
|
||||||
|
@Schema(title = "专用路由器序列号")
|
||||||
|
@JsonAlias("Router_SerialNo")
|
||||||
|
private String routerSerialNo;
|
||||||
|
/**
|
||||||
|
* 物联卡号
|
||||||
|
*/
|
||||||
|
@Excel(name = "物联卡号", width = 15)
|
||||||
|
@Schema(title = "物联卡号")
|
||||||
|
@JsonAlias("Router_ICCID")
|
||||||
|
private String routerIccid;
|
||||||
|
/**
|
||||||
|
* 电压
|
||||||
|
*/
|
||||||
|
@Excel(name = "电压", width = 15)
|
||||||
|
@Schema(title = "电压")
|
||||||
|
@JsonAlias("Router_Voltage")
|
||||||
|
private String routerVoltage;
|
||||||
|
/**
|
||||||
|
* 蓝牙自检结果
|
||||||
|
*/
|
||||||
|
@Excel(name = "蓝牙自检结果", width = 15)
|
||||||
|
@Schema(title = "蓝牙自检结果")
|
||||||
|
@JsonAlias("Router_BT")
|
||||||
|
private String routerBt;
|
||||||
|
/**
|
||||||
|
* 专用路由器通讯自检结果
|
||||||
|
*/
|
||||||
|
@Excel(name = "专用路由器通讯自检结果", width = 15)
|
||||||
|
@Schema(title = "专用路由器通讯自检结果")
|
||||||
|
@JsonAlias("Router_selfModel")
|
||||||
|
private String routerSelfModel;
|
||||||
|
/**
|
||||||
|
* 专用路由器文件系统自检结果
|
||||||
|
*/
|
||||||
|
@Excel(name = "专用路由器文件系统自检结果", width = 15)
|
||||||
|
@Schema(title = "专用路由器文件系统自检结果")
|
||||||
|
@JsonAlias("Router_FileSystem")
|
||||||
|
private String routerFileSystem;
|
||||||
|
/**
|
||||||
|
* 专用路由器RTC自检结果
|
||||||
|
*/
|
||||||
|
@Excel(name = "专用路由器RTC自检结果", width = 15)
|
||||||
|
@Schema(title = "专用路由器RTC自检结果")
|
||||||
|
@JsonAlias("Router_selfRTC")
|
||||||
|
private String routerSelfRtc;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 时间开始
|
||||||
|
*/
|
||||||
|
@TableField(exist = false)
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
private Date timeStart;
|
||||||
|
/**
|
||||||
|
* 时间结束
|
||||||
|
*/
|
||||||
|
@TableField(exist = false)
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
private Date timeEnd;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除(0:否 1:是)
|
||||||
|
*/
|
||||||
|
@TableLogic
|
||||||
|
private Integer delFlag;
|
||||||
|
/**
|
||||||
|
* 创建者
|
||||||
|
*/
|
||||||
|
private String createBy;
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date createTime;
|
||||||
|
/**
|
||||||
|
* 更新者
|
||||||
|
*/
|
||||||
|
private String updateBy;
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date updateTime;
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
@Excel(name = "备注", width = 15)
|
||||||
|
private String memo;
|
||||||
|
}
|
||||||
+33
@@ -0,0 +1,33 @@
|
|||||||
|
package com.renkang.emergency.aed.entity;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonAlias;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author stan
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
public class AedLatestGd {
|
||||||
|
//接口名称
|
||||||
|
@JsonAlias("typejk")
|
||||||
|
private String typeJk;
|
||||||
|
// 数据类型
|
||||||
|
@JsonAlias("msgtype")
|
||||||
|
private String msgType;
|
||||||
|
// AED信息集合
|
||||||
|
@JsonAlias("aedmessage")
|
||||||
|
private List<AedMessage> aedMessage;
|
||||||
|
// 固定
|
||||||
|
@JsonAlias("data_sender")
|
||||||
|
private String dataSender;
|
||||||
|
// 数据上传日期
|
||||||
|
@JsonAlias("data_send_dt")
|
||||||
|
private String dataSendDt;
|
||||||
|
// 数据上传条数
|
||||||
|
@JsonAlias("rownum")
|
||||||
|
private String rowNum;
|
||||||
|
}
|
||||||
+151
@@ -0,0 +1,151 @@
|
|||||||
|
package com.renkang.emergency.aed.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import javax.validation.constraints.NotBlank;
|
||||||
|
import javax.validation.constraints.NotNull;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: aed_location_equipment
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2024-01-30
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("aed_location_equipment")
|
||||||
|
@Accessors(chain = true)
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@Schema(title = "aed_location_equipment对象", description = "aed_location_equipment")
|
||||||
|
public class AedLocationEquipment implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.ASSIGN_ID)
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||||
|
@Schema(title = "主键")
|
||||||
|
private Long id;
|
||||||
|
/**
|
||||||
|
* 设备id
|
||||||
|
*/
|
||||||
|
@Excel(name = "设备id", width = 15)
|
||||||
|
@Schema(title = "设备id")
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||||
|
@NotBlank(message = "布点设备不能为空,请选择布点设备")
|
||||||
|
private Long equipmentId;
|
||||||
|
/**
|
||||||
|
* 布点日期
|
||||||
|
*/
|
||||||
|
@Excel(name = "布点日期", width = 15, format = "yyyy-MM-dd")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Schema(title = "布点日期")
|
||||||
|
@NotNull(message = "布点日期不能为空,请选择布点日期")
|
||||||
|
private Date pickDate;
|
||||||
|
/**
|
||||||
|
* 布点位置
|
||||||
|
*/
|
||||||
|
@Excel(name = "布点位置", width = 15)
|
||||||
|
@Schema(title = "布点位置")
|
||||||
|
@NotBlank(message = "布点位置不能为空,请输入布点位置")
|
||||||
|
private String address;
|
||||||
|
/**
|
||||||
|
* 经度
|
||||||
|
*/
|
||||||
|
@Excel(name = "经度", width = 15)
|
||||||
|
@Schema(title = "经度")
|
||||||
|
@NotBlank(message = "经度不能为空,请输入经度")
|
||||||
|
private String longitude;
|
||||||
|
/**
|
||||||
|
* 纬度
|
||||||
|
*/
|
||||||
|
@Excel(name = "纬度", width = 15)
|
||||||
|
@Schema(title = "纬度")
|
||||||
|
@NotBlank(message = "纬度不能为空,请输入纬度")
|
||||||
|
private String latitude;
|
||||||
|
/**
|
||||||
|
* 覆盖人数
|
||||||
|
*/
|
||||||
|
@Excel(name = "覆盖人数", width = 15)
|
||||||
|
@Schema(title = "覆盖人数")
|
||||||
|
@NotBlank(message = "纬度不能为空,请输入纬度")
|
||||||
|
private Integer coverNums;
|
||||||
|
/**
|
||||||
|
* 责任人1
|
||||||
|
*/
|
||||||
|
@Excel(name = "责任人1", width = 15)
|
||||||
|
@Schema(title = "责任人1")
|
||||||
|
@NotBlank(message = "责任人1不能为空,请输入责任人1")
|
||||||
|
private String firstCharge;
|
||||||
|
/**
|
||||||
|
* 责任人1电话
|
||||||
|
*/
|
||||||
|
@Excel(name = "责任人1电话", width = 15)
|
||||||
|
@Schema(title = "责任人1电话")
|
||||||
|
@NotBlank(message = "责任人1电话不能为空,请输入责任人1电话")
|
||||||
|
private String firstChargeTel;
|
||||||
|
/**
|
||||||
|
* 责任人2
|
||||||
|
*/
|
||||||
|
@Excel(name = "责任人2", width = 15)
|
||||||
|
@Schema(title = "责任人2")
|
||||||
|
@NotBlank(message = "责任人2不能为空,请输入责任人2")
|
||||||
|
private String secondCharge;
|
||||||
|
/**
|
||||||
|
* 责任人2电话
|
||||||
|
*/
|
||||||
|
@Excel(name = "责任人2电话", width = 15)
|
||||||
|
@Schema(title = "责任人2电话")
|
||||||
|
@NotBlank(message = "责任人2电话不能为空,请输入责任人2电话")
|
||||||
|
private String secondChargeTel;
|
||||||
|
/**
|
||||||
|
* 状态(1-正常,2-冻结)
|
||||||
|
*/
|
||||||
|
@Excel(name = "状态(1-正常,2-冻结)", width = 15)
|
||||||
|
@Schema(title = "状态(1-正常,2-冻结)")
|
||||||
|
private Integer status;
|
||||||
|
/**
|
||||||
|
* 删除状态(0-正常,1-已删除)
|
||||||
|
*/
|
||||||
|
@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
|
||||||
|
@Schema(title = "删除状态(0-正常,1-已删除)")
|
||||||
|
@TableLogic
|
||||||
|
private Integer delFlag;
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Schema(title = "创建人")
|
||||||
|
private String createBy;
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "创建时间")
|
||||||
|
private Date createTime;
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
@Schema(title = "更新人")
|
||||||
|
private String updateBy;
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "更新时间")
|
||||||
|
private Date updateTime;
|
||||||
|
}
|
||||||
+57
@@ -0,0 +1,57 @@
|
|||||||
|
package com.renkang.emergency.aed.entity;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonAlias;
|
||||||
|
import lombok.Getter;
|
||||||
|
import lombok.Setter;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author stan
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@Setter
|
||||||
|
public class AedMessage {
|
||||||
|
// AED唯一标识
|
||||||
|
@JsonAlias("aed_id")
|
||||||
|
private String aedId;
|
||||||
|
// 固定 SHANGHAI KOHDEN(AED-3100C)/ NIHON KOHDEN(其他型号AED)
|
||||||
|
@JsonAlias("aed_manufactory")
|
||||||
|
private String aedManuFactory;
|
||||||
|
// 型号
|
||||||
|
@JsonAlias("aed_model")
|
||||||
|
private String aedModel;
|
||||||
|
// 序列号
|
||||||
|
@JsonAlias("aed_serialno")
|
||||||
|
private String aedSerialno;
|
||||||
|
// AED自检日期
|
||||||
|
@JsonAlias("aed_selftest_dt")
|
||||||
|
// @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
|
||||||
|
// @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
|
||||||
|
private String aedSelfTestDt;
|
||||||
|
// AED自检结果 E.g:正常 / 异常 / 需检查
|
||||||
|
@JsonAlias("aed_selftest_result")
|
||||||
|
private String aedSelfTestResult;
|
||||||
|
// AED剩余电量(%)
|
||||||
|
@JsonAlias("aed_soc")
|
||||||
|
private String aedSoc;
|
||||||
|
// 电极有效期
|
||||||
|
@JsonAlias("valid_of_electrode")
|
||||||
|
private String validOfElectrode;
|
||||||
|
// 电池有效期
|
||||||
|
@JsonAlias("valid_of_battery")
|
||||||
|
private String validOfBattery;
|
||||||
|
// AED所在区域
|
||||||
|
@JsonAlias("aed_location")
|
||||||
|
private String aedLocation;
|
||||||
|
// AED的地址
|
||||||
|
@JsonAlias("aed_address")
|
||||||
|
private String aedAddress;
|
||||||
|
// 固定 E.g:腾讯坐标
|
||||||
|
@JsonAlias("coordinate_system")
|
||||||
|
private String coordinateSystem;
|
||||||
|
// 坐标的经度
|
||||||
|
@JsonAlias("longitude")
|
||||||
|
private String longitude;
|
||||||
|
// 坐标的纬度
|
||||||
|
@JsonAlias("latitude")
|
||||||
|
private String latitude;
|
||||||
|
}
|
||||||
+139
@@ -0,0 +1,139 @@
|
|||||||
|
package com.renkang.emergency.aed.entity;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||||
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description: aed_use_record
|
||||||
|
* @Author: jeecg-boot
|
||||||
|
* @Date: 2024-01-30
|
||||||
|
* @Version: V1.0
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@TableName("aed_use_record")
|
||||||
|
@Accessors(chain = true)
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@Schema(title = "aed_use_record对象", description = "aed_use_record")
|
||||||
|
public class AedUseRecord implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 主键
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.ASSIGN_ID)
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||||
|
@Schema(title = "主键")
|
||||||
|
private Long id;
|
||||||
|
/**
|
||||||
|
* 设备id
|
||||||
|
*/
|
||||||
|
@Excel(name = "设备id", width = 15)
|
||||||
|
@Schema(title = "设备id")
|
||||||
|
@JsonFormat(shape = JsonFormat.Shape.STRING)
|
||||||
|
private Long equipmentId;
|
||||||
|
/**
|
||||||
|
* 使用时间
|
||||||
|
*/
|
||||||
|
@Excel(name = "使用时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "使用时间")
|
||||||
|
private Date usedTime;
|
||||||
|
/**
|
||||||
|
* 被救助人
|
||||||
|
*/
|
||||||
|
@Excel(name = "被救助人", width = 15)
|
||||||
|
@Schema(title = "被救助人")
|
||||||
|
private String salvedPerson;
|
||||||
|
/**
|
||||||
|
* 症状1 来源字典(1:有呼吸,2:无呼吸)
|
||||||
|
*/
|
||||||
|
@Excel(name = "症状1 来源字典(1:有呼吸,2:无呼吸)", width = 15)
|
||||||
|
@Schema(title = "症状1 来源字典(1:有呼吸,2:无呼吸)")
|
||||||
|
private Integer heartFlag;
|
||||||
|
/**
|
||||||
|
* 症状2来源字典(1:有意识,2:无意识)
|
||||||
|
*/
|
||||||
|
@Excel(name = "症状2来源字典(1:有意识,2:无意识)", width = 15)
|
||||||
|
@Schema(title = "症状2来源字典(1:有意识,2:无意识)")
|
||||||
|
private Integer consciousnessFlag;
|
||||||
|
/**
|
||||||
|
* 使用人
|
||||||
|
*/
|
||||||
|
@Excel(name = "使用人", width = 15)
|
||||||
|
@Schema(title = "使用人")
|
||||||
|
private String useUser;
|
||||||
|
/**
|
||||||
|
* 使用过程说明
|
||||||
|
*/
|
||||||
|
@Excel(name = "使用过程说明", width = 15)
|
||||||
|
@Schema(title = "使用过程说明")
|
||||||
|
private String useInstruction;
|
||||||
|
/**
|
||||||
|
* 启动次数
|
||||||
|
*/
|
||||||
|
@Excel(name = "启动次数", width = 15)
|
||||||
|
@Schema(title = "启动次数")
|
||||||
|
private Integer startNums;
|
||||||
|
/**
|
||||||
|
* 成功除颤率
|
||||||
|
*/
|
||||||
|
@Excel(name = "成功除颤率", width = 15)
|
||||||
|
@Schema(title = "成功除颤率")
|
||||||
|
private Double successRate;
|
||||||
|
/**
|
||||||
|
* 故障率
|
||||||
|
*/
|
||||||
|
@Excel(name = "故障率", width = 15)
|
||||||
|
@Schema(title = "故障率")
|
||||||
|
private Double failRate;
|
||||||
|
/**
|
||||||
|
* 应用结果(1:救治成功,2:救治失败)
|
||||||
|
*/
|
||||||
|
@Excel(name = "应用结果(1:救治成功,2:救治失败)", width = 15)
|
||||||
|
@Schema(title = "应用结果(1:救治成功,2:救治失败)")
|
||||||
|
private Integer useResult;
|
||||||
|
/**
|
||||||
|
* 删除状态(0-正常,1-已删除)
|
||||||
|
*/
|
||||||
|
@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
|
||||||
|
@Schema(title = "删除状态(0-正常,1-已删除)")
|
||||||
|
@TableLogic
|
||||||
|
private Integer delFlag;
|
||||||
|
/**
|
||||||
|
* 创建人
|
||||||
|
*/
|
||||||
|
@Schema(title = "创建人")
|
||||||
|
private String createBy;
|
||||||
|
/**
|
||||||
|
* 创建时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "创建时间")
|
||||||
|
private Date createTime;
|
||||||
|
/**
|
||||||
|
* 更新人
|
||||||
|
*/
|
||||||
|
@Schema(title = "更新人")
|
||||||
|
private String updateBy;
|
||||||
|
/**
|
||||||
|
* 更新时间
|
||||||
|
*/
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@Schema(title = "更新时间")
|
||||||
|
private Date updateTime;
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user