|
@@ -69,7 +69,7 @@ public class InviteCodeApplication : IInviteCodeApplication, IScopeDependency
|
|
|
dto.ValidateObject();
|
|
|
var items = await _inviteCodeRecordRepository.Queryable()
|
|
|
.Where(m => m.CreationTime >= dto.StartTime && m.CreationTime <= dto.EndTime)
|
|
|
- .GroupBy(m => m.OrgName)
|
|
|
+ .GroupBy(m => new { m.Id, m.OrgName })
|
|
|
.Select(m => new InviteCodeStatisticOutDto
|
|
|
{
|
|
|
Id = m.Id,
|