From b7308bba3d7ffad271ce7fc7a93c8c45d76be87d Mon Sep 17 00:00:00 2001 From: 杨前锦 <1010338399@qq.com> Date: 星期五, 13 六月 2025 17:21:03 +0800 Subject: [PATCH] 优化印尼佳通-硫化胚胎出入库逻辑策略优化 --- HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/util/STAttribute.cs | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/util/STAttribute.cs b/HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/util/STAttribute.cs new file mode 100644 index 0000000..5fe038b --- /dev/null +++ b/HH.WCS.Mobox3/HH.WCS.Mobox3.FJJT/util/STAttribute.cs @@ -0,0 +1,23 @@ +锘縰sing SqlSugar; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace HH.WCS.Mobox3.FJJT.util +{ + + [AttributeUsage(AttributeTargets.Class, Inherited = true)] + class STAttribute : SugarTable + { + public static Dictionary<string, string> attributes = new Dictionary<string, string>(); + public STAttribute(string tableName) : base(tableName) + { + string value = ""; + if (attributes.TryGetValue(TableName, out value)) + TableName = value.ToUpper(); + } + + } +} -- Gitblit v1.9.1