Browse Source

计算工资 02月 Bug 3

leiy 1 year ago
parent
commit
099e4faf85
1 changed files with 1 additions and 1 deletions
  1. 1 1
      OASystem/OASystem.Api/OAMethodLib/PayrollComputation.cs

+ 1 - 1
OASystem/OASystem.Api/OAMethodLib/PayrollComputation.cs

@@ -2166,7 +2166,7 @@ namespace OASystem.API.OAMethodLib
 
             if (date_Range_type == "halfday")
             {
-                mealDeduction = duration * 10; //餐补扣款 
+                mealDeduction = Math.Ceiling(duration) * 10; //餐补扣款 
             }
             else if (date_Range_type == "hour")
             {