zhangshuling пре 1 недеља
родитељ
комит
907b55b701

+ 1 - 1
ship-module-trade/ship-module-trade-biz/src/main/resources/mapper/order/TradeVisitorMapper.xml

@@ -116,7 +116,7 @@
         select t1.room_model_id,t1.floor,t1.room_id,count(distinct t1.id) num from  trade_visitor t1
         inner join trade_detail t2 on t1.detail_id = t2.id
         inner join trade_refund_detail t3 on t2.id = t3.trade_detail_id
-        where t3.refund_id = #{refundId} and deleted =0
+        where t3.refund_id = #{refundId} and t3.deleted =0
         group by t1.room_model_id,t1.floor,t1.room_id
     </select>
     <select id="selectRoomShipVisitor2"