String sql="select item_code from xt_dictionary_item where type_id='32' and parent_itemid='0' order by view_index";
Delegate dg=new Delegate("");
CachedRowSet crs = dg.getRowSet(sql);
Dictionary dd = Dictionary.getInstance();
while(crs.next()){
Map<String,String> map=new HashMap<>();
map.put("item_code", crs.getString("item_code"));
map.put("typename", dd.getDicItemName("ZD_20003", crs.getString("item_code")));
list.add(map);
}