## 部分枚举去掉国际化;

This commit is contained in:
cabbage 2025-08-07 15:13:06 +08:00
parent b8f8e98734
commit 30b33510ab
2 changed files with 1 additions and 20 deletions

View File

@ -533,13 +533,6 @@ public class EnumsInitController {
initList.add(this.createData(value.getKey(), value.getLabel()));
}
/**
* 证件类型
*/
for (EIdType value : EIdType.values()) {
initList.add(this.createData(value.getKey(), value.getLabel()));
}
/**
* 只读状态
*/

View File

@ -1,19 +1,11 @@
package com.hzs.common.core.enums;
import com.hzs.common.core.constant.EnumsPrefixConstants;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 证件类型
*
* @Description:
* @Author: ljc
* @Time: 2023/4/17 14:36
* @Classname: EIdType
* @Package_name: com.hzs.common.core.enums
*/
@AllArgsConstructor
@Getter
public enum EIdType {
@ -21,7 +13,7 @@ public enum EIdType {
/**
* 身份证
*/
ID_CARD(1, "身份证", 0, EnumsPrefixConstants.ID_TYPE + "1");
ID_CARD(1, "身份证", 0);
/**
* 实际值
@ -35,10 +27,6 @@ public enum EIdType {
* 是否启用0=,1= -- 来源EYesNo
*/
private final int enable;
/**
* 国际化翻译key值
*/
private final String key;
public static String getLabelByValue(Integer value) {
if (null == value) {