Răsfoiți Sursa

更改购房补贴限制

zmw 10 luni în urmă
părinte
comite
7a56829b99
1 a modificat fișierele cu 6 adăugiri și 6 ștergeri
  1. 6 6
      app/enterprise/controller/House.php

+ 6 - 6
app/enterprise/controller/House.php

@@ -425,9 +425,9 @@ class House extends EnterpriseController {
             if (in_array($info["type"], [CommonConst::ENTERPRISE_NORMAL, CommonConst::ENTERPRISE_JC]) && $info["monthCount"] < 6) {
                 return new Response(Response::ERROR, "申报年度人才证书有效期未满足六个月,无法申报购房补贴");
             }
-            if (in_array($info["type"], [CommonConst::ENTERPRISE_WJ, CommonConst::ENTERPRISE_GJ]) && $info["monthCount"] < 9) {
-                return new Response(Response::ERROR, "申报年度人才证书有效期未满足九个月,无法申报购房补贴");
-            }
+//            if (in_array($info["type"], [CommonConst::ENTERPRISE_WJ, CommonConst::ENTERPRISE_GJ]) && $info["monthCount"] < 9) {
+//                return new Response(Response::ERROR, "申报年度人才证书有效期未满足九个月,无法申报购房补贴");
+//            }
             $info["talentArrangeMonths"] = implode(",", $resInfo["monthList"]);
         }
         return new Response(Response::SUCCESS, "");
@@ -523,9 +523,9 @@ class House extends EnterpriseController {
             if (in_array($talentInfo["enterpriseType"], [CommonConst::ENTERPRISE_JC, CommonConst::ENTERPRISE_NORMAL]) && count($months) < 6) {
                 return new Response(Response::ERROR, "申报年度人才证书有效期未满足六个月,无法申报购房补贴");
             }
-            if (in_array($talentInfo["enterpriseType"], [CommonConst::ENTERPRISE_WJ, CommonConst::ENTERPRISE_GJ]) && count($months) < 9) {
-                return new Response(Response::ERROR, "申报年度人才证书有效期未满足九个月,无法申报购房补贴");
-            }
+//            if (in_array($talentInfo["enterpriseType"], [CommonConst::ENTERPRISE_WJ, CommonConst::ENTERPRISE_GJ]) && count($months) < 9) {
+//                return new Response(Response::ERROR, "申报年度人才证书有效期未满足九个月,无法申报购房补贴");
+//            }
             return new Response(Response::SUCCESS, "", $resTalentInfo);
         }
     }