|
@@ -134,6 +134,20 @@ public class DictService {
|
|
|
return getDictMapsByTypes(dictParam);
|
|
|
}
|
|
|
|
|
|
+ public Map<String, Map<String,String>> getDictMapsByTypes(String param,String ...arg) {
|
|
|
+ StringBuffer sb = new StringBuffer(param);
|
|
|
+ if(arg != null){
|
|
|
+ for (String s: arg) {
|
|
|
+ if(s != null && s != ""){
|
|
|
+ sb.append(",").append(s);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ DictParam dictParam = new DictParam();
|
|
|
+ dictParam.setDictTypes(sb.toString());
|
|
|
+ return getDictMapsByTypes(dictParam);
|
|
|
+ }
|
|
|
+
|
|
|
public Map<String,String> getDictMapByType(String param) {
|
|
|
DictParam dictParam = new DictParam();
|
|
|
dictParam.setDictTypes(param);
|