diff --git a/APT.MicroApi/APT.FO.WebApi/Controllers/PreShiftMeetingRecordController.cs b/APT.MicroApi/APT.FO.WebApi/Controllers/PreShiftMeetingRecordController.cs index 97af734..2f793e4 100644 --- a/APT.MicroApi/APT.FO.WebApi/Controllers/PreShiftMeetingRecordController.cs +++ b/APT.MicroApi/APT.FO.WebApi/Controllers/PreShiftMeetingRecordController.cs @@ -116,7 +116,7 @@ namespace APT.FO.WebApi.Controllers.Api.FO { var meetingTime = DateTime.Now; //meetingTime = DateTime.Parse("2023-06-15 06:30:00"); - if (entity.START_TIME.AddMinutes(-15) >= meetingTime) + if (entity.START_TIME!= DateTime.MinValue && entity.START_TIME.AddMinutes(-15) >= meetingTime) { throw new Exception("班前会议需等到" + entity.START_TIME.AddMinutes(-15) + "后提交!"); }