|
@@ -1690,7 +1690,7 @@ class Talent extends EnterpriseController {
|
|
|
$whr[] = ["ti.enterprise_id", "=", $this->user["uid"]];
|
|
|
$whr[] = ["e.type", "=", $this->user["type"]];
|
|
|
$whr[] = ["ti.id", "not in", $ids];
|
|
|
- $list = TalentModel::alias("ti")->leftJoin("un_enterprise e", "e.id=ti.enterprise_id")->field("ti.*")->where($whr)->select()->toArray();
|
|
|
+ $list = TalentModel::alias("ti")->leftJoin("un_enterprise e", "e.id=ti.enterprise_id")->field("ti.*")->order("identifyMonth desc")->where($whr)->select()->toArray();
|
|
|
foreach ($list as $info) {
|
|
|
$info["enterpriseName"] = $this->user["name"];
|
|
|
if (strtotime($year . "-12-31") >= strtotime($info["identifyMonth"])) {
|