| | |
| | | order by m.create_time desc
|
| | | </select>
|
| | |
|
| | | <select id="findMemberAloneTestInPage" resultType="com.xcong.excoin.modules.member.entity.MemberEntity">
|
| | | SELECT
|
| | | *
|
| | | FROM
|
| | | member m
|
| | | LEFT JOIN member_authentication a ON m.id = a.member_id
|
| | | <where>
|
| | | (m.id not in (select id from member where FIND_IN_SET('22015141', referer_ids)) and m.id != 10)
|
| | | <if test="record != null" >
|
| | | <if test="record.account!=null and record.account!=''">
|
| | | and (m.phone = #{record.account} or m.email = #{record.account} or m.invite_id=#{record.account})
|
| | | </if>
|
| | | <if test="record.isTest!=null and record.isTest!=''">
|
| | | and m.account_type= #{record.isTest}
|
| | | </if>
|
| | | <if test="record.certifyStatus != null and record.certifyStatus!=''">
|
| | | and m.certify_status = #{record.certifyStatus}
|
| | | </if>
|
| | | </if>
|
| | | </where>
|
| | | order by m.create_time desc
|
| | | </select>
|
| | | |
| | | <select id="findMemberListTestInPage" resultType="com.xcong.excoin.modules.member.entity.MemberEntity">
|
| | | SELECT
|
| | | *
|