fix
Helius
2022-12-28 bcc66e6d54badf46c576017f131de9aa6b9b2f0c
src/main/resources/mapper/modules/MallMemberStarBuyMapper.xml
@@ -31,4 +31,13 @@
            and member_id = #{memberId}
    </select>
    <select id="selectSumAvaAmountByStatusAndMemberId" resultType="java.math.BigDecimal">
        select
            ifnull(sum(a.ava_amount),0)
        from mall_member_star_buy a
        where
            a.member_id = #{memberId}
          and a.status = #{status}
    </select>
</mapper>