田爽 1 年之前
父節點
當前提交
bc1b5b19d0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Hotline.Api/Controllers/SchedulingController.cs

+ 1 - 1
src/Hotline.Api/Controllers/SchedulingController.cs

@@ -265,7 +265,7 @@ namespace Hotline.Api.Controllers
 							SchedulingUserId = user.Id,
 							SchedulingUserName = user.UserName,
 							ShiftId = dtos.ShiftId,
-							ShiftName = dtos.ShiftName,
+							ShiftName = shift.Name,
 							SchedulingTime = dtos.SchedulingTime,
 							WorkingTime = shift.WorkingTime,
 							OffDutyTime = shift.OffDutyTime,