zyf
2025-12-04 174707ef5fb6cc8e2b0f973b5f7345e7b89b2d77
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
        {