|
@@ -138,15 +138,12 @@ public class AccountPaymentServiceImpl extends ServiceImpl<AccountPaymentMapper,
|
|
|
this.updateById(accountPaymentDto);
|
|
|
}
|
|
|
|
|
|
- //删除附件
|
|
|
- ObsFileUtil.removeFile(accountPaymentDto.getId());
|
|
|
-
|
|
|
//添加附件信息
|
|
|
ObsFileUtil.saveFile(accountPaymentDto.getFileList(),accountPaymentDto.getId());
|
|
|
|
|
|
//修改账户-余额表的中余额
|
|
|
accountRemainder.setRemainder( accountRemainder.getRemainder().subtract(accountPaymentDto.getAmount()));
|
|
|
- accountRemainderService.updateById(accountRemainder);
|
|
|
+ accountRemainderService.add(accountRemainder);
|
|
|
}
|
|
|
|
|
|
@Override
|