zainali5120
2020-11-11 3250ef061206fa4b7c3a21b4ee3a632f6d320d14
src/main/resources/mapper/walletCoinOrder/OrderCoinsDao.xml
@@ -52,12 +52,13 @@
      a.create_time,
      a.update_by,
      a.update_time,
      a.entrust_price,
      (select sum(symbol_cnt) from coins_order_deal where order_id = a.id) as deal_cnt,
      (select sum(deal_amount) from coins_order_deal where order_id = a.id) as deal_amount
      from coins_order a
      where a.order_status=1
      <if test="list != null">
         and symbol in
         and a.symbol in
         <foreach collection="list" separator="," item="item" open="(" close=")">
            #{item}
         </foreach>