|
@@ -286,7 +286,7 @@ class HomeController extends WebBaseController
|
|
// $rcinfos = $this->policyService->getRcInfosByIndex();
|
|
// $rcinfos = $this->policyService->getRcInfosByIndex();
|
|
|
|
|
|
//招考系统
|
|
//招考系统
|
|
- $recruit = Recruit::where([['status', '=', 1]])->orderBy('ordid','desc')->orderBy(DB::raw('field(current,1,2,3,4,5,6,7,8,9,0)'))->orderBy('updated_at','desc')->limit(4)->get();
|
|
|
|
|
|
+ $recruit = Recruit::where([['status', '=', 1]])->where('id','<>',126)->orderBy('ordid','desc')->orderBy(DB::raw('field(current,1,2,3,4,5,6,7,8,9,0)'))->orderBy('updated_at','desc')->limit(4)->get();
|
|
if (!$recruit->isEmpty()) {
|
|
if (!$recruit->isEmpty()) {
|
|
foreach ($recruit as $k => $v) {
|
|
foreach ($recruit as $k => $v) {
|
|
$recruit[$k] = Recruit::parse_index($v);
|
|
$recruit[$k] = Recruit::parse_index($v);
|