fix: 充值相关

pull/16/head
tangqian 2023-05-26 09:24:36 +08:00
parent ec433d0134
commit 38b5bfde5d
1 changed files with 0 additions and 3 deletions

View File

@ -87,12 +87,9 @@ public class PhoneRecordServiceImpl implements PhoneRecordService {
@TenantIgnore
@Transactional
public Boolean deletePhoneGearByOrderId(Long orderId) {
log.info("-------------------------orderId{}",orderId);
List<PhoneRecordDO> recordDOS = phoneRecordMapper.selectList(Wrappers.<PhoneRecordDO>lambdaQuery().eq(PhoneRecordDO::getRechargeOrderId, orderId));
log.info("-------------------------recordDOS{},{}",recordDOS,recordDOS.size());
if (!CollectionUtils.isEmpty(recordDOS)) {
Set<Long> ids = recordDOS.stream().map(PhoneRecordDO::getId).collect(Collectors.toSet());
log.info("-------------------------ids{}",ids);
phoneRecordMapper.deleteBatchIds(ids);
}
return null;