xiaoyong931011
2023-08-16 46dba54a3ce059624df67c97a29e2cc5c25fdc76
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>