From 6bf71e7423a7420d7cbb4bd0dbb19a95171efa32 Mon Sep 17 00:00:00 2001
From: zhangnaisong <2434969829@qq.com>
Date: 星期二, 05 三月 2024 15:30:07 +0800
Subject: [PATCH] 无人机发送单点任务提交
---
ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml b/ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml
index 64e4e3a..897dcd2 100644
--- a/ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml
+++ b/ard-work/src/main/resources/mapper/device/ArdCamerasMapper.xml
@@ -281,7 +281,10 @@
from ard_cameras
where dept_id = #{deptId}
</select>
- <select id="checkCameraIpAndPortUnique" resultMap="ArdCamerasResult">
- select * from ard_cameras where ip=#{ip} and port=#{port} limit 1
+ <select id="checkCameraIpAndPortUnique" resultMap="ArdCamerasResult">
+ select *
+ from ard_cameras
+ where ip = #{ip}
+ and port = #{port} limit 1
</select>
-</mapper>
\ No newline at end of file
+</mapper>
--
Gitblit v1.9.3