feat: 支付宝相关支付
parent
6eaa2f70b5
commit
9764afb6bd
|
@ -1408,7 +1408,9 @@ public class StoreOrderServiceImpl extends ServiceImpl<StoreOrderMapper, StoreOr
|
|||
if (!CollectionUtils.isEmpty(infoDOS)) {
|
||||
Map<Long, List<PhoneRecordDO>> collect1 = infoDOS.stream().collect(Collectors.groupingBy(PhoneRecordDO::getRechargeGearId));
|
||||
orderInfos.forEach(info -> {
|
||||
Assert.isTrue(CollectionUtils.isEmpty(collect1.get(info.getGearId())), "该挡位:" + info.getName() + "你已购买,请勿重复操作");
|
||||
if (!CollectionUtils.isEmpty(collect1.get(info.getGearId()))) {
|
||||
throw new ServiceException("该挡位:" + info.getName() + "你已购买,请勿重复操作");
|
||||
}
|
||||
});
|
||||
}
|
||||
if (StringUtils.isNotBlank(request.getUserPhone()) && StringUtils.isNotBlank(request.getConfirmPhone())) {
|
||||
|
|
Loading…
Reference in New Issue