public interface DictionaryService
| Modifier and Type | Method and Description |
|---|---|
Long |
addDictionary(DmDictionaryCreateDTO createDTO)
添加值域
|
Long |
addDictionaryValue(DmDictValueCreateDTO createDTO)
添加值域值
|
void |
deleteDictionary(String dictionaryKey)
删除值域
|
void |
deleteDictionaryValue(String ids)
值域值标识,多个用逗号隔开
|
void |
exportXml(javax.servlet.http.HttpServletResponse response,
Long dictionaryId)
字典导出到xml
|
DmDictValueDTO |
getDictionaryTree(Long dictionaryId)
获取值域树
|
DmDictValueDTO |
getDictionaryTree(String dictionaryKey)
获取值域树
|
List<DmDictValueDTO> |
getDictionaryTreeByKeys(String[] dictionaryKeys)
获取值域树
|
List<DmDictValueDTO> |
getDictionaryValueList(String dictionaryKey)
获取值域列表
|
void |
importXml(org.springframework.web.multipart.MultipartFile file,
Long dictionaryId)
xml导入到字典
|
List<DmDictionary> |
list(String keyword)
获取值域配置列表
|
void |
sort(DmDictValueSortDTO sortDTO)
字典值重排序
|
void |
updateDictionary(DmDictionaryCreateDTO editDTO)
更新值域
|
void |
updateDictionaryValue(DmDictValueEditDTO editDTO)
更新值域值
|
List<DmDictionary> list(String keyword)
keyword - 关键词DmDictValueDTO getDictionaryTree(Long dictionaryId)
dictionaryId - 值域标识DmDictValueDTO getDictionaryTree(String dictionaryKey)
dictionaryKey - 值域编码List<DmDictValueDTO> getDictionaryTreeByKeys(String[] dictionaryKeys)
dictionaryKeys - 值域编码列表List<DmDictValueDTO> getDictionaryValueList(String dictionaryKey)
dictionaryKey - 值域编码Long addDictionary(DmDictionaryCreateDTO createDTO)
createDTO - 新增参数void updateDictionary(DmDictionaryCreateDTO editDTO)
editDTO - 编辑参数void deleteDictionary(String dictionaryKey)
dictionaryKey - 值域编码Long addDictionaryValue(DmDictValueCreateDTO createDTO)
createDTO - 新增参数void updateDictionaryValue(DmDictValueEditDTO editDTO)
editDTO - 编辑参数void deleteDictionaryValue(String ids)
ids - 值域值标识,多个用逗号隔开void sort(DmDictValueSortDTO sortDTO)
sortDTO - 排序参数void importXml(org.springframework.web.multipart.MultipartFile file,
Long dictionaryId)
file - xml文件dictionaryId - 字典值dvoid exportXml(javax.servlet.http.HttpServletResponse response,
Long dictionaryId)
dictionaryId - 字典值dresponse - 响应Copyright © 2025. All rights reserved.