From b78e2a0f1d1ea2abc93c08f1d2eb3b99863026c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E5=85=81=E6=9E=9E?= <3422692813@qq.com> Date: Wed, 16 Oct 2024 14:03:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B010.16?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fleet/service/impl/FleetInfoServiceImpl.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/service/impl/FleetInfoServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/service/impl/FleetInfoServiceImpl.java index c269bbea3..6160fb432 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/service/impl/FleetInfoServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/fleet/service/impl/FleetInfoServiceImpl.java @@ -524,6 +524,15 @@ public class FleetInfoServiceImpl extends ServiceImpl() + .eq(FleetMember::getUserId, allOrderInfo.getUserId())); + fleetMember.setRemainingCreditLimit(fleetMember.getRemainingCreditLimit() + refundMoney); + fleetMember.setUsedCreditLimit(fleetMember.getUsedCreditLimit() - refundMoney); + fleetMember.setUpdateBy(nowAccountInfo.getStaffId().toString()); + fleetMember.setUpdateTime(DateUtil.date()); + //更新余额 + fleetMemberMapper.updateById(fleetMember); //将车队订单表改为退款 fleetConsumeRecord.setOrderStatus("refund"); fleetConsumeRecord.setUpdateTime(DateUtil.date());