From 73f677ac03ebcf0f9d2e865dd60d3e4a6c2bc2c9 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期四, 23 四月 2026 13:53:01 +0800
Subject: [PATCH] 电视机出库订单托数显示

---
 src/main/resources/sql/20260421_inbound_camera_capture.sql |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/sql/20260421_inbound_camera_capture.sql b/src/main/resources/sql/20260421_inbound_camera_capture.sql
index c28b000..b302e86 100644
--- a/src/main/resources/sql/20260421_inbound_camera_capture.sql
+++ b/src/main/resources/sql/20260421_inbound_camera_capture.sql
@@ -25,9 +25,21 @@
     VALUES (
         N'鍏ュ簱绔欑偣鎶撴媿閰嶇疆',
         N'InboundCameraCapture',
-        N'{"enabled":true,"captureUrl":"http://192.168.10.11:8000/startPic","imageUrlPrefix":"http://192.168.10.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"}]}}',
+        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"}]}}',
         2,
         1
     );
 END
 GO
+
+UPDATE sys_config
+SET value = REPLACE(value, N'"captureUrl":"http://192.168.10.11:8000/startPic"', N'"captureUrl":"http://192.168.160.11:8000/startPic"')
+WHERE code = N'InboundCameraCapture'
+  AND value LIKE N'%"captureUrl":"http://192.168.10.11:8000/startPic"%';
+GO
+
+UPDATE sys_config
+SET value = REPLACE(value, N'"imageUrlPrefix":"http://192.168.10.11:8000/image/"', N'"imageUrlPrefix":"http://192.168.160.11/"')
+WHERE code = N'InboundCameraCapture'
+  AND value LIKE N'%"imageUrlPrefix":"http://192.168.10.11:8000/image/"%';
+GO

--
Gitblit v1.9.1