tangjiang 2 ماه پیش
والد
کامیت
3a71f81ce8
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/Hotline.Share/Dtos/Order/OrderDto.cs

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

@@ -150,9 +150,9 @@ namespace Hotline.Share.Dtos.Order
         /// <returns></returns>
         public string GetAllDurationHour()
         {
-            if (AllDuration > 0)
+            if (CreationTimeHandleDurationWorkday > 0)
             {
-                return Math.Round(Math.Round(AllDuration) / 60 / 60, 2).ToString() + "";
+                return Math.Round(Math.Round(CreationTimeHandleDurationWorkday.Value) / 60 / 60, 2).ToString() + "";
             }
             return "0.00";
         }