zainali5120
2020-10-22 9ba7ce8b330f0f848fc35f33c26cebe62e61af0f
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>