laravel5.8 框架中如果想要写原生sql语句的写法: $caipiaoset = DB::select(" select * from caipiao_set where type='touzhu' and name <=".$data['itemcount']." ORDER BY id desc"););