Commit ede61d2f authored by jiaorz's avatar jiaorz

Merge branch 'master-order' into dev

parents c6a867dd 95be9239
......@@ -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
LEFT JOIN base_order bo on bo.id = oad.order_id
<where>
<if test="orderNo != null and orderNo != ''">
and bo.no = #{orderNo}
<if test="oneNo != null and oneNo != ''">
and bo.no = #{oneNo}
</if>
<if test="userId != null and userId > 0">
and bo.user_id = #{userId}
......@@ -21,7 +21,7 @@
<if test="status != null and status > 0">
and bo.status = #{status}
</if>
order By bo.crt_time DESC
</where>
order By bo.crt_time DESC
</select>
</mapper>
\ No newline at end of file
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