xiaoyong931011
2022-11-18 4ccaaf3dccbd8ad40f093dab238f51d350f15a43
src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
@@ -61,4 +61,14 @@
    </select>
    <select id="selectTotalAmountByMemberIdAndType" resultType="java.math.BigDecimal">
        SELECT
        IFNULL(sum(amount),0)
        FROM
        member_coin_withdraw
        WHERE
        is_inside = #{inside}
        and member_id = #{memberId}
    </select>
</mapper>