|
@@ -134,4 +134,16 @@ public class DictService {
|
|
return getDictMapsByTypes(dictParam);
|
|
return getDictMapsByTypes(dictParam);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public Map<String,String> getDictMapByType(String param) {
|
|
|
|
+ String[] split = param.split(",");
|
|
|
|
+ if(ObjectUtil.isNull(split)){
|
|
|
|
+ return new HashMap<>();
|
|
|
|
+ }
|
|
|
|
+ DictParam dictParam = new DictParam();
|
|
|
|
+ dictParam.setDictTypes(split[0]);
|
|
|
|
+ Map<String, Map<String, String>> dictMaps = getDictMapsByTypes(dictParam);
|
|
|
|
+ Map<String, String> dictMap = dictMaps.get(split[0]);
|
|
|
|
+ return dictMap;
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|