feat(order): 订单项目实体增加原料规格等新字段
- 将 specRequire 字段重命名为 rawMaterialSpec(原料规格) - 新增 finishedProductSpec 字段(成品规格) - 新增 material 字段(材质) - 新增 grade 字段(等级) - 新增 weight 字段(重量) - 新增 contractPrice 字段(合同定价) - 新增 customizer 字段(定制人) - 新增 shipper 字段(发货人) - 新增 productionBatch 字段(排产批次) - 更新数据库映射配置以支持新字段 - 更新查询条件构造逻辑以包含新字段过滤 - 更新 VO 对象以支持 Excel 导出新字段
This commit is contained in:
@@ -34,9 +34,9 @@ public class CrmOrderItem extends BaseEntity {
|
||||
*/
|
||||
private String productType;
|
||||
/**
|
||||
* 规格要求
|
||||
* 原料规格
|
||||
*/
|
||||
private String specRequire;
|
||||
private String rawMaterialSpec;
|
||||
/**
|
||||
* 产品数量
|
||||
*/
|
||||
@@ -53,10 +53,42 @@ public class CrmOrderItem extends BaseEntity {
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
/**
|
||||
* 成品规格
|
||||
*/
|
||||
private String finishedProductSpec;
|
||||
/**
|
||||
* 材质
|
||||
*/
|
||||
private String material;
|
||||
/**
|
||||
* 等级
|
||||
*/
|
||||
private String grade;
|
||||
/**
|
||||
* 重量
|
||||
*/
|
||||
private BigDecimal weight;
|
||||
/**
|
||||
* 合同定价
|
||||
*/
|
||||
private BigDecimal contractPrice;
|
||||
/**
|
||||
* 定制人
|
||||
*/
|
||||
private String customizer;
|
||||
/**
|
||||
* 发货人
|
||||
*/
|
||||
private String shipper;
|
||||
/**
|
||||
* 排产批次
|
||||
*/
|
||||
private String productionBatch;
|
||||
/**
|
||||
* 删除标识 0正常 2删除
|
||||
*/
|
||||
@TableLogic
|
||||
private Long delFlag;
|
||||
|
||||
}
|
||||
}
|
||||
@@ -34,9 +34,9 @@ public class CrmOrderItemBo extends BaseEntity {
|
||||
private String productType;
|
||||
|
||||
/**
|
||||
* 规格要求
|
||||
* 原料规格
|
||||
*/
|
||||
private String specRequire;
|
||||
private String rawMaterialSpec;
|
||||
|
||||
/**
|
||||
* 产品数量
|
||||
@@ -57,6 +57,46 @@ public class CrmOrderItemBo extends BaseEntity {
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 成品规格
|
||||
*/
|
||||
private String finishedProductSpec;
|
||||
|
||||
/**
|
||||
* 材质
|
||||
*/
|
||||
private String material;
|
||||
|
||||
/**
|
||||
* 等级
|
||||
*/
|
||||
private String grade;
|
||||
|
||||
/**
|
||||
* 重量
|
||||
*/
|
||||
private BigDecimal weight;
|
||||
|
||||
/**
|
||||
* 合同定价
|
||||
*/
|
||||
private BigDecimal contractPrice;
|
||||
|
||||
/**
|
||||
* 定制人
|
||||
*/
|
||||
private String customizer;
|
||||
|
||||
/**
|
||||
* 发货人
|
||||
*/
|
||||
private String shipper;
|
||||
|
||||
/**
|
||||
* 排产批次
|
||||
*/
|
||||
private String productionBatch;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -41,10 +41,10 @@ public class CrmOrderItemVo {
|
||||
private String productType;
|
||||
|
||||
/**
|
||||
* 规格要求
|
||||
* 原料规格
|
||||
*/
|
||||
@ExcelProperty(value = "规格要求")
|
||||
private String specRequire;
|
||||
@ExcelProperty(value = "原料规格")
|
||||
private String rawMaterialSpec;
|
||||
|
||||
/**
|
||||
* 产品数量
|
||||
@@ -71,5 +71,53 @@ public class CrmOrderItemVo {
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 成品规格
|
||||
*/
|
||||
@ExcelProperty(value = "成品规格")
|
||||
private String finishedProductSpec;
|
||||
|
||||
}
|
||||
/**
|
||||
* 材质
|
||||
*/
|
||||
@ExcelProperty(value = "材质")
|
||||
private String material;
|
||||
|
||||
/**
|
||||
* 等级
|
||||
*/
|
||||
@ExcelProperty(value = "等级")
|
||||
private String grade;
|
||||
|
||||
/**
|
||||
* 重量
|
||||
*/
|
||||
@ExcelProperty(value = "重量")
|
||||
private BigDecimal weight;
|
||||
|
||||
/**
|
||||
* 合同定价
|
||||
*/
|
||||
@ExcelProperty(value = "合同定价")
|
||||
private BigDecimal contractPrice;
|
||||
|
||||
/**
|
||||
* 定制人
|
||||
*/
|
||||
@ExcelProperty(value = "定制人")
|
||||
private String customizer;
|
||||
|
||||
/**
|
||||
* 发货人
|
||||
*/
|
||||
@ExcelProperty(value = "发货人")
|
||||
private String shipper;
|
||||
|
||||
/**
|
||||
* 排产批次
|
||||
*/
|
||||
@ExcelProperty(value = "排产批次")
|
||||
private String productionBatch;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user