fix 补充id字段
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
{
|
||||
public class MealShiftResponse
|
||||
{
|
||||
public long Id { get; set; }
|
||||
|
||||
public Guid ShiftCode { get; set; }
|
||||
|
||||
public string ShiftType { get; set; }
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user