From 65a76c4efdc938cf29bdd9338cfe83b9af26d968 Mon Sep 17 00:00:00 2001 From: tangqian Date: Thu, 25 May 2023 18:05:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=85=E5=80=BC=E7=9B=B8=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/shop/service/recharge/PhoneRecordServiceImpl.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/recharge/PhoneRecordServiceImpl.java b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/recharge/PhoneRecordServiceImpl.java index 2fef75a26..e10907369 100644 --- a/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/recharge/PhoneRecordServiceImpl.java +++ b/yudao-module-mall/yudao-module-shop-biz/src/main/java/cn/iocoder/yudao/module/shop/service/recharge/PhoneRecordServiceImpl.java @@ -82,11 +82,14 @@ public class PhoneRecordServiceImpl implements PhoneRecordService { @Override public Boolean deletePhoneGearByOrderId(Long orderId) { + log.info("-------------------------orderId{}",orderId); List recordDOS = phoneRecordMapper.selectList(Wrappers.lambdaQuery().eq(PhoneRecordDO::getRechargeOrderId, orderId)); + log.info("-------------------------recordDOS{},{}",recordDOS,recordDOS.size()); if (!CollectionUtils.isEmpty(recordDOS)) { recordDOS.forEach(e->{ e.setDeleted(Boolean.TRUE); - phoneRecordMapper.updateById(e); + int i = phoneRecordMapper.updateById(e); + log.info("-------------------------i{}---------------------",i); }); } return null;