feat(crm): 更新订单VO字段并优化SQL查询
- 在CrmOrderVo中移除customerName字段,新增customerCode、contactPerson和address字段 - 修改CrmOrderMapper.xml中的SQL查询语句,为所有字段添加表别名前缀co - 在SQL查询中增加客户编码、联系人和地址字段的映射 - 优化LEFT JOIN语句明确指定关联条件 - 更新SELECT子句字段列表以匹配新的VO结构
This commit is contained in:
@@ -107,7 +107,12 @@ public class CrmOrderVo {
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
//联查客户名称
|
||||
private String customerName;
|
||||
|
||||
// @ExcelProperty(value = "客户编号")
|
||||
private String customerCode;
|
||||
// @ExcelProperty(value = "联系人")
|
||||
private String contactPerson;
|
||||
// @ExcelProperty(value = "地址")
|
||||
private String address;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user