refactor(crm): 修改订单项目字段数据类型并新增表面质量属性
- 将宽度公差、厚度公差字段从 BigDecimal 类型改为 String 类型 - 将宽度、厚度字段从 BigDecimal 类型改为 String 类型 - 新增表面质量(surfaceQuality)字段及相应 getter/setter 方法 - 更新数据库映射文件添加表面质量字段映射 - 修改查询条件构建逻辑适配字符串类型字段判空 - 更新 Excel 导入导出配置适配新的数据类型
This commit is contained in:
@@ -72,11 +72,15 @@ public class CrmOrderItem extends BaseEntity {
|
||||
/**
|
||||
* 宽度公差
|
||||
*/
|
||||
private BigDecimal widthTolerance;
|
||||
private String widthTolerance;
|
||||
/**
|
||||
* 厚度公差
|
||||
*/
|
||||
private BigDecimal thicknessTolerance;
|
||||
private String thicknessTolerance;
|
||||
/**
|
||||
* 表面质量
|
||||
*/
|
||||
private String surfaceQuality;
|
||||
/**
|
||||
* 合同定价
|
||||
*/
|
||||
@@ -108,11 +112,11 @@ public class CrmOrderItem extends BaseEntity {
|
||||
/**
|
||||
* 宽度
|
||||
*/
|
||||
private BigDecimal width;
|
||||
private String width;
|
||||
/**
|
||||
* 厚度
|
||||
*/
|
||||
private BigDecimal thickness;
|
||||
private String thickness;
|
||||
/**
|
||||
* 用途
|
||||
*/
|
||||
|
||||
@@ -81,12 +81,17 @@ public class CrmOrderItemBo extends BaseEntity {
|
||||
/**
|
||||
* 宽度公差
|
||||
*/
|
||||
private BigDecimal widthTolerance;
|
||||
private String widthTolerance;
|
||||
|
||||
/**
|
||||
* 厚度公差
|
||||
*/
|
||||
private BigDecimal thicknessTolerance;
|
||||
private String thicknessTolerance;
|
||||
|
||||
/**
|
||||
* 表面质量
|
||||
*/
|
||||
private String surfaceQuality;
|
||||
|
||||
/**
|
||||
* 合同定价
|
||||
@@ -126,12 +131,12 @@ public class CrmOrderItemBo extends BaseEntity {
|
||||
/**
|
||||
* 宽度
|
||||
*/
|
||||
private BigDecimal width;
|
||||
private String width;
|
||||
|
||||
/**
|
||||
* 厚度
|
||||
*/
|
||||
private BigDecimal thickness;
|
||||
private String thickness;
|
||||
|
||||
/**
|
||||
* 用途
|
||||
|
||||
@@ -99,13 +99,19 @@ public class CrmOrderItemVo {
|
||||
* 宽度公差
|
||||
*/
|
||||
@ExcelProperty(value = "宽度公差")
|
||||
private BigDecimal widthTolerance;
|
||||
private String widthTolerance;
|
||||
|
||||
/**
|
||||
* 厚度公差
|
||||
*/
|
||||
@ExcelProperty(value = "厚度公差")
|
||||
private BigDecimal thicknessTolerance;
|
||||
private String thicknessTolerance;
|
||||
|
||||
/**
|
||||
* 表面质量
|
||||
*/
|
||||
@ExcelProperty(value = "表面质量")
|
||||
private String surfaceQuality;
|
||||
|
||||
/**
|
||||
* 合同定价
|
||||
@@ -153,13 +159,13 @@ public class CrmOrderItemVo {
|
||||
* 宽度
|
||||
*/
|
||||
@ExcelProperty(value = "宽度")
|
||||
private BigDecimal width;
|
||||
private String width;
|
||||
|
||||
/**
|
||||
* 厚度
|
||||
*/
|
||||
@ExcelProperty(value = "厚度")
|
||||
private BigDecimal thickness;
|
||||
private String thickness;
|
||||
|
||||
/**
|
||||
* 用途
|
||||
|
||||
Reference in New Issue
Block a user