xiaoyong931011
2021-04-23 92fb3070e7b46a1afd7e6b038f45a9fb37d0eaa3
src/main/resources/mapper/modules/CoinMapper.xml
@@ -30,7 +30,7 @@
                b.symbol symbol,
                b.create_time createTime
            from member a
            inner join member_coin_charge b on a.id=b.member_id and b.status=2
            inner join member_coin_charge b on a.id=b.member_id --and b.status=3
            where find_in_set(#{record.refererId}, a.referer_ids)
            <if test="record.account!=null and record.account!=''">
                and (a.phone=#{record.account} or a.email=#{record.account} or a.invite_id=#{record.account})
@@ -67,7 +67,7 @@
                b.symbol symbol,
                b.create_time createTime
            from member a
            inner join member_coin_withdraw b on a.id=b.member_id and b.status=2
            inner join member_coin_withdraw b on a.id=b.member_id --and b.status=2
            where find_in_set(#{record.refererId}, a.referer_ids)
            <if test="record.account!=null and record.account!=''">
                and (a.phone=#{record.account} or a.email=#{record.account} or a.invite_id=#{record.account})