KKSU
2024-02-05 10d71b27f3e10efba9b8fb4c47ddc226ef21a3aa
src/main/resources/mapper/modules/MallMemberMapper.xml
@@ -390,7 +390,7 @@
    </select>
    <select id="selectAchieveBuyByMemberId" resultType="java.math.BigDecimal">
        select sum(IFNULL(a.nft_total, 0))
        select IFNULL(sum(IFNULL(a.nft_total, 0)), 0)
        from mall_product_buy a
             inner join mall_member b on a.member_id=b.ID
        where a.state = 3
@@ -403,7 +403,7 @@
    </select>
    <select id="selectAchieveSellByMemberId" resultType="java.math.BigDecimal">
        select sum(IFNULL(a.nft_total, 0))
        select IFNULL(sum(IFNULL(a.nft_total, 0)), 0)
        from mall_product_sell a
             inner join mall_member b on a.member_id=b.ID
        where a.state = 3