KKSU
2024-05-11 04b73bbb2b20f0c3bef5c8ca94edf97eeb9d0994
src/main/resources/mapper/dapp/DappAccountMoneyChangeDao.xml
@@ -16,4 +16,28 @@
        order by a.create_time desc
    </select>
    <select id="selectMemberMoneyFlowInPage" resultType="cc.mrbird.febs.dapp.vo.MemberMoneyFlowVo">
        select a.*
        from dapp_account_money_change a
        where a.member_id = #{record.id}
        order by a.create_time desc
    </select>
    <select id="getChangeInPageInPage" resultType="cc.mrbird.febs.dapp.entity.DappAccountMoneyChangeEntity">
        select a.*
        from dapp_account_money_change a
        where a.member_id = #{record.memberId}
        and a.type = 3
        order by a.create_time desc
    </select>
    <select id="selectNewOneByMemberId" resultType="cc.mrbird.febs.dapp.entity.DappAccountMoneyChangeEntity">
        select a.*
        from dapp_account_money_change a
        where a.member_id = #{memberId}
          and a.type = 3
        order by a.create_time desc
        limit 1
    </select>
</mapper>