浏览代码

Merge branch 'test' of http://110.188.24.182:10023/Fengwo/hotline into test

tangjiang 4 月之前
父节点
当前提交
c81a24d1e9
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/Hotline.Share/Dtos/Order/OrderDto.cs

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

@@ -659,11 +659,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
             {