<if test="null != status and status != '' or status==0 ">
AND market_order.status = #{status}
</if>
<if test="null != status and status != '' or status==0 ">
AND market_order.status = #{status}
</if>