删除bom表中的parent_type和parent_id然后修改对应的CRUD

This commit is contained in:
2025-07-29 13:35:41 +08:00
parent 620d16fcb0
commit c60b25538e
7 changed files with 5 additions and 40 deletions

View File

@@ -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=是)
*/

View File

@@ -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=是)
*/

View File

@@ -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=是)
*/