Merge remote-tracking branch 'origin/test' into test

yun-zuoyi
钮海涛 5 years ago
commit 1842d1de7c

@ -75,7 +75,7 @@ public class AndonBoardModel implements Serializable {
private String color;
@ApiParam("停线时间比率")
private Integer downtimeRate;
private String downtimeRate;
public int getTotalTimeVal() {
return totalTime == null ? 0 : totalTime;

@ -6028,4 +6028,39 @@ public class MesPcnEnumUtil {
return tmp;
}
}
/**
* JIS_BACKFLUSH = REPAIR =
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum JIS_BACKFLUSH_STATUS {
BACKFLUSH("BACKFLUSH", "正常回冲扣减"),
REPAIR("REPAIR", "返修冲料");
private String value;
private String description;
JIS_BACKFLUSH_STATUS(String value, String description) {
this.value = value;
this.description = description;
}
public String getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(String val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
}

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

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

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

@ -356,9 +356,10 @@ public class QueueOrderModel implements Serializable {
}
// getQueueOrderBySerialNumber
public QueueOrderModel(Long id, String queueGroupNo, String jitLotNo, String vinCode, String organizeCode, String produceCategoryCode, String workType,
public QueueOrderModel(Long id, String orderNo, String queueGroupNo, String jitLotNo, String vinCode, String organizeCode, String produceCategoryCode, String workType,
String partNo, String prodCfgTypeCode) {
this.id = id;
this.orderNo = orderNo;
this.queueGroupNo = queueGroupNo;
this.jitLotNo = jitLotNo;
this.vinCode = vinCode;

@ -41,6 +41,10 @@ public class MgnBjBoardModel implements Serializable {
private Integer onceQualityRate = 0;
@ApiParam("待生产订单数量")
private Integer waitProduceQty = 0;
@ApiParam("低于安全库存")
private Integer minStockQty;
@ApiParam("超出最大库存")
private Integer maxStockQty;
@ApiParam(value = "显示颜色")
private String color;

@ -437,7 +437,7 @@ public class MesPcnHqlPack {
DdlPreparedPack.getStringLikerPack(mesPackage.getWorkCenterCode(), "workCenterCode", packBean);
}
DdlPreparedPack.getStringLikerPack(mesPackage.getLotNo(), "lotNo", packBean);
DdlPreparedPack.getStringLikerPack(mesPackage.getFixLotNo(), "fixLotNo", packBean);
// 时间段查询
DdlPreparedPack.timeBuilder(

Loading…
Cancel
Save