mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 03:55:17 +08:00
update 钱包明细导出字段
This commit is contained in:
@@ -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 "未知类型";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user