From 0f2dbc7ed6121945680122fdc9b1af50929bbeb1 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期四, 23 四月 2026 21:03:55 +0800
Subject: [PATCH] 出库订单托数更新

---
 src/main/resources/sql/20260421_inbound_camera_capture.sql |   20 +++++++++++++++++++-
 1 files changed, 19 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..b56374c 100644
--- a/src/main/resources/sql/20260421_inbound_camera_capture.sql
+++ b/src/main/resources/sql/20260421_inbound_camera_capture.sql
@@ -25,9 +25,27 @@
     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: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
     );
 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: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