Commit 95be9239 authored by jiaorz's avatar jiaorz

活动订单

parent 46b5a411
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
select oad.*, bo.no as orderNo,bo.user_id, bo.goods_amount, bo.real_amount, bo.`status`, bo.crt_time as orderTime from order_active_detail oad select oad.*, bo.no as orderNo,bo.user_id, bo.goods_amount, bo.real_amount, bo.`status`, bo.crt_time as orderTime from order_active_detail oad
LEFT JOIN base_order bo on bo.id = oad.order_id LEFT JOIN base_order bo on bo.id = oad.order_id
<where> <where>
<if test="orderNo != null and orderNo != ''"> <if test="oneNo != null and oneNo != ''">
and bo.no = #{orderNo} and bo.no = #{oneNo}
</if> </if>
<if test="userId != null and userId > 0"> <if test="userId != null and userId > 0">
and bo.user_id = #{userId} and bo.user_id = #{userId}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment