zjh
2025-04-18 b646b9bee3991eb91fb916a290e5efb33eb5f68c
StandardPda/MES.Service/DB/Repository.cs
@@ -6,11 +6,11 @@
public class Repository<T> : SimpleClient<T> where T : class, new()
{
    protected static SqlSugarScope Db = new(new ConnectionConfig
        {
            DbType = DbType.Oracle,
            ConnectionString = AppsettingsUtility.Settings.DataBaseConn,
            IsAutoCloseConnection = true
        },
    {
        DbType = DbType.Oracle,
        ConnectionString = AppsettingsUtility.Settings.DataBaseConn,
        IsAutoCloseConnection = true
    },
        db =>
        {
            db.Aop.OnLogExecuting = (sql, pars) =>