物料添加字段;

This commit is contained in:
王奎兴
2026-06-16 09:25:32 +08:00
parent 230f17803d
commit 7ff8a2f108
8 changed files with 66 additions and 6 deletions
@@ -74,5 +74,12 @@ public class MaterialClassify extends BaseVOEntity{
@Excel(name = "是否作废: 1-否 2-是")
private Integer nullify;
@ApiModelProperty("收费标准")
@Excel(name = "收费标准")
private String chargeStandard;
}
@ApiModelProperty("单位")
@Excel(name = "单位")
private String unit;
}
@@ -25,11 +25,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="updateBy" column="update_by" />
<result property="updateByName" column="update_by_name" />
<result property="delFlag" column="del_flag" />
<result property="chargeStandard" column="charge_standard" />
<result property="unit" column="unit" />
</resultMap>
<sql id="selectMaterialClassifyPo">
select material_classify_id, organization_id, organization_name, top_organization_id, code, name, level, parent_code, parent_name, code_path, name_path, remark, nullify, create_time, create_by, create_by_name, update_time, update_by, update_by_name, del_flag from material_classify
select material_classify_id, organization_id, organization_name, top_organization_id, code, name, level, parent_code,
parent_name, code_path, name_path, remark, nullify, create_time, create_by, create_by_name, update_time, update_by,
update_by_name, del_flag,CHARGE_STANDARD,unit
from material_classify
</sql>
<sql id="selectMaterialClassifyPo1">
@@ -258,4 +258,13 @@ public class MaterialBaseInfoDTO extends BaseVOEntity {
@ApiModelProperty("是否抄码: 1-是 2-否")
@Excel(name = "是否抄码: 1-是 2-否")
private Integer copyCode;
@ApiModelProperty("保额")
@Excel(name = "保额")
private BigDecimal insureAmount;
@ApiModelProperty(name = "收费标准")
private String chargeStandard;
@ApiModelProperty(name = "单位")
private String unit;
}
@@ -227,4 +227,14 @@ public class MaterialBaseInfo extends BaseVOEntity {
@Excel(name = "毛重(kg")
private BigDecimal grossWeight;
}
@ApiModelProperty("保额")
@Excel(name = "保额")
private BigDecimal insureAmount;
@ApiModelProperty(name = "收费标准")
private String chargeStandard;
@ApiModelProperty(name = "单位")
private String unit;
}
@@ -274,5 +274,13 @@ public class MaterialBaseInfoPO extends BaseVOEntity {
@ApiModelProperty(name = "推送人名称")
private String pushByName;
@ApiModelProperty("保额")
@Excel(name = "保额")
private BigDecimal insureAmount;
@ApiModelProperty(name = "收费标准")
private String chargeStandard;
@ApiModelProperty(name = "单位")
private String unit;
}
@@ -250,4 +250,13 @@ public class MaterialBaseInfoDO extends BaseVOEntity {
@ApiModelProperty("更新时间止")
private String updateTimeEnd;
}
@ApiModelProperty("保额")
@Excel(name = "保额")
private BigDecimal insureAmount;
@ApiModelProperty(name = "收费标准")
private String chargeStandard;
@ApiModelProperty(name = "单位")
private String unit;
}
@@ -302,4 +302,13 @@ public class MaterialBaseInfoDTO extends BaseVOEntity {
@ApiModelProperty(name = "推送人名称")
private String pushByName;
}
@ApiModelProperty("保额")
@Excel(name = "保额")
private BigDecimal insureAmount;
@ApiModelProperty(name = "收费标准")
private String chargeStandard;
@ApiModelProperty(name = "单位")
private String unit;
}
@@ -64,6 +64,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="pushBy" column="push_by" />
<result property="grossWeight" column="gross_weight" />
<result property="pushByName" column="push_by_name" />
<result property="unit" column="unit" />
<result property="insureAmount" column="insure_amount" />
<result property="chargeStandard" column="charge_standard" />
</resultMap>
@@ -72,7 +75,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
material_classify_name, a.material_type, a.material_type_name, a.pack_id, a.pack_code, a.pack_name, a.unit_code, a.unit_name, a.brand_id, a.brand_code, a.brand_name, a.shelf_life, a.weight_limit, a.volume_limit, a.material_shape,
material_shape_name, a.material_size, a.material_length, a.material_width, a.material_height, a.remark, a.nullify, a.create_time, a.create_by, a.create_by_name, a.update_time, a.update_by, a.update_by_name, a.del_flag, a.common,
sku_code, a.unit_price, a.currency, a.origin_country, a.hs_code, a.declaration_unit, a.statutory_unit, a.statutory_second_unit, a.copy_code,
a.push_status,a.push_time,a.push_by,a.goods_type,a.gross_weight,a.push_by_name,
a.push_status,a.push_time,a.push_by,a.goods_type,a.gross_weight,a.push_by_name,a.unit,a.INSURE_AMOUNT,a.CHARGE_STANDARD,
specification_model as specification_model,nvl(b.stock_qty,0) as stock_quantity from material_base_info a left join (
select material_base_info_id, sum(INVENTORY_QUANTITY) as stock_qty from MATERIAL_INVENTORY group by material_base_info_id
) b on a.material_base_info_id = b.material_base_info_id