leiy 1 рік тому
батько
коміт
3b29d2bb64

+ 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小时为单位