From fae49c53152d92eb05c45858607f019a720a0c44 Mon Sep 17 00:00:00 2001 From: luolx Date: Wed, 30 Apr 2025 21:01:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E8=AD=A6=E4=BF=A1=E6=81=AF=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../large/DklMonitoringCameraMapper.xml | 183 ++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 Dkl-Vue-master/dkl-large/src/main/resources/mapper/large/DklMonitoringCameraMapper.xml diff --git a/Dkl-Vue-master/dkl-large/src/main/resources/mapper/large/DklMonitoringCameraMapper.xml b/Dkl-Vue-master/dkl-large/src/main/resources/mapper/large/DklMonitoringCameraMapper.xml new file mode 100644 index 0000000..ecba9dc --- /dev/null +++ b/Dkl-Vue-master/dkl-large/src/main/resources/mapper/large/DklMonitoringCameraMapper.xml @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + select dmc.id, dmc.name, dmc.types, dmc.create_by, dmc.create_time, dmc.update_by, dmc.update_time, dmc.del_flag, dmc.dept_id, dmc.channel_number, + dmc.file_path, dmc.standby, dmc.standby1, dmc.standby2, dmc.points_id, dmc.lng, dmc.lat, dmc.address ,dmp.point_name AS pointName ,sdd.dict_label AS typesName from dkl_monitoring_camera AS dmc + left join sys_dept d on dmc.dept_id = d.dept_id + left join dkl_monitoring_points dmp on dmp.id = dmc.points_id + left join sys_dict_data sdd on sdd.dict_value = dmc.types and sdd.dict_type ='monitoring_type' + + + + + + + + + + insert into dkl_monitoring_camera + + name, + types, + create_by, + create_time, + update_by, + update_time, + del_flag, + dept_id, + channel_number, + file_path, + standby, + standby1, + standby2, + points_id, + lng, + lat, + address, + + + #{name}, + #{types}, + #{createBy}, + #{createTime}, + #{updateBy}, + #{updateTime}, + #{delFlag}, + #{deptId}, + #{channelNumber}, + #{filePath}, + #{standby}, + #{standby1}, + #{standby2}, + #{pointsId}, + #{lng}, + #{lat}, + #{address}, + + + + + update dkl_monitoring_camera + + name = #{name}, + types = #{types}, + create_by = #{createBy}, + create_time = #{createTime}, + update_by = #{updateBy}, + update_time = #{updateTime}, + del_flag = #{delFlag}, + dept_id = #{deptId}, + channel_number = #{channelNumber}, + file_path = #{filePath}, + standby = #{standby}, + standby1 = #{standby1}, + standby2 = #{standby2}, + points_id = #{pointsId}, + lng = #{lng}, + lat = #{lat}, + address = #{address}, + + where id = #{id} + + + + update dkl_monitoring_camera set del_flag = 2 where id = #{id} + + + + update dkl_monitoring_camera set del_flag = 2 where id in + + #{id} + + + + + + + + + +