xiaoyong931011
2023-09-14 eeccae86c34ed71a3ebb3d59900def3f2c1f6fe5
src/main/resources/mapper/dapp/MemberCoinWithdrawMapper.xml
@@ -46,4 +46,13 @@
          and a.flow_id = #{flowId}
    </select>
    <select id="selectByMemberIdAndStatus"  resultType="java.math.BigDecimal">
        SELECT
               IFNULL(sum(IFNULL(a.amount, 0)),0)
        FROM
            member_coin_withdraw a
        where a.member_id = #{memberId}
          and a.status = #{status}
    </select>
</mapper>