|
@@ -661,6 +661,9 @@
|
|
|
<if test="vo.floor != null and vo.floor != ''">
|
|
<if test="vo.floor != null and vo.floor != ''">
|
|
|
AND torm.floor = #{vo.floor}
|
|
AND torm.floor = #{vo.floor}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="vo.isInsure != null and vo.isInsure != ''">
|
|
|
|
|
+ AND td.is_insure = #{vo.isInsure}
|
|
|
|
|
+ </if>
|
|
|
<if test="vo.orderRefundDateStart != null and vo.orderRefundDateEnd != ''">
|
|
<if test="vo.orderRefundDateStart != null and vo.orderRefundDateEnd != ''">
|
|
|
AND exists (select 1 from trade_refund tr where tr.order_id=td.id and tr.refund_status = 6 and tr.refund_time BETWEEN #{vo.orderRefundDateStart} and #{vo.orderRefundDateEnd} )
|
|
AND exists (select 1 from trade_refund tr where tr.order_id=td.id and tr.refund_status = 6 and tr.refund_time BETWEEN #{vo.orderRefundDateStart} and #{vo.orderRefundDateEnd} )
|
|
|
</if>
|
|
</if>
|