xiaoyong931011
2023-04-04 04180c2c2c8bfa97861db34eba19f277b4119d75
src/main/resources/mapper/modules/MallMemberWalletMapper.xml
@@ -144,5 +144,14 @@
        where  star > 0
    </select>
    <update id="addVorCherAmountAndCntById">
        update mall_member_wallet
        <set>
            voucher_amount = voucher_amount + #{voucherAmount},
            voucher_cnt = voucher_cnt - #{voucherCnt},
        </set>
        WHERE id =  #{id}
    </update>
</mapper>