物料增加标准数量字段
This commit is contained in:
parent
b0de1e3f05
commit
05aca8a9af
@ -25,6 +25,8 @@ public class MdItem extends BaseEntity {
|
||||
private String unitOfMeasure;
|
||||
@Excel(name = "单位名称")
|
||||
private String unitName;
|
||||
@Excel(name = "标准数量")
|
||||
private Double standardNumber;
|
||||
private String itemOrProduct;
|
||||
private Long itemTypeId;
|
||||
private String itemTypeCode;
|
||||
@ -102,6 +104,14 @@ public class MdItem extends BaseEntity {
|
||||
this.unitName = unitName;
|
||||
}
|
||||
|
||||
public Double getStandardNumber() {
|
||||
return standardNumber;
|
||||
}
|
||||
|
||||
public void setStandardNumber(Double standardNumber) {
|
||||
this.standardNumber = standardNumber;
|
||||
}
|
||||
|
||||
public String getItemOrProduct() {
|
||||
return itemOrProduct;
|
||||
}
|
||||
@ -217,6 +227,7 @@ public class MdItem extends BaseEntity {
|
||||
", specification='" + specification + '\'' +
|
||||
", modelNumber='" + modelNumber + '\'' +
|
||||
", unitOfMeasure='" + unitOfMeasure + '\'' +
|
||||
", standardNumber='" + standardNumber + '\'' +
|
||||
", itemOrProduct='" + itemOrProduct + '\'' +
|
||||
", itemTypeId=" + itemTypeId +
|
||||
", itemTypeCode='" + itemTypeCode + '\'' +
|
||||
|
@ -11,6 +11,7 @@
|
||||
<result property="modelNumber" column="model_number"/>
|
||||
<result property="unitOfMeasure" column="unit_of_measure"/>
|
||||
<result property="unitName" column="unit_name"/>
|
||||
<result property="standardNumber" column="standard_number"/>
|
||||
<result property="itemOrProduct" column="item_or_product"/>
|
||||
<result property="itemTypeId" column="item_type_id"/>
|
||||
<result property="itemTypeCode" column="item_type_code"/>
|
||||
@ -39,6 +40,7 @@
|
||||
model_number,
|
||||
unit_of_measure,
|
||||
unit_name,
|
||||
standard_number,
|
||||
item_or_product,
|
||||
item_type_id,
|
||||
item_type_code,
|
||||
@ -152,6 +154,9 @@
|
||||
<if test="unitName != null and unitName != ''">
|
||||
unit_name,
|
||||
</if>
|
||||
<if test="standardNumber != null and standardNumber != ''">
|
||||
standard_number,
|
||||
</if>
|
||||
item_or_product,
|
||||
item_type_id,
|
||||
<if test="itemTypeCode != null and itemTypeCode != ''">
|
||||
@ -204,6 +209,9 @@
|
||||
<if test="unitName != null and unitName != ''">
|
||||
#{unitName},
|
||||
</if>
|
||||
<if test="standardNumber != null and standardNumber != ''">
|
||||
#{standardNumber},
|
||||
</if>
|
||||
#{itemOrProduct},
|
||||
#{itemTypeId},
|
||||
<if test="itemTypeCode != null and itemTypeCode != ''">
|
||||
@ -273,6 +281,9 @@
|
||||
<if test="unitName != null and unitName != ''">
|
||||
unit_name = #{unitName},
|
||||
</if>
|
||||
<if test="standardNumber != null and standardNumber != ''">
|
||||
standard_number = #{standardNumber},
|
||||
</if>
|
||||
<if test="itemOrProduct != null and itemOrProduct != ''">
|
||||
item_or_product = #{itemOrProduct},
|
||||
</if>
|
||||
|
Loading…
Reference in New Issue
Block a user