JSONObject dim = dims.getJSONObject(i);
String dim_id = dim.getString("dim_id");//dim_id为维度在dimMeta表中的id(not 一炼钢的id)
if(dimMetaHash.containsKey(dim_id)){
DimMeta dimMeta = dimMetaHash.get(dim_id);
String dimMetaName = dimMeta.getMetaName();
JSONArray values = dim.getJSONArray("values");
for(int j=0;j<values.size();j++){
JSONObject value = values.getJSONObject(j);
String id_name = value.getString("name");//"能源总量"
String id_id = value.getString("id");//如果是度量维度,客户端传过来的id即为metaName:"amount"
if(MEASURE_NAME.equalsIgnoreCase(dimMetaName)){
if(measureMetaHash.containsKey(id_id)){
measureNames.add(measureMetaHash.get(id_id).getMetaName());//应该就是id_id