fix 移除No

This commit is contained in:
2024-08-21 16:05:40 +08:00
parent dd049b44b1
commit ac77a92c12
13 changed files with 25 additions and 37 deletions

View File

@@ -30,9 +30,9 @@ public class MiddleService : IMiddleService
//获取人员余额
return await _dbContext.Queryable<GainfoMealEntity>()
.LeftJoin<GainfoEntity>((x, ga) => x.UserNo == ga.No)
.LeftJoin<GainfoEntity>((x, ga) => x.UserCode == ga.Code)
.LeftJoin<DepartmentEntity>((x, ga, department) => ga.DepartmentNo == department.No)
.Where(x => x.UserNo == entity.UserNo)
.Where(x => x.UserCode == entity.UserCode)
.Select((x, ga, department) => new OrderResultResponse
{
UserCode = ga.Code,