$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();
2024-01-27 22:09:40
$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();
下一篇:MD5 in JAVA