2023甬江建设杯
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user