fix
wzy
2022-08-27 0e4e3172a8379381edf2f8047243a3a75214e09d
src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -22,7 +22,7 @@
                and a.member_id=#{record.memberId}
            </if>
        </where>
        order by a.create_time desc
        order by a.create_time desc, a.id desc
    </select>
    <select id="selectListForMemberAndDay" resultType="cc.mrbird.febs.dapp.entity.DappFundFlowEntity">
@@ -63,4 +63,9 @@
                 group by type
            ) a
    </select>
    <select id="selectProfitAmountByMemberId" resultType="java.math.BigDecimal">
        select ifnull(sum(amount), 0) from dapp_fund_flow
        where member_id=#{memberId} and type in (2,3)
    </select>
</mapper>