Explorar o código

计算工资 02月 Bug 3

leiy hai 1 ano
pai
achega
099e4faf85
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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")
             {