给产品表和原料表加入单位字段,变更对应实体类 bo vo和resultMap
This commit is contained in:
@@ -65,6 +65,10 @@ public class WmsProduct extends BaseEntity {
|
||||
* 内径(mm)
|
||||
*/
|
||||
private BigDecimal innerDiameter;
|
||||
/**
|
||||
* 单位
|
||||
*/
|
||||
private String unit;
|
||||
/**
|
||||
* 是否启用(0=否,1=是)
|
||||
*/
|
||||
|
||||
@@ -122,5 +122,9 @@ public class WmsRawMaterial extends BaseEntity {
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
/**
|
||||
* 单位
|
||||
*/
|
||||
private String unit;
|
||||
|
||||
}
|
||||
|
||||
@@ -85,6 +85,11 @@ public class WmsProductBo extends BaseEntity {
|
||||
@NotNull(message = "内径(mm)不能为空", groups = { AddGroup.class, EditGroup.class })
|
||||
private BigDecimal innerDiameter;
|
||||
|
||||
/**
|
||||
* 单位
|
||||
*/
|
||||
private String unit;
|
||||
|
||||
/**
|
||||
* 是否启用(0=否,1=是)
|
||||
*/
|
||||
|
||||
@@ -140,5 +140,10 @@ public class WmsRawMaterialBo extends BaseEntity {
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 单位
|
||||
*/
|
||||
private String unit;
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -89,6 +89,12 @@ public class WmsProductVo {
|
||||
@ExcelDictFormat(readConverterExp = "m=m")
|
||||
private BigDecimal innerDiameter;
|
||||
|
||||
/**
|
||||
* 单位
|
||||
*/
|
||||
@ExcelProperty(value = "单位")
|
||||
private String unit;
|
||||
|
||||
/**
|
||||
* 是否启用(0=否,1=是)
|
||||
*/
|
||||
|
||||
@@ -181,5 +181,11 @@ public class WmsRawMaterialVo {
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
|
||||
/**
|
||||
* 单位
|
||||
*/
|
||||
@ExcelProperty(value = "单位")
|
||||
private String unit;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user