zjh
2025-05-12 76cdb99e924eebdd5025584c103fa9bfdf0adecc
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) =>