瀏覽代碼

timelimit

Dun.Jason 9 月之前
父節點
當前提交
b2f74e7720
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Hotline/Settings/TimeLimits/TimeLimitDomainService.cs

+ 1 - 1
src/Hotline/Settings/TimeLimits/TimeLimitDomainService.cs

@@ -586,7 +586,7 @@ namespace Hotline.Settings.TimeLimits
                         var duration =  WorkEndTime - WorkBeginTime;
                         double workMinutes = duration.TotalMinutes;
                         double totalWorkMinutes = (workMinutes * timeValue) * (Percentage/100.00);
-                        double totalWorkMinutesOne = (workMinutes * timeValue) * (Percentage / 50.00);
+                        double totalWorkMinutesOne = (workMinutes * timeValue) * (PercentageOne / 100.00);
                         
                         //判断开始时间不在工时间段修正时间复位至当天或者第二天的开始时间(如果大于结束时间则复位至第二天的开始时间)
                         if (beginTime < WorkBeginTime)