From 57e86e9be5d5fa6f854761ca915a64ee67869724 Mon Sep 17 00:00:00 2001
From: quanzhou <quan.zhou@broconcentric.com>
Date: 星期一, 19 一月 2026 13:15:07 +0800
Subject: [PATCH] S5上传产品信息上传mes添加逻辑判断是否最后一片产品获取tray盘码

---
 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