Browse Source

计算工资 5.5

leiy 1 year ago
parent
commit
3b29d2bb64
1 changed files with 3 additions and 0 deletions
  1. 3 0
      OASystem/OASystem.Api/OAMethodLib/PayrollComputation.cs

+ 3 - 0
OASystem/OASystem.Api/OAMethodLib/PayrollComputation.cs

@@ -394,6 +394,9 @@ namespace OASystem.API.OAMethodLib
                                 foreach (var exception_info in roots_ex.exception_infos)
                                 {
                                     decimal timelength = (Convert.ToDecimal(exception_info.duration) / 3600.00M) * 60.00M;  //时长 分钟
+
+                                    if (timelength == 9) timelength = 7.50M;
+
                                     int exception = exception_info.exception; //异常类型
                                     decimal day_miner_unit = dailyWage / 15;  //以0.5小时为单位