src/main/java/com/zy/api/enums/MatLocType.java
@@ -23,4 +23,16 @@ this.type = type; this.desc = desc; } public static String getTagName(String type) { if (type.equals(MatLocType.AUTOMATED.type)) { return MatLocType.AUTOMATED.desc; } else if (type.equals(MatLocType.SO_HOLDING.type)) { return MatLocType.SO_HOLDING.desc; } else if (type.equals(MatLocType.EO_HOLDING.type)) { return MatLocType.EO_HOLDING.desc; } else { return null; } } }