数据复核

yun-zuoyi
王杰 5 years ago
parent 95f008a602
commit 895eb461ab

@ -13,6 +13,32 @@ import org.apache.commons.lang3.StringUtils;
public class MesPcnEnumUtil {
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PART_CHECK_DATA_TYPE {
ALL_DATA(1, "所有数据"),
LAST_DATA(2, "最后一条数据");
private int value;
private String description;
PART_CHECK_DATA_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)

@ -53,6 +53,14 @@ public class MesPartCheck extends BaseBean implements Serializable {
@ApiParam("记录数量表达式")
private String recordNumSpelExpress;
@Column(name = "DATA_TYPE")
@ApiParam("数据查询类型")
private Integer dataType = 1;
@Column(name = "LIMIT_TIMES")
@ApiParam("限定检测次数")
private Integer limitTimes;
@Column(name = "RECORD_NUM_DESC")
@ApiParam("校验表达式描述")
private String recordNumDesc;

@ -22,6 +22,12 @@ public class DataReviewModel {
@ApiParam("实际数量")
private String realNum;
@ApiParam("限定次数")
private String limitTimes;
@ApiParam("检测次数")
private String checkTimes;
@ApiParam("对象代码")
private String objectCode;
@ -31,6 +37,9 @@ public class DataReviewModel {
@ApiParam("是否合格")
private String reviewResult;
@ApiParam("显示标识")
private String showFlag;
@ApiParam("关键件颜色")
private String keyPartColor;

@ -21,4 +21,7 @@ public class ProductDataCacheModel {
@ApiParam("字段名称")
private List<ProductDataModel> productDataModelList;
@ApiParam("创建时间")
private String createDatetime;
}

Loading…
Cancel
Save