3
0
Fork 0

Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
cabbage 2025-08-21 14:55:09 +08:00
commit 7d4e5ba0a9
1 changed files with 12 additions and 0 deletions

View File

@ -46,4 +46,16 @@ public enum EWaresType {
}
return null;
}
public static String getEnumLabelByValue(Integer value) {
if (null == value) {
return "";
}
for (EWaresType eApproveStatus : EWaresType.values()) {
if (eApproveStatus.getValue().equals(value)) {
return eApproveStatus.getLabel();
}
}
return "";
}
}