完善大号物料字段
This commit is contained in:
parent
38bf3825c7
commit
2ea01a7fff
@ -40,8 +40,8 @@ public class MdItem extends BaseEntity {
|
||||
private Integer attr1;
|
||||
private Integer attr2;
|
||||
/* 预留字段3 - 为空或者0表示普通物料-1表示大物料 */
|
||||
private String attr3;
|
||||
private String attr4;
|
||||
private Integer attr3;
|
||||
private Integer attr4;
|
||||
|
||||
private Long count;
|
||||
|
||||
@ -204,19 +204,19 @@ public class MdItem extends BaseEntity {
|
||||
this.attr2 = attr2;
|
||||
}
|
||||
|
||||
public String getAttr3() {
|
||||
public Integer getAttr3() {
|
||||
return attr3;
|
||||
}
|
||||
|
||||
public void setAttr3(String attr3) {
|
||||
public void setAttr3(Integer attr3) {
|
||||
this.attr3 = attr3;
|
||||
}
|
||||
|
||||
public String getAttr4() {
|
||||
public Integer getAttr4() {
|
||||
return attr4;
|
||||
}
|
||||
|
||||
public void setAttr4(String attr4) {
|
||||
public void setAttr4(Integer attr4) {
|
||||
this.attr4 = attr4;
|
||||
}
|
||||
|
||||
@ -249,9 +249,9 @@ public class MdItem extends BaseEntity {
|
||||
", maxStock=" + maxStock +
|
||||
", highValue='" + highValue + '\'' +
|
||||
", attr1=" + attr1 +
|
||||
", attr2='" + attr2 + '\'' +
|
||||
", attr3='" + attr3 + '\'' +
|
||||
", attr4='" + attr4 + '\'' +
|
||||
", attr2=" + attr2 +
|
||||
", attr3=" + attr3 +
|
||||
", attr4=" + attr4 +
|
||||
", count=" + count +
|
||||
'}';
|
||||
}
|
||||
|
@ -52,6 +52,8 @@
|
||||
high_value,
|
||||
attr1,
|
||||
attr2,
|
||||
attr3,
|
||||
attr4,
|
||||
create_by,
|
||||
create_time,
|
||||
remark
|
||||
@ -323,10 +325,10 @@
|
||||
<if test="attr2 != null">
|
||||
attr2=#{attr2},
|
||||
</if>
|
||||
<if test="attr3 != null and attr3 != 0">
|
||||
<if test="attr3 != null">
|
||||
attr3=#{attr3},
|
||||
</if>
|
||||
<if test="attr4 != null and attr4 != 0">
|
||||
<if test="attr4 != null">
|
||||
attr4=#{attr4},
|
||||
</if>
|
||||
<if test="updateBy != null and updateBy != ''">
|
||||
|
Loading…
Reference in New Issue
Block a user