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

yun-zuoyi
曾贞一 6 years ago
commit 5aceaca82d

@ -12,6 +12,42 @@ import com.fasterxml.jackson.annotation.JsonFormat;
public class MesEnumUtil {
/**
* mes
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum NUMBER_RULE_ISCYCLE {
TRUE(1, "是"),
FALSE(2, "否");
private int value;
private String description;
NUMBER_RULE_ISCYCLE(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)

@ -75,15 +75,15 @@ public class WmsActionGroup extends BaseBean {
private Integer submitStepSeq;
public long getInitAmIdVal() {
return this.initAmId == null ? 0 : this.initAmId.intValue();
return this.initAmId == null ? 0 : this.initAmId.longValue();
}
public long getDetailsAmIdVal() {
return this.detailsAmId == null ? 0 : this.detailsAmId.intValue();
return this.detailsAmId == null ? 0 : this.detailsAmId.longValue();
}
public long getEndAmIdVal() {
return this.endAmId == null ? 0 : this.endAmId.intValue();
return this.endAmId == null ? 0 : this.endAmId.longValue();
}
public int getAutoInitVal() {

Loading…
Cancel
Save