|
@@ -214,7 +214,7 @@ public class AdditionalPaymentServiceImpl extends ServiceImpl<AdditionalPaymentM
|
|
|
payment.setUndo(1);
|
|
|
// TODO 获取该客户时间倒叙的第一条记录
|
|
|
AdditionalPayment additionalPayment = getAdditionalPaymentOne(additionalPaymentDto.getDistinguish(), additionalPaymentDto.getRelationId(), additionalPaymentDto.getId());
|
|
|
- if (additionalPayment.getId().equals(payment.getId())) {
|
|
|
+ if ( additionalPayment.getId().equals(payment.getId())) {
|
|
|
// TODO 获取客户授信金额
|
|
|
CustomerInfo customerInfo = customerService.getcustomerOne(Long.parseLong(payment.getRelationId()));
|
|
|
|
|
@@ -300,7 +300,7 @@ public class AdditionalPaymentServiceImpl extends ServiceImpl<AdditionalPaymentM
|
|
|
log.info("只有一条账户记录的情况下不能撤销");
|
|
|
throw new BaseException("577", "撤销失败");
|
|
|
}
|
|
|
- return null;
|
|
|
+ throw new BaseException("577","非法的撤销");
|
|
|
}
|
|
|
|
|
|
}
|