From bfdb25c51958e6458fdbe5b3b2c0040a803ce4ef Mon Sep 17 00:00:00 2001
From: quanzhou <quan.zhou@broconcentric.com>
Date: 星期五, 09 一月 2026 17:17:43 +0800
Subject: [PATCH] 修改mes篮具扫码确认收到单号才修改产品单号,以及S9打印条码与plc的交互完成信号

---
 src/Bro.M141.Process/M141Process_Mysql.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Bro.M141.Process/M141Process_Mysql.cs b/src/Bro.M141.Process/M141Process_Mysql.cs
index e14519a..592ceda 100644
--- a/src/Bro.M141.Process/M141Process_Mysql.cs
+++ b/src/Bro.M141.Process/M141Process_Mysql.cs
@@ -120,7 +120,7 @@
 
                 if (!string.IsNullOrEmpty(index))
                 {
-                    string str2 = $"delete from forlocal where id < ({index}-1000)";
+                    string str2 = $"delete from forlocal where id < ({index}-2000)";
                     Operatoremysql(str2, connStrLocal);
                 }
 
@@ -283,7 +283,7 @@
 
                         if (!string.IsNullOrEmpty(index))
                         {
-                            string str2 = $"delete from forall where id < ({index}-1000)";
+                            string str2 = $"delete from forall where id < ({index}-2000)";
                             Operatoremysql(str2, connStrAll);
                         }
 

--
Gitblit v1.8.0