MES:物料信息增加批次数量和绑定标识字段
master
xs 6 months ago
parent 4ecb79a0d2
commit 72733213bb

@ -57,6 +57,10 @@ public class MesBaseMaterialInfo extends BaseEntity
@Excel(name = "批次标识,(0否1是)") @Excel(name = "批次标识,(0否1是)")
private String batchFlag; private String batchFlag;
/** 批次数量例如一袋螺丝有60个 */
@Excel(name = "批次数量例如一袋螺丝有60个")
private BigDecimal batchAmount;
/** 计量单位ID;对应FBaseUnitId */ /** 计量单位ID;对应FBaseUnitId */
@Excel(name = "计量单位ID;对应FBaseUnitId") @Excel(name = "计量单位ID;对应FBaseUnitId")
private Long materialUnitId; private Long materialUnitId;
@ -81,6 +85,10 @@ public class MesBaseMaterialInfo extends BaseEntity
@Excel(name = "毛重;FGROSSWEIGHT") @Excel(name = "毛重;FGROSSWEIGHT")
private BigDecimal grossWeight; private BigDecimal grossWeight;
/** 绑定标识(1是0否),如果需要绑定,则需要将销售订单绑定具体的采购订单明细 */
@Excel(name = "绑定标识(1是0否),如果需要绑定,则需要将销售订单绑定具体的采购订单明细")
private String bindFlag;
/** 所属工厂关联mes_base_factory_info的factory_id */ /** 所属工厂关联mes_base_factory_info的factory_id */
@Excel(name = "所属工厂关联mes_base_factory_info的factory_id") @Excel(name = "所属工厂关联mes_base_factory_info的factory_id")
private Long factoryId; private Long factoryId;
@ -206,6 +214,15 @@ public class MesBaseMaterialInfo extends BaseEntity
{ {
return batchFlag; return batchFlag;
} }
public BigDecimal getBatchAmount() {
return batchAmount;
}
public void setBatchAmount(BigDecimal batchAmount) {
this.batchAmount = batchAmount;
}
public void setMaterialUnitId(Long materialUnitId) public void setMaterialUnitId(Long materialUnitId)
{ {
this.materialUnitId = materialUnitId; this.materialUnitId = materialUnitId;
@ -260,6 +277,15 @@ public class MesBaseMaterialInfo extends BaseEntity
{ {
return grossWeight; return grossWeight;
} }
public String getBindFlag() {
return bindFlag;
}
public void setBindFlag(String bindFlag) {
this.bindFlag = bindFlag;
}
public void setFactoryId(Long factoryId) public void setFactoryId(Long factoryId)
{ {
this.factoryId = factoryId; this.factoryId = factoryId;

@ -15,12 +15,14 @@
<result property="materialTypeId" column="material_type_id"/> <result property="materialTypeId" column="material_type_id"/>
<result property="materialTypeName" column="material_type_name"/> <result property="materialTypeName" column="material_type_name"/>
<result property="batchFlag" column="batch_flag"/> <result property="batchFlag" column="batch_flag"/>
<result property="batchAmount" column="batch_amount" />
<result property="materialUnitId" column="material_unit_id"/> <result property="materialUnitId" column="material_unit_id"/>
<result property="materialUnit" column="material_unit"/> <result property="materialUnit" column="material_unit"/>
<result property="materialMatkl" column="material_matkl"/> <result property="materialMatkl" column="material_matkl"/>
<result property="materialSpec" column="material_spec"/> <result property="materialSpec" column="material_spec"/>
<result property="netWeight" column="net_weight"/> <result property="netWeight" column="net_weight"/>
<result property="grossWeight" column="gross_weight"/> <result property="grossWeight" column="gross_weight"/>
<result property="bindFlag" column="bind_flag" />
<result property="factoryId" column="factory_id"/> <result property="factoryId" column="factory_id"/>
<result property="createOrgId" column="create_org_id"/> <result property="createOrgId" column="create_org_id"/>
<result property="useOrgId" column="use_org_id"/> <result property="useOrgId" column="use_org_id"/>
@ -207,6 +209,8 @@
<if test="updateTime != null">update_time = #{updateTime},</if> <if test="updateTime != null">update_time = #{updateTime},</if>
<if test="approveDate != null">approve_date = #{approveDate},</if> <if test="approveDate != null">approve_date = #{approveDate},</if>
<if test="erpModifyDate != null">erp_modify_date = #{erpModifyDate},</if> <if test="erpModifyDate != null">erp_modify_date = #{erpModifyDate},</if>
<if test="bindFlag != null">bind_flag = #{bindFlag},</if>
<if test="batchAmount != null">batch_amount = #{batchAmount},</if>
</trim> </trim>
where material_id = #{materialId} where material_id = #{materialId}
</update> </update>

Loading…
Cancel
Save