xiaoyong931011
2022-12-01 503b82da73da3b872ac00393cbbf0b74febd73b9
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>