fix 补充id字段

This commit is contained in:
2024-02-23 18:15:00 +08:00
parent 0e156159b1
commit 517a064295
2 changed files with 3 additions and 0 deletions

View File

@@ -2,6 +2,8 @@
{
public class MealShiftResponse
{
public long Id { get; set; }
public Guid ShiftCode { get; set; }
public string ShiftType { get; set; }

View File

@@ -39,6 +39,7 @@ public class BusinessPlaceShiftService : IBusinessPlaceShiftService
.Where(x => shiftCodes.Contains(x.ShiftCode))
.Select((x, bt) => new MealShiftResponse
{
Id = x.Id,
ShiftCode = x.ShiftCode,
ShiftType = bt.Code,
Name = bt.Display,