xiaoyong931011
2023-08-25 65f85a4a2dad6813ffb350d8ea349c81eb47d554
src/main/resources/mapper/dapp/MallAchieveRecordMapper.xml
@@ -44,6 +44,12 @@
        order by CREATE_TIME asc
    </select>
    <select id="selectListCostAmountByMemberId" resultType="cc.mrbird.febs.dapp.entity.MallAchieveRecord">
        select * from mall_achieve_record
        where member_id = #{memberId}
        order by CREATE_TIME asc
    </select>
    <select id="selectAchieveTotalByMemberIdAndCreateTime" resultType="java.math.BigDecimal">
        select IFNULL(sum(IFNULL(amount,0)),0) from mall_achieve_record
        where
@@ -77,7 +83,7 @@
            a.account_type accountType,
            a.create_time createTime
        from dapp_member a
        where a.referrer_id=#{inviteId}
        where a.referer_id=#{inviteId}
    </select>
    <select id="selectCountByInvitedId" resultType="cc.mrbird.febs.dapp.entity.MallAchieveRecord">