fix 调整为face appid

This commit is contained in:
2025-03-10 17:24:43 +08:00
parent e8b1f8bd3a
commit a2bad07677
4 changed files with 19 additions and 10 deletions

View File

@@ -19,6 +19,11 @@ public class WorkGridUserPageResponse
/// </summary>
public string Remark { get; set; }
/// <summary>
/// 员工数
/// </summary>
public int UserCount { get; set; }
/// <summary>
/// 员工明细
/// </summary>
@@ -36,7 +41,7 @@ public class WorkGridUserPageDetailResponse
/// 人员姓名
/// </summary>
public string Name { get; set; }
/// <summary>
/// 最大连续排班信息
/// </summary>

View File

@@ -186,6 +186,7 @@ public class WorkGridService : IWorkGridService
if (myWorkGrid != null)
{
myWorkGrid.UserCount = await _dbContext.Queryable<WorkGridUserEntity>().Where(x => x.WorkGridCode == myWorkGrid.Code).CountAsync();
myWorkGrid.UserInfos = await _dbContext.Queryable<WorkGridUserEntity>()
.LeftJoin<GainfoEntity>((x, ga) => x.UserCode == ga.Code)
.Where((x, ga) => x.WorkGridCode == myWorkGrid.Code)