From 960b33fa24c47a330e51a2c24859d681ae62caeb Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期四, 16 四月 2026 10:09:49 +0800
Subject: [PATCH] 重构任务与库存模型,增强日志管理与区域接口

---
 Code Management/WCS/WIDESEA_WCSServer/WIDESEAWCS_Server/Controllers/System/Sys_DictionaryController.cs |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/Code Management/WCS/WIDESEA_WCSServer/WIDESEAWCS_Server/Controllers/System/Sys_DictionaryController.cs b/Code Management/WCS/WIDESEA_WCSServer/WIDESEAWCS_Server/Controllers/System/Sys_DictionaryController.cs
index a03b8df..f6f0bb7 100644
--- a/Code Management/WCS/WIDESEA_WCSServer/WIDESEAWCS_Server/Controllers/System/Sys_DictionaryController.cs
+++ b/Code Management/WCS/WIDESEA_WCSServer/WIDESEAWCS_Server/Controllers/System/Sys_DictionaryController.cs
@@ -104,10 +104,8 @@
             }
             catch (Exception ex)
             {
-                // 寤鸿璁板綍鏃ュ織锛岃�屼笉鏄┖catch
-                // _logger.LogError(ex, "鑾峰彇VueDictionary澶辫触");
             }
-            return Json(vueDictionaryDTOs);
+            return Json(vueDictionaryDTOs.GroupBy(x => x.DicNo).Select(g => g.First()).ToList());
         }
 
         private VueDictionaryDTO? GetVueDictionary(string key)

--
Gitblit v1.9.3