修改bug
This commit is contained in:
@@ -146,7 +146,9 @@ namespace IRaCIS.Core.Application.Service
|
||||
FullName = user.FullName,
|
||||
UserCode = user.UserCode,
|
||||
UserName = user.UserName,
|
||||
UserTypeEnum = user.UserTypeRole.UserTypeEnum
|
||||
UserTypeEnum = user.UserTypeRole.UserTypeEnum,
|
||||
ReadingCategoryList=enroll.EnrollReadingCategoryList.Select(t=>t.ReadingCategory).ToList()
|
||||
|
||||
};
|
||||
|
||||
return query.ToList();
|
||||
@@ -167,7 +169,8 @@ namespace IRaCIS.Core.Application.Service
|
||||
FullName = user.FullName,
|
||||
UserCode = user.UserCode,
|
||||
UserName = user.UserName,
|
||||
UserTypeEnum = user.UserTypeRole.UserTypeEnum
|
||||
UserTypeEnum = user.UserTypeRole.UserTypeEnum,
|
||||
ReadingCategoryList = allocationRule.Enroll.EnrollReadingCategoryList.Select(t => t.ReadingCategory).ToList()
|
||||
};
|
||||
|
||||
return await query.ToListAsync();
|
||||
|
||||
Reference in New Issue
Block a user