|
@@ -34,10 +34,10 @@ public enum ZmTransferType implements IBaseEnum {
|
|
|
// 状态 0 启用 1 不启用
|
|
// 状态 0 启用 1 不启用
|
|
|
private final Integer status;
|
|
private final Integer status;
|
|
|
|
|
|
|
|
- public static ZmTransferType getByCode(String code) {
|
|
|
|
|
|
|
+ public static String getByCode(String code) {
|
|
|
for (ZmTransferType value : ZmTransferType.values()) {
|
|
for (ZmTransferType value : ZmTransferType.values()) {
|
|
|
if (value.getCode().equals(code)) {
|
|
if (value.getCode().equals(code)) {
|
|
|
- return value;
|
|
|
|
|
|
|
+ return value.desc;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
return null;
|
|
return null;
|