Parcourir la source

增加人才合同到期导出剔除离职人员的判断

zmw il y a 1 an
Parent
commit
b4110dbee9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/common/api/VerifyApi.php

+ 1 - 1
app/common/api/VerifyApi.php

@@ -1038,7 +1038,7 @@ class VerifyApi {
         $un_common_location = Db::table("un_common_location")->column('name', 'code');
         foreach ($list as $kkk => &$item) {
             if($params['select_contract'] == '1'){
-                if($item['active'] == '2'){
+                if($item['activeName'] == '离职'){
                     unset($list[$kkk]);
                     continue;
                 }else{