fix: 信用卡分期,已入账问题修改。

This commit is contained in:
tianyongbao
2024-07-29 10:29:07 +08:00
parent ecbc861a40
commit 5129517420

View File

@@ -138,7 +138,8 @@ public class InstallmentHistoryDetailServiceImpl implements IInstallmentHistoryD
//1 收入2 支出3 转账4 借贷
creditDeal.setDealType("2");
//分期利息支出
creditDeal.setDealCategory("10");
creditDeal.setDealCategory("14");
creditDeal.setChildCategory("14");
creditDeal.setName(creditAccount.getName()+""+ StringUtils.getLastNumberChars(4,creditAccount.getCode()+""));
creditDeal.setRemark("分期利息");
creditDeal.setCreateBy(SecurityUtils.getUsername());
@@ -161,6 +162,7 @@ public class InstallmentHistoryDetailServiceImpl implements IInstallmentHistoryD
creditDealPrinciple.setDealType("2");
//分期利息支出
creditDealPrinciple.setDealCategory("10");
creditDealPrinciple.setChildCategory("10");
creditDealPrinciple.setName(creditAccount.getName()+""+ StringUtils.getLastNumberChars(4,creditAccount.getCode()+""));
creditDealPrinciple.setRemark("应还本金");
creditDealPrinciple.setCreateBy(SecurityUtils.getUsername());