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

# Conflicts:
#	modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/MesEnumUtil.java
yun-zuoyi
songss 5 years ago
commit 966ed3536b

@ -7590,6 +7590,83 @@ public class MesEnumUtil {
}
/**
* mes
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum QC_CHECK_DATA_SOURCE {
MANUAL_INPUT(10, "10", "人工输入"),
DB(30, "30", "数据库"),
PLC(20, "20", "PLC");
private int value;
private String description;
private String code;
QC_CHECK_DATA_SOURCE(int value, String code, String description) {
this.value = value;
this.description = description;
this.code = code;
}
public int getValue() {
return value;
}
public String getCode() {
return code;
}
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;
}
}
/**
* mes
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum QC_CHECK_VALUE_TYPE {
STRING(10, "字符串"),
INTEGER(20, "数值");
private int value;
private String description;
QC_CHECK_VALUE_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;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)

@ -98,7 +98,7 @@ public class MesQcCheckStandard extends BaseBean implements Serializable {
private String dataSource;
@Column(name = "CHECK_VALUE_TYPE")
@ApiParam("任务单类型")
@ApiParam("检测值类型")
private String checkValueType;
@Column(name = "CHECK_CFG_NO")

@ -57,7 +57,7 @@ public class WmsMessageStyleModel implements Serializable {
} else if (actQty == transQty) {//处理完成
this.odStatus = WmsEnumUtil.MASTER_ORDER_STATUS.RECEIPT_FINISH.getValue();
} else if (transQty < actQty) {//处理中 处理数量可以大于需求数量
this.odStatus = WmsEnumUtil.MASTER_ORDER_STATUS.RECEIPT.getValue();
this.odStatus = WmsEnumUtil.MASTER_ORDER_STATUS.RECEIPT_FINISH.getValue();
}
}
}

@ -112,7 +112,7 @@ public class WmsCSOrderDetails extends BaseBean {
@ApiParam(value = "供应商编码")
public String vendorNo;
@Column(name = "LOT_NO", nullable = false)
@Column(name = "LOT_NO")
@ColumnDefault("")
@ApiParam("收货批次")
public String lotNo = "";

@ -344,6 +344,9 @@ public class WmsDocMovementDetails extends BaseBean {
@ApiParam(value = "子位置号")
private String itemSeqNo;
@ApiParam(value = "最早需求时间")
private String firstTime;
public String getRecommondLot() {
return recommondLot == null ? "无" : this.recommondLot;
}

@ -338,6 +338,14 @@ public class WmsDocMovementMaster extends BaseBean {
@ApiParam(value = "过滤业务类型")
private String filterBusiType;
@Transient
@ApiParam("源存储区代码")
public String srcZoneNo;
@Transient
@ApiParam("目标库位代码")
public String destLocateNo;
public int getOrderStatusVal() {
return this.orderStatus == null ? 0 : this.orderStatus;
}

@ -348,4 +348,13 @@ public class WmsPart extends BaseBean {
this.qty = cqty;
this.createDatetime = createDateTime;
}
public WmsPart(String partNo, String partName, String inLocateNo, String stockUnit, Double snp, String partSpec) {
this.partNo = partNo;
this.partName = partName;
this.inLocateNo = inLocateNo;
this.stockUnit = stockUnit;
this.snp = snp;
this.partSpec = partSpec;
}
}

@ -6,7 +6,7 @@ sonar.projectKey=i3plus.pojo:i3plus-pojo
# defaults to project key
sonar.projectName=i3plus-pojo
# defaults to 'not provided'
sonar.projectVersion=1.0-DEV-SNAPSHOT
sonar.projectVersion=1.0-TEST-SNAPSHOT
# Path is relative to the sonar-project.properties file. Defaults to .
#sonar.sources=./

Loading…
Cancel
Save