KKSU
2024-02-05 10d71b27f3e10efba9b8fb4c47ddc226ef21a3aa
src/main/resources/mapper/modules/MallScoreRecordMapper.xml
@@ -41,4 +41,11 @@
        order by a.created_time desc
    </select>
    <select id="selectSurplusCntByMemberId" resultType="java.math.BigDecimal">
        select
               IFNULL(sum(IFNULL(surplus_cnt,0)),0)
        from mall_score_record
        where member_id = #{memberId}
    </select>
</mapper>