瀏覽代碼

更新卫健2024年人才追认

zmw 2 周之前
父節點
當前提交
4692567ae3
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      app/enterprise/controller/TalentAllowance.php

+ 4 - 0
app/enterprise/controller/TalentAllowance.php

@@ -505,6 +505,10 @@ class TalentAllowance extends EnterpriseController {
         if (in_array($info["type"], [CommonConst::ENTERPRISE_WJ]) && date("Y", strtotime($talentInfo["identifyMonth"])) == "2023") {
             $talentInfo["identifyMonth"] = "2022-12-01"; //让卫健包含2023全年
         }
+        $specialPersonsBy2024 = \app\common\api\VerifyApi::getSpecialPersonsBy2024();
+        if (in_array($talentInfo['card_number'],$specialPersonsBy2024)) {
+            $talentInfo["identifyMonth"] = "2024-01-01"; //让卫健特殊人员包含2024全年
+        }
 
         $where = [];
         $where[] = ["idCard", "=", $info["idCard"]];