LEIYI 6 months ago
parent
commit
2060656354

+ 1 - 4
OASystem/OASystem.Infrastructure/Repositories/Groups/TaskAssignmentRepository.cs

@@ -276,10 +276,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
 
             var data = await _sqlSugar.Queryable<Grp_DelegationInfo>()
                 .Where(it => it.IsDel == 0 && it.VisitDate >= beginDt && it.VisitDate <= endDt)
-                .Select(it => new {
-                    it.Id,
-                    //it.TeamName,
-                })
+                .Select(it => it.Id)
                 .ToListAsync();
 
             _view.Code = StatusCodes.Status200OK;