Ver código fonte

更新高教计算

zmw 7 meses atrás
pai
commit
6fbbc25b26

+ 2 - 2
app/admin/controller/TalentAllowance.php

@@ -1258,10 +1258,10 @@ class TalentAllowance extends AdminController {
             //$set = array_intersect($set, $taxSet);
         } else if ($info["type"] == CommonConst::ENTERPRISE_GJ) {
             if ($info["backWork"] == 1) {
-                $set = array_intersect($set, $workdaySet);
+                //$set = array_intersect($set, $workdaySet);
                 $set = array_intersect($set, $wageSet);
             } else {
-                $set = array_intersect($set, $workdaySet);
+                //$set = array_intersect($set, $workdaySet);
                 $set = array_intersect($set, $wageSet);
             }
         } else {

+ 2 - 2
app/common/api/TalentAllowanceApi.php

@@ -261,10 +261,10 @@ class TalentAllowanceApi {
             //$set = array_intersect($set, $taxSet);
         } else if ($info["type"] == CommonConst::ENTERPRISE_GJ) {
             if ($info["backWork"] == 1) {
-                $set = array_intersect($set, $workdaySet);
+                //$set = array_intersect($set, $workdaySet);
                 $set = array_intersect($set, $wageSet);
             } else {
-                $set = array_intersect($set, $workdaySet);
+                //$set = array_intersect($set, $workdaySet);
                 $set = array_intersect($set, $wageSet);
             }
         } else {