修改舒文,牌位预览列印
This commit is contained in:
@@ -386,7 +386,7 @@ public class regionRoomBedController : ApiController
|
||||
// 新增每日排程
|
||||
if (allocationEnd.HasValue)
|
||||
{
|
||||
for (var date = allocationStart; date <= allocationEnd.Value; date = date.AddDays(1))
|
||||
for (var date = allocationStart; date < allocationEnd.Value; date = date.AddDays(1))
|
||||
{
|
||||
var newSchedule = new RegionAndRoomAndBedSchedule
|
||||
{
|
||||
@@ -398,7 +398,8 @@ public class regionRoomBedController : ApiController
|
||||
CreatedBy = "系统自动分配",
|
||||
CreatedAt = DateTime.Now,
|
||||
GuaDanOrderNo = guest.GuaDanOrderNo,
|
||||
Title = "掛單"
|
||||
Title = "掛單",
|
||||
GuaDanOrderGuestUuid = guest.Uuid,
|
||||
};
|
||||
_db.RegionAndRoomAndBedSchedule.Add(newSchedule);
|
||||
}
|
||||
@@ -416,7 +417,8 @@ public class regionRoomBedController : ApiController
|
||||
CreatedBy = "系统自动分配",
|
||||
CreatedAt = DateTime.Now,
|
||||
GuaDanOrderNo = guest.GuaDanOrderNo,
|
||||
Title = "掛單"
|
||||
Title = "掛單",
|
||||
GuaDanOrderGuestUuid = guest.Uuid,
|
||||
};
|
||||
_db.RegionAndRoomAndBedSchedule.Add(newSchedule);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user