From 6861434f1445d1685b67a24897890c34f8c54f85 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期三, 08 四月 2026 17:22:26 +0800
Subject: [PATCH] WCS&WMS代码更新

---
 代码管理/WMS/WMSServices/WIDESEA_SystemService/Sys_DictionaryService.cs |   46 ----------------------------------------------
 1 files changed, 0 insertions(+), 46 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMSServices/WIDESEA_SystemService/Sys_DictionaryService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMSServices/WIDESEA_SystemService/Sys_DictionaryService.cs"
index f3d1a28..d541a34 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMSServices/WIDESEA_SystemService/Sys_DictionaryService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WMSServices/WIDESEA_SystemService/Sys_DictionaryService.cs"
@@ -176,25 +176,6 @@
                             result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data };
                         }
                         break;
-                    case "materials":
-                        {
-                            {
-                                List<object> data = new List<object>();
-
-                                {
-                                    List<Dt_MaterielInfo> materielInfos = _basicRepository.MaterielInfoRepository.QueryData();
-                                    int index = 0;
-                                    foreach (var item in materielInfos)
-                                    {
-                                        data.Add(new { key = item.MaterielCode, value = item.MaterielCode });
-                                        index++;
-                                    }
-                                }
-
-                                result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data };
-                            }
-                        }
-                        break;
                     case "taskType":
                         {
                             List<object> data = new List<object>();
@@ -558,33 +539,6 @@
                                 foreach (var item in enums)
                                 {
                                     FieldInfo? fieldInfo = typeof(PrintStatusEnum).GetField(((PrintStatusEnum)item).ToString());
-                                    DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>();
-                                    if (description != null)
-                                    {
-                                        data.Add(new { key = item.ToString(), value = description.Description });
-                                    }
-                                    else
-                                    {
-                                        data.Add(new { key = item.ToString(), value = item.ToString() });
-                                    }
-                                    index++;
-                                }
-                            }
-
-                            result = new VueDictionaryDTO { DicNo = key, Config = "", Data = data };
-                        }
-                        break;
-                    case "proStockAttributeEnum":
-                        {
-                            List<object> data = new List<object>();
-
-                            {
-                                Type type = typeof(ProStockAttributeEnum);
-                                List<int> enums = Enum.GetValues(typeof(ProStockAttributeEnum)).Cast<int>().ToList();
-                                int index = 0;
-                                foreach (var item in enums)
-                                {
-                                    FieldInfo? fieldInfo = typeof(ProStockAttributeEnum).GetField(((ProStockAttributeEnum)item).ToString());
                                     DescriptionAttribute? description = fieldInfo.GetCustomAttribute<DescriptionAttribute>();
                                     if (description != null)
                                     {

--
Gitblit v1.9.3