Browse Source

恢复 GroupsController 中 x.CompletedCount 的使用

在 GroupsController.cs 中,将 groups.Select 中的
x.CompletedCount 从注释状态恢复为有效代码,确保
x.CompletedCount 的值被正确包含在生成的 groups1 结果中。
Lyyyi 2 days ago
parent
commit
a4708b8bad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      OASystem/OASystem.Api/Controllers/GroupsController.cs

+ 1 - 1
OASystem/OASystem.Api/Controllers/GroupsController.cs

@@ -28297,7 +28297,7 @@ ORDER BY
             var groups1 = groups.Select(x => new { 
                     x.Id, 
                     x.GroupName,
-                    //x.CompletedCount 
+                    x.CompletedCount 
                 }).ToList();
 
             return Ok(JsonView(true, msg, groups1, total));