From 4c4f4de76d118f0f66f3f1d9510b6e6199574318 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 30 三月 2026 09:30:52 +0800
Subject: [PATCH] docs: 添加 MES 电芯绑定解绑集成设计

---
 Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutoMapperConfig.cs |   13 +++++--------
 1 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutoMapperConfig.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutoMapperConfig.cs
index 5b2cc51..6fe8b8c 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutoMapperConfig.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Filter/AutoMapperConfig.cs
@@ -1,18 +1,15 @@
-锘縰sing AutoMapper;
+锘縰sing Mapster;
 
 namespace WIDESEAWCS_WCSServer.Filter
 {
     /// <summary>
-    /// 闈欐�佸叏灞� AutoMapper 閰嶇疆鏂囦欢
+    /// 闈欐�佸叏灞� Mapster 閰嶇疆鏂囦欢
     /// </summary>
-    public class AutoMapperConfig
+    public class MapsterConfig
     {
-        public static MapperConfiguration RegisterMappings()
+        public static void RegisterMappings(TypeAdapterConfig config)
         {
-            return new MapperConfiguration(cfg =>
-            {
-                cfg.AddProfile(new CustomProfile());
-            });
+            CustomProfile.Register(config);
         }
     }
 }

--
Gitblit v1.9.3