ソースを参照

更新卫健2024年人才追认

zmw 2 週間 前
コミット
f32cdc7c41
3 ファイル変更12 行追加2 行削除
  1. 5 0
      app/common/api/VerifyApi.php
  2. 3 1
      app/enterprise/controller/Talent.php
  3. 4 1
      sys_config.json

+ 5 - 0
app/common/api/VerifyApi.php

@@ -1387,4 +1387,9 @@ class VerifyApi {
         $twiceIdentifyPersons = getJsonConfig("../sys_config.json", "twice_indentify_person");
         return $twiceIdentifyPersons;
     }
+
+    public static function getSpecialPersonsBy2024() {
+        $twiceIdentifyPersons = getJsonConfig("../sys_config.json", "specialPersonsBy2024");
+        return $twiceIdentifyPersons;
+    }
 }

+ 3 - 1
app/enterprise/controller/Talent.php

@@ -1910,13 +1910,15 @@ class Talent extends EnterpriseController {
             $list = array_merge((array) $list, $twiceIdentifyPersonList);
             $list = bubbleSort($list, "identifyMonth", "desc");
         }
+        $specialPersonsBy2024 = \app\common\api\VerifyApi::getSpecialPersonsBy2024();
         foreach ($list as $info) {
             $info["enterpriseName"] = $this->user["name"];
             $identifyTime = $info["identifyMonth"];
             if ($info["eType"] == CommonConst::ENTERPRISE_JC) {
                 $identifyTime = $info["identifyGetTime"] ?: $info["identifyMonth"];
             }
-            if (strtotime($year . "-12-31") >= strtotime($identifyTime)) {
+
+            if (strtotime($year . "-12-31") >= strtotime($identifyTime) || in_array($info['card_number'],$specialPersonsBy2024)) {
                 $res[] = $info;
             } else {
                 $whereTypeChange = [];

+ 4 - 1
sys_config.json

@@ -165,5 +165,8 @@
         "2": [],
         "5": ["zjjjzglk", "mzj", "zrzyj"],
         "6": ["zjjjzglk", "mzj", "zrzyj"]
-    }
+    },
+    "specialPersonsBy2024": [
+        '362132198101101115', '350521197009025038', '350582197801080287', '350582197807040286', '350582198106040018', '350521199601119016', '350583199403173782', '350924199605270048', '350212199710232015', '350582199510318549', '350583199310101333', '35058319951108543X', '350583199702035451', '352229199507161513', '350582199705173554', '350425199606080317', '35058219951109329X', '350583199507158114', '350627199608290047', '350583199709034929', '350582199505034525', '430902199412256014', '35058219960913503X', '350524199708062522', '350723199701200616', '350525199703206247', '350582198401154085', '350582199706250267', '350322199608014888', '350582199408293293', '350582199704268535', '350582199508140278', '350524199601302581', '350582199705072518', '350524197909080015', '35062419830410001X', '350622199703250025', '350521199307245513', '350524199709122558', '07266814', '350582199705298525', '350583199412226655', '350582199105094027', '350524199601197726', '359002197210162028'
+    ]
 }