From 4e814dc13545fde4c5c294865370c165db7eb40e Mon Sep 17 00:00:00 2001
From: hao <1836460075@qq.com>
Date: 星期二, 16 九月 2025 19:19:48 +0800
Subject: [PATCH] 组装拆卸测试2

---
 StandardInterface/MES.Service/Modes/Zzcxa.cs |   40 +++++++++++++++++++++++++++++-----------
 1 files changed, 29 insertions(+), 11 deletions(-)

diff --git a/StandardInterface/MES.Service/Modes/Zzcxa.cs b/StandardInterface/MES.Service/Modes/Zzcxa.cs
index 4b51bf0..d46aa3f 100644
--- a/StandardInterface/MES.Service/Modes/Zzcxa.cs
+++ b/StandardInterface/MES.Service/Modes/Zzcxa.cs
@@ -1,19 +1,38 @@
-锘縰sing System;
+锘�// 鏂囦欢: MES.Service.Modes/ZZCXA.cs
+using System;
 using SqlSugar;
 
 namespace MES.Service.Modes
 {
     /// <summary>
-    /// ZZCXA 涓昏〃
+    /// ZZCXA - 缁勮鎷嗗嵏 瀛愯〃锛堜箣鍓嶇殑 ZZCXA 瀛楁闆嗗悎锛夛紝鏂板 YD_ID 瀛楁鏉ヨ褰曚富琛� ERPID
     /// </summary>
     [SugarTable("ZZCXA")]
-    public class Zzcxa
+    public class ZZCXA
     {
         /// <summary>
-        /// 涓婚敭ID
+        /// 涓婚敭 ID
         /// </summary>
         [SugarColumn(ColumnName = "ID", IsPrimaryKey = true, OracleSequenceName = "SEQ_ZZCXA")]
         public decimal? Id { get; set; }
+
+        /// <summary>
+        /// 鐖惰〃 ID (瀵瑰簲 ZZCX.ID) 鈥斺�� 鍙敤浜庡叧绯绘煡璇�
+        /// </summary>
+        [SugarColumn(ColumnName = "PID")]
+        public decimal? Pid { get; set; }
+
+        /// <summary>
+        /// YD_ID锛氬啓鍏ヤ富琛ㄧ殑 ERPID锛堜綘瑕佹眰锛氬瓙琛ㄧ殑 yd_id 瀛樹富琛ㄧ殑 erpid锛�
+        /// </summary>
+        [SugarColumn(ColumnName = "YD_ID")]
+        public string YdId { get; set; }
+
+        /// <summary>
+        /// ERP 瀛愯〃/琛� id锛坋rpid/eid 绛� ERP 琛屾爣璇嗭級
+        /// </summary>
+        [SugarColumn(ColumnName = "ERPID")]
+        public string Erpid { get; set; }
 
         /// <summary>
         /// 鍗曟嵁缂栫爜
@@ -100,10 +119,10 @@
         public string Zjhz { get; set; }
 
         /// <summary>
-        /// 鐗╂枡缂栫爜id
+        /// 鐗╂枡缂栫爜 id
         /// </summary>
         [SugarColumn(ColumnName = "ITEM_ID")]
-        public decimal? ItemId { get; set; }
+        public string ItemId { get; set; }
 
         /// <summary>
         /// 鏁伴噺
@@ -123,10 +142,9 @@
         [SugarColumn(ColumnName = "DEPOT_ID")]
         public string DepotId { get; set; }
 
-        /// <summary>
-        /// ERP 涓昏〃id
-        /// </summary>
-        [SugarColumn(ColumnName = "ERPID")]
-        public string Erpid { get; set; }
+        [SugarColumn(IsIgnore = true)]
+        public List<ZZCXB> SubItems { get; set; } = new List<ZZCXB>();
+
+
     }
 }

--
Gitblit v1.9.3