lg
2024-08-15 0e860de56fbf7ac66b9563fb946055207f09f9d6
MES.Service/DB/Repository.cs
@@ -5,7 +5,7 @@
public class Repository<T> : SimpleClient<T> where T : class, new()
{
    public static SqlSugarScope Db = new(new ConnectionConfig
    protected static SqlSugarScope Db = new(new ConnectionConfig
        {
            DbType = DbType.Oracle,
            ConnectionString = AppsettingsUtility.Settings.DataBaseConn,
@@ -25,7 +25,7 @@
        if (context == null) Context = Db;
    }
    public int UseTransaction(Func<SqlSugarScope, int> action)
    protected int UseTransaction(Func<SqlSugarScope, int> action)
    {
        try
        {