mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-24 21:13:46 +08:00
Update Select Json Bug
This commit is contained in:
@@ -100,13 +100,11 @@ namespace OrmTest.Test
|
||||
|
||||
});
|
||||
|
||||
db.Aop.OnError = (exp) =>//SQL报错
|
||||
db.Aop.OnLogExecuted = (s,p) =>//SQL报错
|
||||
|
||||
{
|
||||
|
||||
string sql = exp.Sql;
|
||||
|
||||
//exp.sql 这样可以拿到错误SQL
|
||||
Console.WriteLine(s);
|
||||
|
||||
};
|
||||
|
||||
@@ -154,9 +152,8 @@ namespace OrmTest.Test
|
||||
|
||||
{
|
||||
|
||||
User = a,
|
||||
|
||||
Items = a.UserDpt
|
||||
User = a ,
|
||||
de=a.UserDpt
|
||||
|
||||
}).ToList();
|
||||
|
||||
|
Reference in New Issue
Block a user