【add qcMaster新增附件地址字段,basCustomer新增校验次数字段】

yun-zuoyi
jiaqihou 3 years ago
parent 9edb9d33be
commit 374d6596fb

@ -6,15 +6,11 @@ import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.*;
/**
* @Description :
@ -79,6 +75,11 @@ public class BasCustomer extends BaseBean {
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.DATETIME, isRequire = 2)
private Double safetyStock;
@Column(name = "CHECK_NUMBER")
@ApiParam(value = "校验次数")
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
private Integer checkNumber;
public double getSafetyStockVal() {
return this.safetyStock == null ? 0.0d : this.safetyStock;
}

@ -12,12 +12,7 @@ import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.*;
/**
* @Description :
@ -142,6 +137,10 @@ public class WmsQCMaster extends BaseBean {
@ApiParam(value = "收货数量")
public Double qty;
@Column(name = "FILE_PATH",columnDefinition = "longtext")
@ApiParam(value = "附件地址")
public String filePath;
public int getOrderStatusVal() {
return this.orderStatus == null ? 0 : this.orderStatus;
}

Loading…
Cancel
Save