From 1e1b8c262ebe02e82f93c4344f9feb9624f77b52 Mon Sep 17 00:00:00 2001
From: zyf <1071160500@qq.com>
Date: 星期二, 17 六月 2025 19:17:10 +0800
Subject: [PATCH] BOM接口优化逻辑

---
 MES.Service/Modes/BOM/MesBomDetail2.cs |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/MES.Service/Modes/BOM/MesBomDetail2.cs b/MES.Service/Modes/BOM/MesBomDetail2.cs
index 602e958..df53386 100644
--- a/MES.Service/Modes/BOM/MesBomDetail2.cs
+++ b/MES.Service/Modes/BOM/MesBomDetail2.cs
@@ -11,12 +11,23 @@
     public class MesBomDetail2
     {
         /// <summary>
-        ///  
+        ///     SEQ_BOM
+        /// </summary>
+        [SugarColumn(ColumnName = "ID", OracleSequenceName = "SEQ_BOM",
+            IsPrimaryKey = true)]
+        public decimal Id { get; set; }
+        /// <summary>
+        ///  mid
         ///</summary>
-         [SugarColumn(ColumnName = "ERPID", IsPrimaryKey = true)]
+        [SugarColumn(ColumnName = "MID")]
+        public decimal? Mid { get; set; }
+        /// <summary>
+        ///  erpid
+        ///</summary>
+        [SugarColumn(ColumnName = "ERPID")]
          public decimal? Erpid { get; set; }
         /// <summary>
-        ///  
+        ///  epihid
         ///</summary>
          [SugarColumn(ColumnName="ERPHID"    )]
          public decimal? Erphid { get; set; }

--
Gitblit v1.9.3