fix 离职id处理
This commit is contained in:
@@ -208,6 +208,11 @@ public class GainfoPermissionService : IGainfoPermissionService
|
||||
gainfo = await _dbContext.Queryable<GainfoEntity>().AS("GainfoLeave")
|
||||
.Where(x => x.No == request.UserNo)
|
||||
.SingleAsync();
|
||||
|
||||
if (gainfo != null)
|
||||
{
|
||||
gainfo.Id = gainfo.IdentityUserId;
|
||||
}
|
||||
}
|
||||
|
||||
gainfo.ThrowIfNull("档案数据不存在");
|
||||
|
||||
Reference in New Issue
Block a user