yun-zuoyi
许心洁 5 years ago
commit 267ec6c647

@ -62,7 +62,6 @@ public class BaseOrder extends BaseAPS {
@Column(name="LET") @Column(name="LET")
@ApiParam(value ="最晚结束时刻") @ApiParam(value ="最晚结束时刻")
@FieldAnnotation(notEmpty = true)
private Date let; private Date let;
@Column(name="CALC_EST") @Column(name="CALC_EST")

@ -6,5 +6,6 @@ import lombok.Data;
public class GanttDragModel { public class GanttDragModel {
private Long workId; private Long workId;
private Long resId; private Long resId;
private Long targetResId;
private Long targetWorkId; private Long targetWorkId;
} }

@ -19,9 +19,9 @@ public class GanttPlanModel {
@JsonDeserialize(using = CustomDateDeserializer.class) @JsonDeserialize(using = CustomDateDeserializer.class)
private Date endDate; private Date endDate;
private String cls; private String cls;
//private String timeRangeColor;
private String eventColor; private String eventColor;
private String name; private String name;
private Long workId; private Long workId;
private List<Long> resIds; private List<Long> resIds;
private Boolean draggable;
} }

@ -863,8 +863,8 @@ public class ApsEnumUtil {
*/ */
@JsonFormat(shape = JsonFormat.Shape.OBJECT) @JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum CALENDAR_TYPE { public enum CALENDAR_TYPE {
ENABLE("ENABLE", "启用"), ENABLE("ENABLE", "加班"),
DISABLE("DISABLE", "停用"); DISABLE("DISABLE", "下班");
private String value; private String value;
private String description; private String description;

@ -1259,6 +1259,15 @@ public class CommonEnumUtil {
return tmp; return tmp;
} }
public static LOG_DETAIL_SHOW_TYPE valueOfEnum(int val) {
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
return values()[i];
}
}
return null;
}
public static int descOf(String desc) { public static int descOf(String desc) {
int tmp = 1; int tmp = 1;
for (int i = 0; i < values().length; i++) { for (int i = 0; i < values().length; i++) {

@ -1190,4 +1190,47 @@ public class ImppEnumUtil {
return tmp; return tmp;
} }
} }
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum LOG_STORAGE {
MONGO(1, "MongoDB"),
ELASTICSEARCH(2, "Elasticsearch");
private int value;
private String description;
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
private LOG_STORAGE(int value, String description) {
this.value = value;
this.description = description;
}
public static String valueOf(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 LOG_STORAGE valueOfEnum(int val) {
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
return values()[i];
}
}
return null;
}
}
} }

@ -77,6 +77,14 @@ public class BrPojoFilterAttr extends BaseBean {
@ApiParam(value ="属性显示名称") @ApiParam(value ="属性显示名称")
private String attrName; private String attrName;
@Column(name = "VIEW_ATTR_CONTROL_TYPE")
@ApiParam(value = "控件类型")
private Integer viewAttrControlType;
@Column(name = "VIEW_ATTR_CONTROL_REF_KEY")
@ApiParam(value = "控件引用RefKey")
private String viewAttrControlRefKey;
@Column(name="ATTR_SHOW") @Column(name="ATTR_SHOW")
@ApiParam(value ="属性是否显示") @ApiParam(value ="属性是否显示")
private Integer attrShow; private Integer attrShow;

@ -118,8 +118,4 @@ public class WmsDocMovementSn extends BaseBean {
@Transient @Transient
@AnnoOutputColumn(refClass = WmsEnumUtil.STOCK_SN_STATUS.class,refForeignKey = "value",value = "description") @AnnoOutputColumn(refClass = WmsEnumUtil.STOCK_SN_STATUS.class,refForeignKey = "value",value = "description")
public Integer itemStatus; public Integer itemStatus;
@Transient
@ApiParam("打印模板名称")
private String templateName;
} }

@ -282,6 +282,10 @@ public class WmsStockSn extends BaseBean {
@ApiParam(value = "是否最早批次") @ApiParam(value = "是否最早批次")
public String isFifo; public String isFifo;
@Transient
@ApiParam("打印模板名称")
private String templateName;
public WmsStockSn() { public WmsStockSn() {
} }

Loading…
Cancel
Save