From 36fdf1c876e5b9daa4446b9c33e9c532d725798b Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期二, 08 七月 2025 16:50:53 +0800
Subject: [PATCH] 重构代码质量和安全性改进

---
 MES.Service/Modes/MesQaIqc.cs |   27 ++++++++++++++++++---------
 1 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/MES.Service/Modes/MesQaIqc.cs b/MES.Service/Modes/MesQaIqc.cs
index 48e030e..421f96c 100644
--- a/MES.Service/Modes/MesQaIqc.cs
+++ b/MES.Service/Modes/MesQaIqc.cs
@@ -3,17 +3,11 @@
 namespace MES.Service.Modes;
 
 /// <summary>
-///     鏁版嵁婧愬鍏�
+///     IQC妫�楠岄」鐩鍥�
 /// </summary>
-[SugarTable("Mes_Qa_Iqc")]
+[SugarTable("MES_QA_IQC")]
 public class MesQaIqc
 {
-    /// <summary>
-    ///     鎺ユ敹姘村钩
-    /// </summary>
-    [SugarColumn(ColumnName = "ITEM_NO")]
-    public string? ItemNo { get; set; }
-
     /// <summary>
     ///     鎺ユ敹姘村钩
     /// </summary>
@@ -48,7 +42,7 @@
     ///     鏍囧噯
     /// </summary>
     [SugarColumn(ColumnName = "FSTAND")]
-    public decimal? Fstand { get; set; }
+    public string? Fstand { get; set; }
 
     /// <summary>
     ///     涓婇檺
@@ -69,17 +63,32 @@
     public string? FspecRequ { get; set; }
 
     /// <summary>
+    ///     鏄惁鍙敤
     /// </summary>
     [SugarColumn(ColumnName = "ISENABLED")]
     public short? Isenabled { get; set; }
 
     /// <summary>
+    ///     AQL鏄惁鍙敤
     /// </summary>
     [SugarColumn(ColumnName = "EE")]
     public short? Ee { get; set; }
 
     /// <summary>
+    ///     鍒嗙被
     /// </summary>
     [SugarColumn(ColumnName = "FTYPE")]
     public string? Ftype { get; set; }
+
+    /// <summary>
+    ///     鐗╂枡缂栫爜
+    /// </summary>
+    [SugarColumn(ColumnName = "ITEM_NO")]
+    public string? ItemNo { get; set; }
+
+    /// <summary>
+    ///     鐗╂枡ID
+    /// </summary>
+    [SugarColumn(ColumnName = "ITEM_ID")]
+    public string? ItemId { get; set; }
 }
\ No newline at end of file

--
Gitblit v1.9.3