xiaoyong931011
2022-12-01 9b3a67db63c2a51c1e97501b9e73f792a5f55bf8
src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -75,4 +75,11 @@
        order by id desc
        limit 1
    </select>
    <select id="selectSumAmountByMemberIdAndTypeAndStatus" resultType="java.math.BigDecimal">
        select ifnull(sum(amount), 0) from dapp_fund_flow
        where member_id = #{memberId}
          and type = #{type}
        and status = #{status}
    </select>
</mapper>