基础信息-物料管理-新增 添加货物类型

This commit is contained in:
zhaoqing
2026-05-09 14:54:27 +08:00
parent 0ca5bed1f9
commit 93d0f258c3
11 changed files with 45 additions and 2 deletions
@@ -389,4 +389,9 @@ public class MaterialBaseInfo extends BaseVOEntity{
@ApiModelProperty("是否抄码: 1-是 2-否")
@Excel(name = "是否抄码: 1-是 2-否")
private Integer copyCode;
@ApiModelProperty("货物类型:0-物料 1-半成品 2-成品")
@Excel(name = "货物类型:0-物料 1-半成品 2-成品")
private Integer goodsType;
}
@@ -365,6 +365,10 @@ public class MaterialBaseInfoPO extends BaseVOEntity{
@Excel(name = "是否抄码: 1-是 2-否")
private Integer copyCode;
@ApiModelProperty("货物类型:0-物料 1-半成品 2-成品")
@Excel(name = "货物类型:0-物料 1-半成品 2-成品")
private Integer goodsType;
@ApiModelProperty("商品规则")
private MaterialGoodsRuleFeign materialGoodsRule;
@@ -385,4 +385,9 @@ public class MaterialBaseInfoDO extends BaseVOEntity{
@ApiModelProperty("是否抄码: 1-是 2-否")
@Excel(name = "是否抄码: 1-是 2-否")
private Integer copyCode;
@ApiModelProperty("货物类型:0-物料 1-半成品 2-成品")
@Excel(name = "货物类型:0-物料 1-半成品 2-成品")
private Integer goodsType;
}
@@ -364,4 +364,9 @@ public class MaterialBaseInfoDTO extends BaseVOEntity{
@ApiModelProperty("是否抄码: 1-是 2-否")
@Excel(name = "是否抄码: 1-是 2-否")
private Integer copyCode;
@ApiModelProperty("货物类型:0-物料 1-半成品 2-成品")
@Excel(name = "货物类型:0-物料 1-半成品 2-成品")
private Integer goodsType;
}
@@ -48,6 +48,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result column="material_unit" property="materialUnit" jdbcType="VARCHAR"/>
<result column="machine_code" property="machineCode" jdbcType="VARCHAR"/>
<result property="copyCode" column="copy_code"/>
<result property="goodsType" column="goods_type"/>
</resultMap>
@@ -55,7 +57,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select material_base_info_id, organization_id, organization_name, top_organization_id, shipper_id, shipper_name, material_code, material_name, bar_code, material_classify_code,
material_classify_name, material_type, material_type_name, pack_id, pack_code, pack_name, unit_code, unit_name, brand_id, brand_code, brand_name, shelf_life, weight_limit,
volume_limit, material_shape, material_shape_name, material_size, material_length, material_width, material_height, remark, nullify, create_time, create_by, create_by_name,
update_time, update_by, update_by_name, del_flag, common,material_model,material_unit,machine_code,sku_code, unit_price, currency, origin_country, hs_code, declaration_unit, statutory_unit, statutory_second_unit, copy_code
update_time, update_by, update_by_name, del_flag, common,material_model,material_unit,machine_code,sku_code, unit_price, currency, origin_country, hs_code, declaration_unit, statutory_unit, statutory_second_unit, copy_code,
goods_type
from material_base_info
</sql>