- 修复 UpdateJoin 与全局过滤器别名问题;#1612

This commit is contained in:
2881099
2023-09-09 22:03:13 +08:00
parent cfd8457b2c
commit 75f4eb92e2
4 changed files with 133 additions and 5 deletions

View File

@ -600,6 +600,8 @@ namespace base_entity
BaseEntity.Initialization(fsql, () => _asyncUow.Value);
#endregion
fsql.GlobalFilter.Apply<User1>("test01", a => a.IsDeleted == false);
var updatejoin031sql = fsql.Update<User1>()
.Join<UserGroup>((a, b) => a.GroupId == b.Id)
.Set((a, b) => b.GroupName == a.Username + "b.groupname")