## Feat - 在线支付明细增加订单类型

This commit is contained in:
sangelxiu1 2025-07-15 15:10:39 +08:00
parent d47a5f6b37
commit f22246a05c
1 changed files with 11 additions and 0 deletions

View File

@ -142,6 +142,17 @@ public enum EOrderType {
resultList.add(EOrderType.REPURCHASE_ORDER); resultList.add(EOrderType.REPURCHASE_ORDER);
return resultList; return resultList;
} }
public static String getLabelByValue(Integer value) {
if (null == value) {
return "";
}
for (EOrderType enums : EOrderType.values()) {
if (enums.getValue() == value) {
return enums.getLabel();
}
}
return "";
}
} }