From 986bbf207ec3ecab9dfbf3fed50b565d2a2676fc Mon Sep 17 00:00:00 2001
From: xwt <2740516069@qq.com>
Date: 星期六, 19 七月 2025 14:48:27 +0800
Subject: [PATCH] 来料检上传附件

---
 StandardInterface/MESApplication/Controllers/QC/XJController.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/StandardInterface/MESApplication/Controllers/QC/XJController.cs b/StandardInterface/MESApplication/Controllers/QC/XJController.cs
index 25228a3..40d2bdc 100644
--- a/StandardInterface/MESApplication/Controllers/QC/XJController.cs
+++ b/StandardInterface/MESApplication/Controllers/QC/XJController.cs
@@ -122,6 +122,8 @@
             dynamic resultInfos = new ExpandoObject();
             var tbBillList =
                 new XJService().getBoardItem(lineNo);
+            // 鎸� itemNo 鍘婚噸
+            tbBillList = tbBillList.GroupBy(x => x.ItemNo).Select(g => g.First()).ToList();
             resultInfos.tbBillList = tbBillList;
             return new ResponseResult
             {

--
Gitblit v1.9.3