Эх сурвалжийг харах

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

tangjiang 4 сар өмнө
parent
commit
c81a24d1e9

+ 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
             {