From a93b0e99036c24b9bd58c79bf5e7364b1ba28bae Mon Sep 17 00:00:00 2001 From: 杨前锦 <1010338399@qq.com> Date: 星期二, 01 七月 2025 16:02:33 +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