| | |
| | | ORDER BY s.create_time DESC |
| | | </select> |
| | | |
| | | <select id="selectGbzOrderEntitysInPage" resultType="com.xcong.excoin.modules.trademanage.entity.GbzOrderEntity"> |
| | | SELECT |
| | | *, |
| | | CONCAT(first_name, second_name) realName |
| | | FROM |
| | | gbz_order s |
| | | LEFT JOIN member m ON m.id = s.member_id |
| | | LEFT JOIN member_authentication a ON a.member_id = s.member_id |
| | | <where> |
| | | <if test="record != null" > |
| | | <if test="record.account!=null and record.account!=''"> |
| | | and (m.phone like concat("%",#{record.account},"%") or m.email like concat("%",#{record.account},"%") or m.invite_id=#{record.account}) |
| | | </if> |
| | | |
| | | <if test="record.status!=null and record.status!=''"> |
| | | and s.status = #{record.status} |
| | | </if> |
| | | </if> |
| | | </where> |
| | | ORDER BY s.create_time DESC |
| | | </select> |
| | | |
| | | |
| | | </mapper> |