|
@@ -121,8 +121,8 @@ namespace Hotline.Share.Dtos.Order
|
|
|
public double HandleDurationWorkday { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
- /// 全流程时长(分钟)
|
|
|
- /// 归档时间-创建时间
|
|
|
+ /// 全流程时长(秒)
|
|
|
+ /// 归档时间-受理时间
|
|
|
/// </summary>
|
|
|
public double AllDuration { get; set; }
|
|
|
|
|
@@ -134,7 +134,7 @@ namespace Hotline.Share.Dtos.Order
|
|
|
|
|
|
if (Status >= EOrderStatus.Filed)
|
|
|
{
|
|
|
- return Math.Round(AllDuration / 60, 2).ToString() + "小时";
|
|
|
+ return Math.Round(Math.Round((FiledTime - CreationTime).Value.TotalSeconds) / 60 / 60, 2).ToString() + "小时";
|
|
|
}
|
|
|
return "-";
|
|
|
}
|