yun-zuoyi
陈思洁 5 years ago
commit 14f9dbed22

@ -2349,6 +2349,21 @@ public class WmsEnumUtil {
public String getDescription() { public String getDescription() {
return description; return description;
} }
public static String valueOf(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
public static String valueOfDescription(int val) {
return valueOf(val);
}
} }
/** /**

@ -168,4 +168,13 @@ public class IfProductOffLine extends BaseBean implements Serializable {
this.workCenterCode = workCenterCode; this.workCenterCode = workCenterCode;
this.qcStatus = qcStatus; this.qcStatus = qcStatus;
} }
public IfProductOffLine(String workCenterCode, String partNo, String partName, String packageNo, Double itemQty, String createDatetime) {
this.workCenterCode = workCenterCode;
this.partNo = partNo;
this.partName = partName;
this.packageNo = packageNo;
this.itemQty = itemQty;
this.createDatetime = createDatetime;
}
} }

@ -5,6 +5,7 @@ import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode; import lombok.EqualsAndHashCode;
import org.hibernate.annotations.ColumnDefault;
import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate; import org.hibernate.annotations.DynamicUpdate;
@ -69,11 +70,11 @@ public class MesQualityStandard extends BaseBean implements Serializable {
@Column(name = "IS_CONCESSION") @Column(name = "IS_CONCESSION")
@ApiParam("是否允许让步") @ApiParam("是否允许让步")
private String isConcession; private Integer isConcession;
@Column(name = "CHECK_INTERVAL") @Column(name = "CHECK_INTERVAL")
@ApiParam("间隔时间") @ApiParam("间隔时间")
private String checkInterval; private Integer checkInterval = 0;
//个数标识标记那几个数量需要进行检验。使用逗号间隔。如1,2 //个数标识标记那几个数量需要进行检验。使用逗号间隔。如1,2
@Column(name = "NUMBER_FLAG") @Column(name = "NUMBER_FLAG")
@ -99,13 +100,15 @@ public class MesQualityStandard extends BaseBean implements Serializable {
@ApiParam("检验值类型") @ApiParam("检验值类型")
private String checkValueType; private String checkValueType;
@Column(name = "maximum") @Column(name = "MAXIMUM", columnDefinition = "decimal(18,8)")
@ColumnDefault("0")
@ApiParam("公差上限") @ApiParam("公差上限")
private BigDecimal maximum; private Double maximum = 0d;
@Column(name = "minimum") @Column(name = "MINIMUM", columnDefinition = "decimal(18,8)")
@ColumnDefault("0")
@ApiParam("公差下限") @ApiParam("公差下限")
private BigDecimal minimum; private Double minimum = 0d;
@Column(name = "IS_KEY_CHECK_ITEM") @Column(name = "IS_KEY_CHECK_ITEM")
@ApiParam("是否关键检测项") @ApiParam("是否关键检测项")

@ -42,4 +42,7 @@ public class DismantleRecordModel {
@ApiParam("不良集合") @ApiParam("不良集合")
private List<MesDefect> defectList; private List<MesDefect> defectList;
@ApiParam("返修工位标志")
private String repairFlag;
} }

@ -45,10 +45,10 @@ public class MesQualityStandardModel {
private String checkFrequency; private String checkFrequency;
@ApiParam("是否允许让步") @ApiParam("是否允许让步")
private String isConcession; private Integer isConcession;
@ApiParam("间隔时间") @ApiParam("间隔时间")
private String checkInterval; private Integer checkInterval;
//个数标识标记那几个数量需要进行检验。使用逗号间隔。如1,2 //个数标识标记那几个数量需要进行检验。使用逗号间隔。如1,2
@ApiParam("个数标识") @ApiParam("个数标识")
@ -70,10 +70,10 @@ public class MesQualityStandardModel {
private String checkValueType; private String checkValueType;
@ApiParam("公差上限") @ApiParam("公差上限")
private BigDecimal maximum; private Double maximum;
@ApiParam("公差下限") @ApiParam("公差下限")
private BigDecimal minimum; private Double minimum;
@ApiParam("是否关键检测项") @ApiParam("是否关键检测项")
private Integer isKeyCheckItem; private Integer isKeyCheckItem;

@ -12,6 +12,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description BOM * @Description BOM
@ -103,4 +104,15 @@ public class WmsBomTotal extends BaseBean {
public boolean hasChild() { public boolean hasChild() {
return category != null && category.trim().equals(MGANA_BOM_HAS_CHILD); return category != null && category.trim().equals(MGANA_BOM_HAS_CHILD);
} }
/**
*
*/
@Transient
@ApiParam(value = "行数")
private Integer rows;
@Transient
@ApiParam(value = "状态")
private Integer status;
} }

Loading…
Cancel
Save