fix: 充值相关
parent
f1ac990de7
commit
65a76c4efd
|
@ -82,11 +82,14 @@ public class PhoneRecordServiceImpl implements PhoneRecordService {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Boolean deletePhoneGearByOrderId(Long orderId) {
|
public Boolean deletePhoneGearByOrderId(Long orderId) {
|
||||||
|
log.info("-------------------------orderId{}",orderId);
|
||||||
List<PhoneRecordDO> recordDOS = phoneRecordMapper.selectList(Wrappers.<PhoneRecordDO>lambdaQuery().eq(PhoneRecordDO::getRechargeOrderId, orderId));
|
List<PhoneRecordDO> recordDOS = phoneRecordMapper.selectList(Wrappers.<PhoneRecordDO>lambdaQuery().eq(PhoneRecordDO::getRechargeOrderId, orderId));
|
||||||
|
log.info("-------------------------recordDOS{},{}",recordDOS,recordDOS.size());
|
||||||
if (!CollectionUtils.isEmpty(recordDOS)) {
|
if (!CollectionUtils.isEmpty(recordDOS)) {
|
||||||
recordDOS.forEach(e->{
|
recordDOS.forEach(e->{
|
||||||
e.setDeleted(Boolean.TRUE);
|
e.setDeleted(Boolean.TRUE);
|
||||||
phoneRecordMapper.updateById(e);
|
int i = phoneRecordMapper.updateById(e);
|
||||||
|
log.info("-------------------------i{}---------------------",i);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue