删除bom表中的parent_type和parent_id然后修改对应的CRUD
This commit is contained in:
@@ -32,14 +32,6 @@ public class WmsBom extends BaseEntity {
|
||||
* BOM 名称(可选)
|
||||
*/
|
||||
private String bomName;
|
||||
/**
|
||||
* 所属类型: PRODUCT 或 RAW_MATERIAL
|
||||
*/
|
||||
private String parentType;
|
||||
/**
|
||||
* 对应 wms_product.product_id 或 wms_raw_material.raw_material_id
|
||||
*/
|
||||
private Long parentId;
|
||||
/**
|
||||
* 是否启用(0=否,1=是)
|
||||
*/
|
||||
|
||||
@@ -32,16 +32,6 @@ public class WmsBomBo extends BaseEntity {
|
||||
*/
|
||||
private String bomName;
|
||||
|
||||
/**
|
||||
* 所属类型: PRODUCT 或 RAW_MATERIAL
|
||||
*/
|
||||
private String parentType;
|
||||
|
||||
/**
|
||||
* 对应 wms_product.product_id 或 wms_raw_material.raw_material_id
|
||||
*/
|
||||
private Long parentId;
|
||||
|
||||
/**
|
||||
* 是否启用(0=否,1=是)
|
||||
*/
|
||||
|
||||
@@ -39,19 +39,6 @@ public class WmsBomVo {
|
||||
@ExcelDictFormat(readConverterExp = "可=选")
|
||||
private String bomName;
|
||||
|
||||
/**
|
||||
* 所属类型: PRODUCT 或 RAW_MATERIAL
|
||||
*/
|
||||
@ExcelProperty(value = "所属类型: PRODUCT 或 RAW_MATERIAL", converter = ExcelDictConvert.class)
|
||||
@ExcelDictFormat(dictType = "stock_item_type")
|
||||
private String parentType;
|
||||
|
||||
/**
|
||||
* 对应 wms_product.product_id 或 wms_raw_material.raw_material_id
|
||||
*/
|
||||
@ExcelProperty(value = "对应 wms_product.product_id 或 wms_raw_material.raw_material_id")
|
||||
private Long parentId;
|
||||
|
||||
/**
|
||||
* 是否启用(0=否,1=是)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user