|  |  | @ -6611,4 +6611,61 @@ public class WmsEnumUtil { | 
			
		
	
		
		
			
				
					
					|  |  |  |             return valueOf(val); |  |  |  |             return valueOf(val); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     /** | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |      * 返修、挑选状态 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |      */ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     @JsonFormat(shape = JsonFormat.Shape.OBJECT) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     public enum BOM_TYPE { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         INIT(10, "PART", "物料"), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         BE_HANDLE(20, "OUT", "委外"), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         FINISH(30, "UTENSIL", "器具"); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         private int value; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         private String code; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         private String description; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         BOM_TYPE(int value, String code, String description) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.value = value; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.code = code; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.description = description; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         public int getValue() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return value; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         public String getDescription() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return description; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         public String getCode() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return code; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         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 int descOf(String desc) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             int tmp = 1; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             for (int i = 0; i < values().length; i++) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 if (values()[i].description.equals(desc)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     tmp = values()[i].value; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return tmp; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         public static String valueOfDescription(int val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return valueOf(val); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |