Sfoglia il codice sorgente

投保状态筛选条件

ZhangShuling 16 ore fa
parent
commit
0e1b5b3f35

+ 2 - 0
ship-module-trade/ship-module-trade-biz/src/main/java/com/yc/ship/module/trade/controller/admin/order/vo/order/TradeOrderPageReqVO.java

@@ -230,4 +230,6 @@ public class TradeOrderPageReqVO extends PageParam {
 
     private String roomModelId;
     private String floor;
+
+    private Integer isInsure;
 }

+ 3 - 0
ship-module-trade/ship-module-trade-biz/src/main/resources/mapper/order/TradeOrderMapper.xml

@@ -661,6 +661,9 @@
         <if test="vo.floor != null and vo.floor != ''">
             AND torm.floor = #{vo.floor}
         </if>
+        <if test="vo.isInsure != null and vo.isInsure != ''">
+            AND td.is_insure = #{vo.isInsure}
+        </if>
         <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} )
         </if>