fix 匹配问题

This commit is contained in:
2024-06-27 21:36:56 +08:00
parent 87d3e9d2da
commit 1214814a12

View File

@@ -62,7 +62,7 @@ public class MiddleService : IMiddleService
return await _dbContext.Queryable<GainfoMealEntity>()
.LeftJoin<GainfoEntity>((x, ga) => x.UserNo == ga.No)
.LeftJoin<DepartmentEntity>((x, ga, department) => ga.DepartmentNo == department.No)
.Where(x => x.UserNo == entity.No)
.Where(x => x.UserNo == entity.UserNo)
.Select((x, ga, department) => new OrderResultResponse
{
UserCode = ga.Code,