|
@@ -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) {
|