From 9a722839b8068745b4ca418b01fa942d0b5f308e Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期五, 11 四月 2025 09:00:08 +0800
Subject: [PATCH] 1.生产补料优化 2.委外补料优化

---
 Controllers/Wom/WomdaaController.cs |   33 ++++++++++++++++++++++++++++++---
 1 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/Controllers/Wom/WomdaaController.cs b/Controllers/Wom/WomdaaController.cs
index 94a7dd9..cc1696f 100644
--- a/Controllers/Wom/WomdaaController.cs
+++ b/Controllers/Wom/WomdaaController.cs
@@ -265,7 +265,7 @@
 
     #region 鐜板満绠$悊
 
-    //GetItemsByDaa001
+
     /// <summary>
     ///     鎵弿娉ㄥ鐮侊紝鑾峰彇宸ュ崟鍜屾潯鐮佷俊鎭�
     /// </summary>
@@ -293,9 +293,9 @@
         }
     }
 
-    //GetItemsByDaa001
+
     /// <summary>
-    ///     鎵弿娉ㄥ鐮侊紝鑾峰彇宸ュ崟鍜屾潯鐮佷俊鎭�
+    ///     浜у搧缁戝畾锛岃拷婧爜鍜屾祦姘寸爜缁戝畾
     /// </summary>
     /// <returns></returns>
     [HttpPost("ProductBinding")]
@@ -320,5 +320,32 @@
         }
     }
 
+    /// <summary>
+    ///     鑾峰彇鍗℃澘淇℃伅
+    /// </summary>
+    /// <returns></returns>
+    [HttpPost("getKbBarInfo")]
+    public ResponseResult getKbBarInfo([FromBody] dynamic query)
+    {
+        try
+        {
+            dynamic resultInfos = new ExpandoObject();
+            // 鍏堝垵濮嬪寲tbBillList灞炴��
+            resultInfos.tbBillList = new ExpandoObject();
+            resultInfos.tbBillList.KbBarInfo = m.getKbBarInfo(query);
+            resultInfos.tbBillList.KbBarMxInfo = m.getKbBarMxInfo(query);
+            return new ResponseResult
+            {
+                status = 0,
+                message = "OK",
+                data = resultInfos
+            };
+        }
+        catch (Exception ex)
+        {
+            return ResponseResult.ResponseError(ex);
+        }
+    }
+
     #endregion
 }
\ No newline at end of file

--
Gitblit v1.9.3