|
@@ -230,8 +230,8 @@ namespace Hotline.Repository.SqlSugar.Extensions
|
|
|
////获取原生SQL推荐 5.1.4.63 性能OK
|
|
|
//Log.Information(UtilMethods.GetNativeSql(sql, pars));
|
|
|
|
|
|
- Log.Information("Sql: {0}", sql);
|
|
|
- Log.Information("SqlParameters: {0}", string.Join(',', pars.Select(d => d.Value)));
|
|
|
+ //Log.Information("Sql: {0}", sql);
|
|
|
+ //Log.Information("SqlParameters: {0}", string.Join(',', pars.Select(d => d.Value)));
|
|
|
};
|
|
|
db.Aop.OnError = (exp) =>//SQL报错
|
|
|
{
|