소스 검색

解决撤销发票时 撤销金额不对bug

y 2 년 전
부모
커밋
3f772dfaa7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/com/ydtech/modules/inv/service/impl/InvAccountIncoiceServiceImpl.java

+ 1 - 1
src/main/java/com/ydtech/modules/inv/service/impl/InvAccountIncoiceServiceImpl.java

@@ -269,7 +269,7 @@ public class InvAccountIncoiceServiceImpl extends ServiceImpl<InvAccountIncoiceM
 
         InvAccount entAccount = invAccountService.getById(enterAccount.getAccountId());
         //新增收入回滚操作
-        List<InvAccountCard> invAccount = quashOutsideTransfer(outAccount, enterAccount, new BigDecimal(enInvAccountIncoice.getInvoiceMoney()),entAccount);
+        List<InvAccountCard> invAccount = quashOutsideTransfer(outAccount, enterAccount, new BigDecimal(enInvAccountIncoice.getPayoutMoney()),entAccount);
         BaseController baseController = new BaseController();
 
         InvAccountOperate invAccountOperate = new InvAccountOperate();