From 693584e6c84f6292a29ba242aa9e47be200e451e Mon Sep 17 00:00:00 2001
From: xiazhengtongxue <133085197+xiazhengtongxue@users.noreply.github.com>
Date: 星期二, 21 四月 2026 15:25:12 +0800
Subject: [PATCH] feat: 更新仓库枚举值和过滤条件,添加不等操作符支持 refactor: 重构任务和库存相关界面的查询逻辑 fix: 修复库存状态过滤条件错误问题 style: 统一代码格式和命名规范
---
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