...
|
...
|
@@ -1096,8 +1096,7 @@ public class PaymentServiceImpl implements IPaymentService { |
|
|
|
|
|
// 获取支付成功记录
|
|
|
OrdersPay ordersPay = ordersPayMapper.selectOrdersPay(orderInfo.getOrderCode(), orderInfo.getUid());
|
|
|
|
|
|
throwServiceExceptionIf(!ObjectUtils.allNotNull(ordersPay, ordersPay.getAmount(), ordersPay.getPayment()),
|
|
|
throwServiceExceptionIf(Objects.isNull(ordersPay) || Objects.isNull(ordersPay.getAmount()) || Objects.isNull(ordersPay.getPayment()),
|
|
|
exceptionMessage.apply("尚未支付"));
|
|
|
|
|
|
throwServiceExceptionIf(CollectionUtils.isNotEmpty(ordersPayRefundMapper.selectByOrderCode(orderCode)),
|
...
|
...
|
|