| 程序包 | 说明 |
|---|---|
| cn.net.wanmo.module.sys.entity | |
| cn.net.wanmo.module.sys.enums.dict | |
| cn.net.wanmo.module.sys.service | |
| cn.net.wanmo.module.sys.service.impl | |
| cn.net.wanmo.module.sys.util |
| 限定符和类型 | 字段和说明 |
|---|---|
private Dict |
User.enable |
private Dict |
User.gender |
private Dict |
Menu.isShow |
private Dict |
Area.type |
private Dict |
Role.useable |
private Dict |
User.userType |
| 限定符和类型 | 方法和说明 |
|---|---|
Dict |
User.getEnable() |
Dict |
User.getGender() |
Dict |
Menu.getIsShow() |
Dict |
Area.getType() |
Dict |
Role.getUseable() |
Dict |
User.getUserType() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
User.setEnable(Dict enable) |
void |
User.setGender(Dict gender) |
void |
Menu.setIsShow(Dict isShow) |
void |
Area.setType(Dict type) |
void |
Role.setUseable(Dict useable) |
void |
User.setUserType(Dict userType) |
| 限定符和类型 | 方法和说明 |
|---|---|
Dict |
EnableOrForbid.getDict()
获取当前枚举的字典对象
|
| 限定符和类型 | 方法和说明 |
|---|---|
Dict |
DictService.getByTypeValue(String type,
String value)
根据类型和值 返回字典
|
| 限定符和类型 | 方法和说明 |
|---|---|
List<Dict> |
DictService.findListByType(String type)
根据类型返回字典信息
|
| 限定符和类型 | 方法和说明 |
|---|---|
Dict |
DictServiceImpl.getByTypeValue(String type,
String value) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Dict> |
DictServiceImpl.findListByType(String type) |
| 限定符和类型 | 方法和说明 |
|---|---|
static Dict |
DictUtil.fitProperty(Dict property,
String dictType)
适配 java 类中的字典属性值
|
static Dict |
DictUtil.getDict(String type,
String value)
根据类型和值 返回字典
|
static Dict |
DictUtil.getDict(String type,
String value,
boolean isCache)
根据类型和值 返回字典
|
| 限定符和类型 | 方法和说明 |
|---|---|
static List<Dict> |
DictUtil.findListAll()
查找所有字典信息
|
static List<Dict> |
DictUtil.findListByType(String type)
根据类型返回字典信息
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Dict |
DictUtil.fitProperty(Dict property,
String dictType)
适配 java 类中的字典属性值
|
Copyright © 2023. All rights reserved.