2023甬江建设杯

This commit is contained in:
ky_fanly
2023-11-09 16:42:58 +08:00
parent 9e6a200a7a
commit dd63efcfb7
8 changed files with 30 additions and 88 deletions

View File

@@ -112,8 +112,8 @@ namespace Vote.Services.ApiController
}
private async Task<List<ProjectsList2Output>> GetVoteData()
{
var query = from a in rep_Projects2022.DetachedEntities
join b in rep_VoteRecords2022.DetachedEntities
var query = from a in rep_Projects.DetachedEntities
join b in rep_VoteRecords.DetachedEntities
on a.Id equals b.project_id into grouping
from p in grouping.DefaultIfEmpty()
group new { a, p } by new { a.Id, a.name, a.serial_number, a.type } into pp