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

This commit is contained in:
sangelxiu1 2025-07-15 15:10:39 +08:00 committed by cabbage
parent 34a49ff9c5
commit 8278a53b37
1 changed files with 11 additions and 0 deletions

View File

@ -142,6 +142,17 @@ public enum EOrderType {
resultList.add(EOrderType.REPURCHASE_ORDER);
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 "";
}
}