From fb726bc28268c7efb73629f6ae12b25232a18538 Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期六, 22 二月 2025 15:34:20 +0800
Subject: [PATCH] Add OPERATION_END property and update database handling

---
 Tiger.Model.Net/Entitys/MES/ParameterEntity/U9CParameter.cs |   71 +++++++++++++++++++++++++++++++++++
 1 files changed, 70 insertions(+), 1 deletions(-)

diff --git a/Tiger.Model.Net/Entitys/MES/ParameterEntity/U9CParameter.cs b/Tiger.Model.Net/Entitys/MES/ParameterEntity/U9CParameter.cs
index 250bcdc..b9d9f42 100644
--- a/Tiger.Model.Net/Entitys/MES/ParameterEntity/U9CParameter.cs
+++ b/Tiger.Model.Net/Entitys/MES/ParameterEntity/U9CParameter.cs
@@ -39,7 +39,7 @@
     public class RcvRptDocCreateInput
     {
         public List<RcvRptDocBase> RcvRptDocBases { get; set; }
-        public List<BIZ_ERP_PROD_IN_BTH> ErpProdInBths { get; set; }
+        public List<BIZ_ERP_PROD_IN_BTH> ErpProdInBths { get; set; } = new List<BIZ_ERP_PROD_IN_BTH>();
         public List<InStorePrintJson> PrintJsons { get; set; } = new List<InStorePrintJson>();
         public List<BAS_LABEL_TEMP> labels { get; set; }
         public string userId { get; set; }
@@ -97,6 +97,75 @@
         public int DocState { get; set; } = 1;
     }
 
+    public class BarcodeCreateInput
+    {
+        public string RevDocId { get; set; }
+        public string RevDocLineId { get; set; }
+        public string userId { get; set; }
+        public string token { get; set; }
+        public bool IsLogin { get; set; }
+    }
+
+    public class BarcodeCreateParam
+    {
+        public List<CreateEntityKeys> CreateEntityKeys { get; set; }
+        public bool IsCreateHeadBarCode { get; set; }
+        public string BarCodeRuleCode { get; set; }
+        public int GenerateCount { get; set; }
+        public int BCQty { get; set; }
+    }
+
+    public class CreateEntityKeys
+    {
+        public string ID { get; set; }
+        public string EntityType { get; set; }
+    }
+
+    public class BarcodeCreateByAssignQtyInput: BarcodeCreateInput
+    {
+        /// <summary>
+        /// 鍏ュ簱鍗曡鎬绘暟閲�
+        /// </summary>
+        public int CreateBarCodeItemQty { get; set; }
+        /// <summary>
+        /// 鍖呰瑁呯鏁伴噺
+        /// </summary>
+        public int LabelQty { get; set; }
+    }
+
+    public class BarcodeCreateByAssignQtyParam
+    {
+        public string BarCodeRuleID { get; set; }
+        public List<CreateBarCodeEntitys> CreateBarCodeEntitys { get; set; }
+        /// <summary>
+        /// 鍏ュ簱鍗曡鎬绘暟閲�
+        /// </summary>
+        public int CreateBarCodeItemQty { get; set; }
+        /// <summary>
+        /// 鍖呰瑁呯鏁伴噺
+        /// </summary>
+        public int LabelQty { get; set; }
+    }
+
+    public class CreateBarCodeEntitys
+    {
+        public string EntityID { get; set; }
+        public string EntityType { get; set; } = "UFIDA.U9.Complete.RCVRpt.RcvRptDocLine";
+    }
+
+    public class BarcodeCreateByAssignQtyResult : U9CBaseResult
+    {
+        public BarcodeCreateByAssignQtyData Data { get; set; }
+    }
+
+    public class BarcodeCreateByAssignQtyData     {
+        public string ErrorMessage { get; set; }
+        public string OtherID { get; set; }
+        public string CreatedBarCodes { get; set; }
+        public bool IsSuccess { get; set; }
+        public List<string> Data { get; set; }
+    }
+
     public class MOKey
     {
         public string DocNo { get; set; }

--
Gitblit v1.9.3