mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
错误
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
package com.cf.imes.framework.common.enums;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
public enum PlanFilterTypeEnum {
|
||||
|
||||
|
||||
DIGGINGTHROUGHTHESHAPE(1,"有挖穿造型"),
|
||||
THEREAREPERFORATEDHOLES(2,"有挖穿孔"),
|
||||
TWODIMENSIONALCUTTINGPATH(4,"有二维刀路"),
|
||||
STACKABLE(8,"可叠");
|
||||
|
||||
private Integer type;
|
||||
private String filterNames;
|
||||
|
||||
public boolean equals(Integer type) {
|
||||
return this.type .equals(type) ;
|
||||
}
|
||||
|
||||
public boolean equals(PlanFilterTypeEnum enableStatusEnum) {
|
||||
return enableStatusEnum != null && enableStatusEnum.type .equals(this.getType()) ;
|
||||
}
|
||||
|
||||
}
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
package com.cf.imes.framework.common.enums;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
public enum PlanStatusEnum {
|
||||
|
||||
|
||||
NEWORDER(0,"新单"),
|
||||
BOARDHASBEENAPPLIEDFOR(1,"板材已申请"),
|
||||
DURINGCUTTING(2,"开料中"),
|
||||
OPENEDMATERIAL(3,"已开料");
|
||||
|
||||
private Integer status;
|
||||
private String scheduling;
|
||||
|
||||
|
||||
public boolean equals(Integer status) {
|
||||
return this.status .equals(status) ;
|
||||
}
|
||||
|
||||
public boolean equals(PlanStatusEnum enableStatusEnum) {
|
||||
return enableStatusEnum != null && enableStatusEnum.status .equals(this.getStatus()) ;
|
||||
}
|
||||
|
||||
}
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
package com.cf.imes.framework.common.enums;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
public enum ProcessProcessingTypeEnum {
|
||||
|
||||
|
||||
COMPONENTPROCESSING(7L,"组件加工");
|
||||
|
||||
private Long number;
|
||||
private String fabricatedItem;
|
||||
|
||||
public boolean equals(Integer number) {
|
||||
return this.number .equals(number) ;
|
||||
}
|
||||
|
||||
public boolean equals(ProcessProcessingTypeEnum enableStatusEnum) {
|
||||
return enableStatusEnum != null && enableStatusEnum.number .equals(this.getNumber()) ;
|
||||
}
|
||||
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
package com.cf.imes.framework.common.enums;
|
||||
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
public enum RemainTypeEnum {
|
||||
|
||||
WRITEOFF(0,"核销"),
|
||||
SCHEDULING(1,"排单"),
|
||||
PATCHINGPLATE(2,"补板");
|
||||
|
||||
|
||||
private Integer type;
|
||||
private String useType;
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user