xiaoyong931011
2020-07-19 340b56f18d298b8ada85e3f5b8a14e1d5556a762
src/main/resources/mapper/modules/MemberMapper.xml
@@ -33,6 +33,38 @@
        order by m.create_time desc
    </select>
    
    <select id="findMemberAloneInPage" resultType="com.xcong.excoin.modules.member.entity.MemberEntity">
        SELECT
         *
      FROM
         member m
      LEFT JOIN member_authentication a ON m.id = a.member_id
        <where>
           FIND_IN_SET('22015141', m.referer_ids)
            <if test="record != null" >
                <if test="record.startTime!=null">
                    and m.create_time >=#{record.startTime}
                </if>
                <if test="record.endTime!=null">
                    and #{record.endTime} >= m.create_time
                </if>
                <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.accountStatus!=null">
                    and m.account_status = #{record.accountStatus}
                </if>
                <if test="record.accountType != null" >
                    and m.account_type = #{record.accountType}
                </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="findMemberAccountInfoListInPage" resultType="com.xcong.excoin.modules.trademanage.vo.MemberAccountInfoVo">
      SELECT
         m.id,