$query = Order::find()->select(['order_sys_id'])->where(['order_car_id'=>'AA','order_status'=>'10'])->orderBy(['create_time'=>SORT_DESC]);$commandQuery = clone $query;
echo $commandQuery->createCommand()->getRawSql();