소스 검색

计算工资 02月 Bug 3

leiy 1 년 전
부모
커밋
099e4faf85
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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")
             {