yun-zuoyi
puxiao.liao 5 years ago
commit 7508796daa

@ -6059,52 +6059,6 @@ public class MesEnumUtil {
}
/**
* MES_
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MES_OPTION_TYPE {
OPTION_PART(1, "选配件"),
BOM_DISASSEMBLY(2, "BOM拆解");
private int value;
private String description;
MES_OPTION_TYPE(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;
}
public static Integer descriptionOfValue(String description) {
Integer tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].description.equals(description)) {
tmp = values()[i].value;
}
}
return tmp;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)

@ -4358,52 +4358,6 @@ public class MesPcnEnumUtil {
}
/**
* MES_
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MES_OPTION_TYPE {
OPTION_PART(1, "选配件"),
BOM_DISASSEMBLY(2, "BOM拆解");
private int value;
private String description;
MES_OPTION_TYPE(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;
}
public static Integer descriptionOfValue(String description) {
Integer tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].description.equals(description)) {
tmp = values()[i].value;
}
}
return tmp;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)

@ -53,7 +53,7 @@ public class SparePartsImportModel {
private String custPartNo;
@ApiParam("用量")
private Double qty;
private Integer qty;
@ApiParam("单元格编号")
private Map<String, String> cellNoMap = new HashMap<>();

@ -2246,6 +2246,9 @@ public class MesHqlPack {
if (!StringUtil.isEmpty(mesProduceSnTravel.getOutWorkCenterTimeEnd())) {
DdlPreparedPack.getStringSmallerPack(mesProduceSnTravel.getOutWorkCenterTimeEnd(), "outWorkCenterTime", packBean);
}
if (!StringUtils.isEmpty(mesProduceSnTravel.getWorkCenterCode())) {
DdlPreparedPack.getStringLikerPack(mesProduceSnTravel.getWorkCenterCode(), "workCenterCode", packBean);
}
if (!StringUtils.isEmpty(mesProduceSnTravel.getCreateDateTimeStart()) || !StringUtils.isEmpty(mesProduceSnTravel.getCreateDateTimeEnd())) {
DdlPreparedPack.timeBuilder(
mesProduceSnTravel.getCreateDateTimeStart(),

@ -75,6 +75,10 @@ public class WmsASNMaster extends BaseBean {
@AnnoOutputColumn(refClass = WmsEnumUtil.IS_GENERAL_TASK.class, refForeignKey = "value", value = "description")
public Integer isTask;
@Column(name = "REASON")
@ApiParam(value = "原因", example = "1")
public String reason;
@ApiParam("ASN详情列表")
@Transient
public List<WmsASNMasterDetails> asnMasterDetailsList;

@ -199,6 +199,10 @@ public class WmsPOMaster extends BaseBean {
@ApiParam(value = "部门名称", example = "1")
public Integer departName;
@Column(name = "REASON")
@ApiParam(value = "原因", example = "1")
public String reason;
@Transient
@ApiParam("周总数")
private Integer weekRcCount;

Loading…
Cancel
Save