Commit 5dd9aff2 authored by chenzhao's avatar chenzhao

修改bug

parent 7042ff75
......@@ -58,5 +58,14 @@ public enum ConfirmAlamEnum {
return null;
}
public static String getEnumByName(String type) {
for (ConfirmAlamEnum status: ConfirmAlamEnum.values()) {
if (status.getType().equals(type)) {
return status.getCode();
}
}
return null;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment