= '2019-10-01 00:00:00')) and "virtual_order_cards_partition"."deleted_at" is null and "refunded_at" is null group by "company_id" , "package_id", "type", "unit_price" , "sim" order by "sim" asc limit 100000 EOF; $res = DB::select($sql); dd($res); $test = PropertyService::load('1', '1'); dd($test); $service = app(OrderService::class); $res = $service->index([ 'company_name' => '福建省福信富通网络科技股份有限公司', 'starttime' => '2016-01-01 00:00:00', 'endtime' => '2016-12-31 23:59:59', 'type' => 1, ]); dd($res->toArray());