科目余额表推送有度

This commit is contained in:
yuqh 2025-06-25 14:32:43 +08:00
parent ba5b344b9e
commit 893a3a3c3f
1 changed files with 2 additions and 1 deletions

View File

@ -925,7 +925,8 @@ public class IncomeInvoiceServiceImpl extends BaseService<IncomeInvoiceEntity, S
balanceTable.put("superCode", jsonObject.getString("SUPERCODE"));
balanceTable.put("subjectDir", jsonObject.getString("SUBJECTDIR"));
balanceTable.put("subjectType", jsonObject.getString("SUBJECTTYPE"));
balanceTable.put("subjectLevel", jsonObject.getString("SUBJECTLEVEL"));
int subjectLevel = result.length() - result.replace("_", "").length();
balanceTable.put("subjectLevel", subjectLevel+1);
balanceTable.put("endLevel", jsonObject.getString("ENDLEVEL"));
balanceTable.put("debitValue", jsonObject.getString("DEBITVALUE"));
balanceTable.put("creditValue", jsonObject.getString("CREDITVALUE"));