src/main/resources/mapper/otc/OtcOrderDao.xml
@@ -101,7 +101,14 @@ </select> <select id="selectByMemberIdAndTargetId" resultType="com.xcong.excoin.modules.otc.vo.ChatOrderVo"> select * from otc_order select order_no orderNo, unit_price unitPrice, coin_amount usdtAmount, total_amount totalAmount, status status, order_type orderType from otc_order where ((member_id=#{memberId} and opposite_member_id=#{targetId}) or (member_id=#{targetId} and opposite_member_id=#{memberId}))