|
@@ -152,7 +152,7 @@ public class AccountPaymentServiceImpl extends ServiceImpl<AccountPaymentMapper,
|
|
throw new ServiceException("账户余额不足");
|
|
throw new ServiceException("账户余额不足");
|
|
}
|
|
}
|
|
|
|
|
|
- if (ObjectUtil.isNotEmpty(accountPaymentDto.getId())){
|
|
|
|
|
|
+ if (ObjectUtil.isEmpty(accountPaymentDto.getId())){
|
|
this.save(accountPaymentDto);
|
|
this.save(accountPaymentDto);
|
|
}else {
|
|
}else {
|
|
this.updateById(accountPaymentDto);
|
|
this.updateById(accountPaymentDto);
|