From fb57e7836338304b16c09fec4fb5c68fb688c39e Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期二, 28 四月 2026 14:03:24 +0800
Subject: [PATCH] 1.新增分区查询 2.任务档新增分区字段

---
 src/main/resources/sql/20260421_inbound_camera_capture.sql |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/sql/20260421_inbound_camera_capture.sql b/src/main/resources/sql/20260421_inbound_camera_capture.sql
index b302e86..b56374c 100644
--- a/src/main/resources/sql/20260421_inbound_camera_capture.sql
+++ b/src/main/resources/sql/20260421_inbound_camera_capture.sql
@@ -25,7 +25,7 @@
     VALUES (
         N'鍏ュ簱绔欑偣鎶撴媿閰嶇疆',
         N'InboundCameraCapture',
-        N'{"enabled":true,"captureUrl":"http://192.168.160.11:8000/startPic","imageUrlPrefix":"http://192.168.160.11/","stations":{"101":[{"ip":"10.10.16.13","port":554,"user":"admin","password":"a327482030"},{"ip":"10.10.16.14","port":554,"user":"admin","password":"a327482030"}]}}',
+        N'{"enabled":true,"captureUrl":"http://192.168.160.11:8000/startPic","imageUrlPrefix":"http://192.168.160.11:8000/image/","stations":{"101":[{"ip":"10.10.16.13","port":554,"user":"admin","password":"a327482030"},{"ip":"10.10.16.14","port":554,"user":"admin","password":"a327482030"}]}}',
         2,
         1
     );
@@ -39,7 +39,13 @@
 GO
 
 UPDATE sys_config
-SET value = REPLACE(value, N'"imageUrlPrefix":"http://192.168.10.11:8000/image/"', N'"imageUrlPrefix":"http://192.168.160.11/"')
+SET value = REPLACE(value, N'"imageUrlPrefix":"http://192.168.10.11:8000/image/"', N'"imageUrlPrefix":"http://192.168.160.11:8000/image/"')
 WHERE code = N'InboundCameraCapture'
   AND value LIKE N'%"imageUrlPrefix":"http://192.168.10.11:8000/image/"%';
 GO
+
+UPDATE sys_config
+SET value = REPLACE(value, N'"imageUrlPrefix":"http://192.168.160.11/"', N'"imageUrlPrefix":"http://192.168.160.11:8000/image/"')
+WHERE code = N'InboundCameraCapture'
+  AND value LIKE N'%"imageUrlPrefix":"http://192.168.160.11/"%';
+GO

--
Gitblit v1.9.1