Commit ede61d2f authored by jiaorz's avatar jiaorz

Merge branch 'master-order' into dev

parents c6a867dd 95be9239
...@@ -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}
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<if test="status != null and status > 0"> <if test="status != null and status > 0">
and bo.status = #{status} and bo.status = #{status}
</if> </if>
order By bo.crt_time DESC
</where> </where>
order By bo.crt_time DESC
</select> </select>
</mapper> </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