소스 검색

修复部门复审错误

zmw 4 달 전
부모
커밋
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) {