From 2067faa6a9a6bee8f5450f956d5edd16c09e98a6 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期一, 30 三月 2026 11:59:54 +0800
Subject: [PATCH] fix(Home): 修正图表类型,本月趋势改为柱状+折线组合,库龄分布改为柱状图
---
Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutoMapperConfig.cs | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
diff --git a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutoMapperConfig.cs b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutoMapperConfig.cs
index 2892fb3..85aca4e 100644
--- a/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutoMapperConfig.cs
+++ b/Code/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Filter/AutoMapperConfig.cs
@@ -1,18 +1,15 @@
-锘縰sing AutoMapper;
+using Mapster;
namespace WIDESEA_WMSServer.Filter
{
/// <summary>
- /// 闈欐�佸叏灞� AutoMapper 閰嶇疆鏂囦欢
+ /// 闈欐�佸叏灞� Mapster 閰嶇疆鏂囦欢
/// </summary>
- public class AutoMapperConfig
+ public static class AutoMapperConfig
{
- public static MapperConfiguration RegisterMappings()
+ public static void RegisterMappings(TypeAdapterConfig config)
{
- return new MapperConfiguration(cfg =>
- {
- cfg.AddProfile(new CustomProfile());
- });
+ CustomProfile.Register(config);
}
}
-}
+}
\ No newline at end of file
--
Gitblit v1.9.3