Browse Source

修复部门复审错误

zmw 2 weeks ago
parent
commit
906d45c66d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/TalentTypeChange.php

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

@@ -169,7 +169,7 @@ class TalentTypeChange extends AdminController {
                 }
             }
             if ($process == 2) {
-                $whrOtherDept[] = ["main", "=", $item["id"]];
+                $whrOtherDept[] = ["mainId", "=", $item["id"]];
                 $whrOtherDept[] = ["type", "=", ProjectState::LEVELCHANGE];
                 $otherDeptState = Db::table("un_talent_depcheckstate")->field("companyId,state")->where($whrOtherDept)->select();
                 foreach ($otherDeptState as &$ds) {