Commit e8d6832d by 崔彦峰

refactor(financialledger): 调整财务台账中的合同方字段命名及查询逻辑

- 将DTO中的partBName、partBIdentityCode、partBContactMobile字段重命名为partAName、partAIdentityCode、partAContactMobile
- 在SQL映射文件中将contract_cert表别名更改为contract_confirm以明确其用途
- 添加评估单编号模糊搜索功能到分页查询条件中
- 修改合同方信息提取逻辑,从销售合同JSON字段中获取甲方信息而非乙方信息
- 在控制器层切换返回对象类型为FinancialLedgerVO并实现DTO到VO的转换
- 添加操作类型字段到评估价格历史记录中以支持不同的业务流程状态
2 parents 35fd022b e7ad588f
......@@ -70,13 +70,13 @@ public class FinancialLedgerDTO implements Serializable {
// ===== 电子合同解析后的甲方字段(Service 填充) =====
@Schema(description = "卖方单位/个人(甲方名称)")
private String partBName;
private String partAName;
@Schema(description = "卖方单位代码/车主身份证号码")
private String partBIdentityCode;
private String partAIdentityCode;
@Schema(description = "电话")
private String partBContactMobile;
private String partAContactMobile;
// ===== 确认交车合同(electronic_contract_type=4)JSON 原文供 Service 解析 =====
......
......@@ -23,13 +23,13 @@ public class FinancialLedgerExcelDTO implements Serializable {
private static final long serialVersionUID = 1L;
@ExcelProperty(value = "卖方单位/个人")
private String partBName;
private String partAName;
@ExcelProperty(value = "卖方单位代码/车主身份证号码")
private String partBIdentityCode;
private String partAIdentityCode;
@ExcelProperty(value = "电话")
private String partBContactMobile;
private String partAContactMobile;
@ExcelProperty(value = "卖方单位地址/个人地址")
private String licenseAddress;
......
......@@ -20,6 +20,12 @@ public class FinancialLedgerPageRequest implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 评估单编号(模糊搜索)
*/
@Schema(description = "评估单编号(模糊搜索)")
private String evalOrderNo;
/**
* 车牌号(模糊搜索)
*/
@Schema(description = "车牌号(模糊搜索)")
......@@ -35,7 +41,7 @@ public class FinancialLedgerPageRequest implements Serializable {
* 买方单位/个人(模糊搜索)
*/
@Schema(description = "买方单位/个人(模糊搜索)")
private String partBName;
private String partAName;
/**
* 入库时间-开始
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!