|
@@ -88,7 +88,7 @@ class TalentTypeChange extends AdminController {
|
|
$where[] = ["checkState", "not in", [3, 5]];
|
|
$where[] = ["checkState", "not in", [3, 5]];
|
|
break;
|
|
break;
|
|
case 2:
|
|
case 2:
|
|
- $where[] = ["ttc.type", "=", $this->user["type"]];
|
|
|
|
|
|
+ //$where[] = ["ttc.type", "=", $this->user["type"]];
|
|
$companyId = $this->user["companyId"];
|
|
$companyId = $this->user["companyId"];
|
|
$where[] = ["td.companyId", "=", $companyId];
|
|
$where[] = ["td.companyId", "=", $companyId];
|
|
$where[] = ["td.type", "=", ProjectState::LEVELCHANGE];
|
|
$where[] = ["td.type", "=", ProjectState::LEVELCHANGE];
|
|
@@ -133,7 +133,10 @@ class TalentTypeChange extends AdminController {
|
|
}
|
|
}
|
|
foreach ($list as $key => $item) {
|
|
foreach ($list as $key => $item) {
|
|
if ($item["beforeCheckCompany"]) {
|
|
if ($item["beforeCheckCompany"]) {
|
|
- $list[$key]["beforeCheckCompanyName"] = getCacheById("Company", $item["beforeCheckCompany"]);
|
|
|
|
|
|
+ $list[$key]["beforeCheckCompanyName"] = getCacheById("Company", $item["beforeCheckCompany"], "name");
|
|
|
|
+ }
|
|
|
|
+ if ($item["companyId"]) {
|
|
|
|
+ $list[$key]["companyName"] = getCacheById("Company", $item["companyId"], "name");
|
|
}
|
|
}
|
|
$list[$key]["oldTalentArrangeName"] = $levelMap[$item["oldTalentArrange"]];
|
|
$list[$key]["oldTalentArrangeName"] = $levelMap[$item["oldTalentArrange"]];
|
|
$list[$key]["newTalentArrangeName"] = $levelMap[$item["newTalentArrange"]];
|
|
$list[$key]["newTalentArrangeName"] = $levelMap[$item["newTalentArrange"]];
|