xiaoyong931011
2023-08-14 e58bda9eed3e15ca0be919715861a30f75344e2f
src/main/resources/mapper/modules/MallMoneyFlowMapper.xml
@@ -12,7 +12,7 @@
            a.*
        from mall_money_flow a
        <where>
            a.status != null
            a.status is not NULL
            <if test="record.inOrOut == 3">
                and a.amount > 0
            </if>
@@ -139,6 +139,11 @@
        where a.order_no = #{rechargeNo} and a.member_id = #{memberId}
    </select>
    <select id="selectOneByOrderNoAndMemberIdAndRtMemberId" resultType="cc.mrbird.febs.mall.entity.MallMoneyFlow">
        select a.* from mall_money_flow a
        where a.order_no = #{rechargeNo} and a.member_id = #{memberId} and a.rt_member_id = @{rtMemberId}
    </select>
    <select id="selectAmountByFlowtypeAndType" resultType="java.math.BigDecimal">
        select ifnull(sum(a.amount),0) from mall_money_flow a
        <where>