瀏覽代碼

修复部门复审错误

zmw 2 周之前
父節點
當前提交
906d45c66d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {