@@ -64,8 +64,6 @@ namespace GxPress.Repository.Implement
var list = new List<ArticleGroupUserListResult>();
foreach (var item in result)
{
- if (item.IsSystemDefault)
- item.Id = 0;
list.Add(new ArticleGroupUserListResult() { Id = item.Id, UserId = userId, ArticleGroupId = item.Id, ArticleGroupName = item.Name, IsSystemDefault = item.IsSystemDefault });
}
return list;
@@ -120,7 +120,7 @@ namespace GxPress.Repository.Implement
result.Add(new ArticleGroupUserListResult
Id = 0,
- ArticleGroupId = item.Id,
+ ArticleGroupId = item.IsSystemDefault == true && item.Id == 63 ? 0 : item.Id,
ArticleGroupName = item.Name,
IsSystemDefault = item.IsSystemDefault,
UserId = request.UserId