|
@@ -229,8 +229,11 @@ class TalentApi {
|
|
|
$where[] = ["tl.state", "=", TalentState::BASE_REJECT];
|
|
|
break;
|
|
|
case 3:
|
|
|
- $where[] = ["tl.state", "=", TalentState::SCND_SUBMIT];
|
|
|
+ $where[] = ["tl.state", ">=", TalentState::SCND_SUBMIT];
|
|
|
break;
|
|
|
+ default:
|
|
|
+ $where[] = ["tl.state", "in", [TalentState::FST_SUBMIT, TalentState::BASE_REJECT]];
|
|
|
+ $where[] = ["tl.state", ">=", TalentState::SCND_SUBMIT];
|
|
|
}
|
|
|
}
|
|
|
$count = Talent::where($where)->alias("ti")
|