1
pulg
4 天以前 dc600c6298a3231e05875813ec0fa2fa18151d84
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace HH.WCS.QingXigongchang.util
{
    /// <summary>
    /// 该表太麻烦, 使用每个项目一个json的配置方式。
    /// 配置一次,省略了每次 多环境测试时的改动
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, Inherited = true)]
    class SuGGAttribute : SugarTable
    {
        public static Dictionary<string, string> attributes = new Dictionary<string, string>();
        public SuGGAttribute(string tableName) : base(tableName)
        {
            string value = "";
            if (attributes.TryGetValue(TableName, out value))
                TableName = value.ToUpper();
        }
 
    }
}