xiaoyong931011
2020-11-30 32be57749006b37eab59916bb5c9823211320df9
src/main/resources/mapper/modules/OrderCoinDealMapper.xml
@@ -4,15 +4,15 @@
   <select id="selectOrderCoinsDealListInPage" resultType="com.xcong.excoin.modules.trademanage.entity.OrderCoinsDealEntity">
      SELECT
         s.*,m.phone,m.email,m.ipo
         s.*,m.phone,m.invite_id,m.email,m.ipo
      FROM
      coins_order_deal s
      LEFT JOIN member m ON m.id = s.member_id
      <where>
      s.order_status = 3
         <if test="record != null" >
                <if test="record.phone!=null and record.phone!=''">
                    and (m.phone like concat("%",#{record.phone},"%") or m.email like concat("%",#{record.phone},"%") or m.invite_id=#{record.phone})
                <if test="record.inviteId!=null and record.inviteId!=''">
                    and ( m.invite_id=#{record.inviteId})
                </if>
            </if>
      </where>