yun-zuoyi
rock.yu 5 years ago
commit 65b26a0696

@ -3859,6 +3859,43 @@ public class MesPcnEnumUtil {
} }
/** /**
* 线-
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PROCESS_INSPECTION {
NOT_CREATE(10, "未创建"),
CREATE(20, "创建"),
PROCESS(30, "执行中"),
COMPLETE(40, "完成");
private int value;
private String description;
PROCESS_INSPECTION(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
* *
*/ */
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
@ -5937,4 +5974,58 @@ public class MesPcnEnumUtil {
return tmp; return tmp;
} }
} }
/**
* 线
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PRE_WORK_CENTER_CODE {
OP10("OP10", "OP10"),
OP20A("OP20a", "OP20a"),
OP20B("OP20b", "OP20b");
private String code;
private String description;
PRE_WORK_CENTER_CODE(String code, String description) {
this.code = code;
this.description = description;
}
public String getCode() {
return code;
}
public String getDescription() {
return description;
}
public static PRE_WORK_CENTER_CODE getByCode(String code) {
for (PRE_WORK_CENTER_CODE workCenterCode : values()) {
if (workCenterCode.getCode().equals(code)) {
return workCenterCode;
}
}
return null;
}
public static String codeOfDescription(String code) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].code.equals(code)) {
tmp = values()[i].description;
}
}
return tmp;
}
public static String valueOfDescription(String code) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].code.equals(code)) {
tmp = values()[i].description;
}
}
return tmp;
}
}
} }

@ -39,5 +39,5 @@ public class MesLineFaultRecord extends BaseBean implements Serializable {
@Column(name = "FAULT_TIME") @Column(name = "FAULT_TIME")
@ApiParam("故障时长(分)") @ApiParam("故障时长(分)")
private Double faultTime; private Long faultTime;
} }

@ -1,6 +1,7 @@
package cn.estsh.i3plus.pojo.mes.model; package cn.estsh.i3plus.pojo.mes.model;
import cn.estsh.i3plus.pojo.mes.bean.MesQcCheckData; import cn.estsh.i3plus.pojo.mes.bean.MesQcCheckData;
import cn.estsh.i3plus.pojo.mes.bean.MesQcOrder;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;
import lombok.Data; import lombok.Data;
@ -18,19 +19,19 @@ public class QcCheckDataResultModel {
private Integer isFirstCheck; private Integer isFirstCheck;
@ApiParam("首检结果") @ApiParam("首检结果")
private List<MesQcCheckData> firstCheckResult; private List<MesQcOrder> firstCheckResult;
@ApiParam("是否完成巡检") @ApiParam("是否完成巡检")
private Integer isOnSiteCheck; private Integer isOnSiteCheck;
@ApiParam("巡检结果") @ApiParam("巡检结果")
private List<MesQcCheckData> onSiteCheckResult; private List<MesQcOrder> onSiteCheckResult;
@ApiParam("是否完成尾检") @ApiParam("是否完成尾检")
private Integer isEndCheck; private Integer isEndCheck;
@ApiParam("尾检结果") @ApiParam("尾检结果")
private List<MesQcCheckData> endCheckResult; private List<MesQcOrder> endCheckResult;
public QcCheckDataResultModel() { public QcCheckDataResultModel() {
} }

@ -114,7 +114,7 @@ public class WmsDocMovementDetails extends BaseBean {
@Transient @Transient
@ApiParam(value = "紧急程度") @ApiParam(value = "紧急程度")
private String urgentStatus; private Integer urgentStatus;
@Column(name = "SRC_NO") @Column(name = "SRC_NO")
@ApiParam(value = "源单号") @ApiParam(value = "源单号")

Loading…
Cancel
Save