|
@@ -284,6 +284,8 @@ public class AccountPaymentServiceImpl extends ServiceImpl<AccountPaymentMapper,
|
|
|
*/
|
|
|
private void addAccountRunningWater(AccountPaymentDto accountPaymentDto, AccountPaymentRecords accountPaymentRecords) {
|
|
|
|
|
|
+ AccountPayment dataBaseAp = this.getById(accountPaymentDto.getId());
|
|
|
+
|
|
|
AccountRunningWater accountRunningWater = new AccountRunningWater();
|
|
|
accountRunningWater.setCompanyId(SecurityUtils.getCompanyId());
|
|
|
|
|
@@ -301,6 +303,10 @@ public class AccountPaymentServiceImpl extends ServiceImpl<AccountPaymentMapper,
|
|
|
accountRunningWater.setAccountPaymentRecordsId(accountPaymentRecords.getId());
|
|
|
//添加流水类型
|
|
|
accountRunningWater.setType("10");
|
|
|
+
|
|
|
+ //赋值费控id
|
|
|
+ accountRunningWater.setCostControlId(dataBaseAp.getCostControlId());
|
|
|
+
|
|
|
accountRunningWaterService.save(accountRunningWater);
|
|
|
|
|
|
}
|