src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -188,4 +188,13 @@ and type = #{type} and status = 2 </select> <select id="selectListByTypeAndDate" resultType="cc.mrbird.febs.dapp.entity.DappFundFlowEntity"> select member_id as memberId,ifnull(sum(amount), 0) as amount from dapp_fund_flow where date_format(create_time, '%Y-%m-%d') = date_format(#{dateStr}, '%Y-%m-%d') and type = #{type} and status = 2 group by member_id </select> </mapper>