feat(credit): 添加当事人信息字段到债务人实体

- 设置plaintiffAppellant字段值
- 设置appellee字段值
- 设置otherPartiesThirdParty字段值
- 支持上游XLS模板中的当事人姓名兼容性处理
This commit is contained in:
2026-02-06 16:49:20 +08:00
parent bdc0acc097
commit a941e4a9ab

View File

@@ -338,6 +338,9 @@ public class CreditJudgmentDebtorController extends BaseController {
if (debtorName != null) {
debtorName = debtorName.trim();
}
entity.setPlaintiffAppellant(param.getPlaintiffAppellant());
entity.setAppellee(param.getAppellee());
entity.setOtherPartiesThirdParty(param.getOtherPartiesThirdParty());
// Some upstream XLS templates store party/company name in "原告/上诉人/被告/第三人" columns.
// When present, use them to populate the debtor "name" for compatibility.
if (hasMeaningfulPartyValue(param.getPlaintiffAppellant())) {