Tjiny
2025-05-19 4c8b2eea64bcd0ae14602a2a6e993b2d04c80ee0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Collections.Generic;
using SqlSugar;
 
namespace HH.WCS.Mobox3.RiDong.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();
        }
    }
 
}