fix:mysql时间范围问题
This commit is contained in:
parent
21cda2ad2a
commit
cb3f8b2756
@ -133,8 +133,8 @@ public partial class OrderService : ApplicationService, IOrderService
|
|||||||
EndTrackCode = x.EndCode ?? GlobalConst.EmptyString,
|
EndTrackCode = x.EndCode ?? GlobalConst.EmptyString,
|
||||||
SilenceBeforeStart = x.SilenceTime,
|
SilenceBeforeStart = x.SilenceTime,
|
||||||
SilenceAfterEnd = x.StopTime,
|
SilenceAfterEnd = x.StopTime,
|
||||||
StartTime = DateTime.MaxValue,
|
StartTime = GlobalConst.MaxDateTime,
|
||||||
EndTime = DateTime.MaxValue,
|
EndTime = GlobalConst.MaxDateTime,
|
||||||
}).ToList();
|
}).ToList();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,4 +11,6 @@ public partial class GlobalConst
|
|||||||
public const float NoneTrackTimeZone = 99999;
|
public const float NoneTrackTimeZone = 99999;
|
||||||
|
|
||||||
public const string SuccessCode = "200";
|
public const string SuccessCode = "200";
|
||||||
|
|
||||||
|
public static DateTime MaxDateTime = new DateTime(2999, 1, 1, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user