KKSU
2024-04-28 673d9890158a00c42a0cb187d7f40b599d272da9
src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -100,6 +100,20 @@
        </if>
    </select>
    <select id="selectAmountTotalByTypeAndMemberIdAndDateAndState" resultType="cc.mrbird.febs.dapp.entity.DappFundFlowEntity">
        select
        *
        from
        dapp_fund_flow
        where
        member_id = #{memberId}
        and type = #{type}
          and status = #{status}
        <if test="date != null">
            and date_format(create_time, '%Y-%m-%d') = date_format(#{date}, '%Y-%m-%d');
        </if>
    </select>
    <select id="findMoneyFlowVos" resultType="cc.mrbird.febs.dapp.vo.MoneyFlowVo">
@@ -131,9 +145,6 @@
            <if test="record.type != null">
                and a.type = #{record.type}
            </if>
            <if test="record.type != null">
                and a.type = #{record.type}
            </if>
            <if test="record.status != null">
                and a.status = #{record.status}
            </if>
@@ -149,4 +160,12 @@
        </where>
        order by a.create_time desc
    </select>
    <select id="memberFundList" resultType="cc.mrbird.febs.dapp.entity.DappMemberFund">
        select
        a.*
        from dapp_member_fund a
        left join dapp_member b on a.member_id = b.id
        order by a.create_time desc
    </select>
</mapper>