update 钱包明细导出字段

This commit is contained in:
Guoqs
2025-06-19 14:30:10 +08:00
parent 2047c24cf7
commit 1ea389701c
2 changed files with 25 additions and 1 deletions

View File

@@ -50,4 +50,16 @@ public enum MemberWalletEnum {
this.value = value;
this.label = label;
}
/**
* 根据value获取label
*/
public static String getLabelByValue(String value) {
for (MemberWalletEnum item : MemberWalletEnum.values()) {
if (item.getValue().equals(value)) {
return item.getLabel();
}
}
return "未知类型";
}
}