Explorar o código

更新卫健2024年人才追认

zmw hai 2 semanas
pai
achega
4692567ae3
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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"]];