9/12 マージ
All checks were successful
Deploy preview (main_watanabe) / deploy (push) Successful in 13s
All checks were successful
Deploy preview (main_watanabe) / deploy (push) Successful in 13s
This commit is contained in:
parent
222a3d3664
commit
ebaca49f30
@ -13,12 +13,7 @@ class ParkingSearchController extends Controller
|
||||
public function index()
|
||||
{
|
||||
// 駐輪場情報検索
|
||||
$result = \DB::table('park as p')
|
||||
->select('p.park_name', 'c.city_name', 's.station_neighbor_station')
|
||||
->leftJoin('city as c', 'p.city_id', '=', 'c.city_id')
|
||||
->leftJoin('station as s', 'p.park_id', '=', 's.park_id')
|
||||
->orderBy('p.park_ruby')
|
||||
->get();
|
||||
$park = \DB::table('park')->get();
|
||||
|
||||
// 検索結果返却
|
||||
return view('general.swo5_1',['form_data' => $result ]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user