feat(credit): 添加原告/上诉人字段支持

- 在CreditUser实体中新增plaintiffAppellant字段用于存储原告/上诉人信息
- 更新CreditUserController中的数据映射逻辑以包含新字段
- 在CreditUserImportParam中添加Excel导入支持和字段映射
- 在CreditUserParam中定义查询参数结构包含新字段
- 新增CreditBankruptcyImportSheetSelectionTest测试类验证多工作表选择逻辑
- 实现破产重整数据导入时优先选择正确工作表的功能
This commit is contained in:
2026-03-03 15:02:05 +08:00
parent f016acda91
commit a4dbe758e3
5 changed files with 115 additions and 0 deletions

View File

@@ -432,6 +432,7 @@ public class CreditUserController extends BaseController {
entity.setRole(param.getRole());
entity.setInfoType(param.getInfoType());
entity.setAddress(param.getAddress());
entity.setPlaintiffAppellant(param.getPlaintiffAppellant());
entity.setProcurementName(param.getProcurementName());
entity.setWinningName(param.getWinningName());
entity.setWinningPrice(param.getWinningPrice());

View File

@@ -39,6 +39,9 @@ public class CreditUser implements Serializable {
@Schema(description = "类型, 0普通用户, 1招投标")
private Integer type;
@Schema(description = "原告/上诉人")
private String plaintiffAppellant;
@Schema(description = "企业角色")
private String role;

View File

@@ -63,6 +63,9 @@ public class CreditUserImportParam implements Serializable {
@Excel(name = "中标金额")
private String winningPrice;
@Excel(name = "原告/上诉人")
private String plaintiffAppellant;
// @Excel(name = "备注")
// private String comments;
//

View File

@@ -102,4 +102,7 @@ public class CreditUserParam extends BaseParam {
@QueryField(type = QueryType.EQ)
private Integer userId;
@Schema(description = "申请人")
private String plaintiffAppellant;
}