Browse Source

剩余办理时长

Dun.Jason 4 tháng trước cách đây
mục cha
commit
ac221c0435
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/Hotline.Share/Dtos/Order/OrderDto.cs

+ 2 - 2
src/Hotline.Share/Dtos/Order/OrderDto.cs

@@ -658,11 +658,11 @@ namespace Hotline.Share.Dtos.Order
             DateTime now = DateTime.Now;
             if (Status >= EOrderStatus.Filed && FiledTime !=null)
             {
-                return Math.Round((ExpiredTime.Value - FiledTime.Value).TotalDays,1) + "天";
+                return Math.Round((ExpiredTime.Value - FiledTime.Value).TotalDays,2) + "天";
             }
             else if(Status < EOrderStatus.Filed && ExpiredTime!=null)
             {
-                return Math.Round((ExpiredTime.Value - DateTime.Now).TotalDays,1) + "天";
+                return Math.Round((ExpiredTime.Value - DateTime.Now).TotalDays,2) + "天";
             }
             else
             {