xiaoyong931011
2021-03-02 4348e057d9b2894a533ba116e21216610934eef0
src/main/resources/mapper/modules/MemberCoinWithdrawMapper.xml
@@ -108,16 +108,15 @@
      FROM
         member_coin_withdraw s left join member m on m.id = s.member_id
       <where>
          s.member_id not in (26,187,454)
          s.member_id in (select id from member a where
                 ( FIND_IN_SET(#{record.inviteId}, a.referer_ids) or a.id = #{record.memberId} )
                 <if test="record.isTest != null and record.isTest != '' ">
                     and a.account_type = #{record.isTest}
                 </if>
          )
         <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.isInside!=null and record.isInside!=''">
                    and s.is_inside= #{record.isInside}
                </if>
                <if test="record.isTest!=null and record.isTest!=''">
                    and m.account_type= #{record.isTest}
                </if>
                <if test="record.status!=null and record.status!=''">
                    and s.status= #{record.status}