sugangqiang 2 years ago
parent
commit
9f12266ced
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/Talent.php

+ 1 - 1
app/admin/controller/Talent.php

@@ -1562,7 +1562,6 @@ class Talent extends AdminController {
                 }
                 if ($process == 4 && $enterprise["type"] == 1) {
                     $where = [];
-                    $where[] = ["delete", "=", 0];
                     $cwfts = explode(";", $condition["companyWithFileType"]);
                     foreach ($cwfts as $cwft) {
                         $_company_setting = explode(":", $cwft);
@@ -1572,6 +1571,7 @@ class Talent extends AdminController {
                         }
                     }
                     if ($where) {
+                        $where[] = ["delete", "=", 0];
                         $files = \think\facade\Db::table("new_common_filetype")->where($where)->order("sn asc")->select();
                     } else {
                         $files = [];