| | |
| | | |
| | | <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> |