From cee4e362c81af4c93c87f40e77649e9af5a591c6 Mon Sep 17 00:00:00 2001
From: zyf <1071160500@qq.com>
Date: 星期一, 02 六月 2025 20:05:54 +0800
Subject: [PATCH] 修改工单生产数量更新的逻辑,现在只有检验合格的才更新生产数量,清除检验合格的结果也会更新

---
 MES.Service/Modes/BOM/MesBomDetail2.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/MES.Service/Modes/BOM/MesBomDetail2.cs b/MES.Service/Modes/BOM/MesBomDetail2.cs
index 5cfac8a..602e958 100644
--- a/MES.Service/Modes/BOM/MesBomDetail2.cs
+++ b/MES.Service/Modes/BOM/MesBomDetail2.cs
@@ -34,7 +34,7 @@
         /// 瀛愰」鍗曚綅 
         ///</summary>
          [SugarColumn(ColumnName="FUNITIDLOT"    )]
-         public string Funitidlot { get; set; }
+         public string? Funitidlot { get; set; }
         /// <summary>
         /// 鍥哄畾鎹熻�� 
         ///</summary>
@@ -44,7 +44,7 @@
         /// 鍙樺姩鎹熻�楃巼 
         ///</summary>
          [SugarColumn(ColumnName="FSCRAPRATELOT"    )]
-         public decimal Fscrapratelot { get; set; }
+         public decimal? Fscrapratelot { get; set; }
         /// <summary>
         /// 鐢ㄩ噺锛氬垎瀛� 
         ///</summary>
@@ -59,11 +59,11 @@
         /// 瀛愰」鐗╂枡缂栫爜 
         ///</summary>
          [SugarColumn(ColumnName="FMATERIALIDLOTBASED"    )]
-         public string Fmaterialidlotbased { get; set; }
+         public string? Fmaterialidlotbased { get; set; }
         /// <summary>
         /// 搴忓彿 
         ///</summary>
          [SugarColumn(ColumnName="LINE_NUMBER"    )]
-         public decimal LineNumber { get; set; }
+         public decimal? LineNumber { get; set; }
     }
 }

--
Gitblit v1.9.3