KKSU
2024-08-22 7a372033d44ba48383d9d1bc97e5d583b26a266f
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>