Merge branch 'dev' of jhforever.wang/wangjie-i3plus-pojo into dev

yun-zuoyi
王杰 5 years ago committed by nancy.li
commit 231345c135

@ -13,6 +13,41 @@ import org.apache.commons.lang3.StringUtils;
public class MesPcnEnumUtil {
/**
* -
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MONITOR_TASK_DETAIL_COLLECT_TYPE {
SELF_ADDITION(10, "自增列"),
FEED_FIELD(20, "反馈字段");
private int value;
private String description;
MONITOR_TASK_DETAIL_COLLECT_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;
}
}
/**
* JIS
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)

@ -70,6 +70,14 @@ public class MesDataObject extends BaseBean implements Serializable {
@ApiParam("自增列值")
private Long selfAdditionValue;
@Column(name = "ORDER_BY_FIELD")
@ApiParam("采集排序字段")
private String orderbyField;
@Column(name = "ORDER_BY_VALUE")
@ApiParam("采集排序值")
private Integer orderbyValue;
@Transient
@ApiParam("操作类型名称")
private String operateTypeName;

@ -42,6 +42,10 @@ public class MesMonitorTaskDetail extends BaseBean implements Serializable {
@ApiParam("存储对象代码")
private String storeObjectCode;
@Column(name = "COLLECT_TYPE")
@ApiParam("采集数据方式")
private Integer collectType;
@Transient
@ApiParam("任务名称")
private String taskName;

Loading…
Cancel
Save