|
@@ -133,18 +133,18 @@ namespace Hotline.Share.Dtos.Order
|
|
|
public double AllDuration { get; set; }
|
|
|
|
|
|
|
|
|
- public string AllDurationHour => GetAllDurationHour();
|
|
|
-
|
|
|
-
|
|
|
- public string GetAllDurationHour()
|
|
|
- {
|
|
|
- if (Status >= EOrderStatus.Filed && FiledTime.HasValue)
|
|
|
- {
|
|
|
- return Math.Round(Math.Round((FiledTime - CreationTime).Value.TotalSeconds) / 60 / 60, 2).ToString() + "小时";
|
|
|
- }
|
|
|
-
|
|
|
- return "-";
|
|
|
- }
|
|
|
+ public string AllDurationHour { get; set; }
|
|
|
+
|
|
|
+ //
|
|
|
+ // public string GetAllDurationHour()
|
|
|
+ // {
|
|
|
+ // if (Status >= EOrderStatus.Filed && FiledTime.HasValue)
|
|
|
+ // {
|
|
|
+ // return Math.Round(Math.Round((FiledTime - CreationTime).Value.TotalSeconds) / 60 / 60, 2).ToString() + "小时";
|
|
|
+ // }
|
|
|
+ //
|
|
|
+ // return "-";
|
|
|
+ // }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 办结时长(秒) 归档时间-受理时间(工单创建时间)
|