查询订单列表接口

This commit is contained in:
2025-07-30 23:08:34 +08:00
parent 07134dc920
commit 0826b92c07

View File

@ -21,7 +21,7 @@
SELECT SELECT
o.order_id, o.order_id,
o.order_no, o.order_no,
o.status, o.order_status,
o.first_order_time, o.first_order_time,
o.end_rent_time, o.end_rent_time,
o.car_model_id, o.car_model_id,
@ -37,7 +37,7 @@
and o.store_id = #{storeId} and o.store_id = #{storeId}
</if> </if>
<if test="orderStatus != null and orderStatus!= ''"> <if test="orderStatus != null and orderStatus!= ''">
and o.status = #{orderStatus} and o.order_status = #{orderStatus}
</if> </if>
</where> </where>
order by o.update_time desc order by o.update_time desc