fix
Helius
2021-12-09 e05d47b1f461f6a37b8c8c68171ac1904d3bae9b
src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
@@ -96,6 +96,6 @@
    </update>
    <select id="selectProfitByDateAndMemberId" resultType="java.math.BigDecimal">
        select sum(a.amount) from mall_money_flow a where member_id=#{memberId} and type in (1,2) and date_format(a.CREATED_TIME, '%Y-%m-%d') = date_format(now(), '%Y-%m-%d');
        select ifnull(sum(a.amount),0) from mall_money_flow a where member_id=#{memberId} and type in (1,2) and date_format(a.CREATED_TIME, '%Y-%m-%d') = date_format(now(), '%Y-%m-%d');
    </select>
</mapper>