- 修复 Repository.DataFilter 对 GlobalFilter 控制无效的 bug;#1028 #846

This commit is contained in:
2881099
2022-05-20 10:02:49 +08:00
parent 376862c1bd
commit 8ff9d69842
6 changed files with 140 additions and 23 deletions

View File

@ -289,6 +289,18 @@ namespace base_entity
});
sql1 = sql1.Replace("INNER JOIN ", "FULL JOIN ");
//fsql.Select<UserGroup>()
// .ToList(a => new
// {
// users1 = fsql.Select<User1>().Where(b => b.GroupId == a.Id).ToList(false),
// users2 = fsql.Select<User1>().Where(b => b.GroupId == a.Id).ToList(b => new
// {
// userid = b.Id,
// username = b.Username
// }),
// //users3 = fsql.Ado.Query<User1>("select * from user1 where groupid = @id", new { id = a.Id })
// });
fsql.UseJsonMap();