|
@@ -104,23 +104,27 @@ public class IndexViewServiceImpl extends BaseServiceImpl implements IndexViewSe
|
|
|
item.setType(tableNameAndType[1]);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ // 分类名称映射
|
|
|
+ Map<String, String> categoryMap = new HashMap<>();
|
|
|
+ categoryMap.put("project", "数字项目基础数据");
|
|
|
+ categoryMap.put("police", "数字公安基础数据");
|
|
|
+ categoryMap.put("investigation", "数字森侦基础数据");
|
|
|
+ categoryMap.put("forest", "林业基础数据");
|
|
|
+ categoryMap.put("emergency", "应急基础数据");
|
|
|
+ categoryMap.put("environment", "环保基础数据");
|
|
|
+ categoryMap.put("firecontrol", "消防基础数据");
|
|
|
+ categoryMap.put("farm", "农业基础数据");
|
|
|
+ categoryMap.put("traffic", "交通基础数据");
|
|
|
+ categoryMap.put("resources", "自然资源基础数据");
|
|
|
+ categoryMap.put("water", "水利基础数据");
|
|
|
+
|
|
|
for (Map.Entry<String, List<MenuInfo>> entry : resultMap.entrySet()) {
|
|
|
String subclass = entry.getKey();
|
|
|
IndexViewInfo indexViewInfo = new IndexViewInfo();
|
|
|
indexViewInfo.setCount(0L);
|
|
|
indexViewInfo.setUpdataCount(0L);
|
|
|
|
|
|
- // 分类名称映射
|
|
|
- Map<String, String> categoryMap = new HashMap<>();
|
|
|
- categoryMap.put("forest", "林业基础数据");
|
|
|
- categoryMap.put("emergency", "应急基础数据");
|
|
|
- categoryMap.put("environment", "环保基础数据");
|
|
|
- categoryMap.put("firecontrol", "消防基础数据");
|
|
|
- categoryMap.put("farm", "农业基础数据");
|
|
|
- categoryMap.put("traffic", "交通基础数据");
|
|
|
- categoryMap.put("resources", "自然资源基础数据");
|
|
|
- categoryMap.put("water", "水利基础数据");
|
|
|
-
|
|
|
indexViewInfo.setCategory(categoryMap.get(subclass));
|
|
|
indexViewInfo.setSubclass(subclassCount.get(subclass));
|
|
|
|
|
@@ -173,6 +177,9 @@ public class IndexViewServiceImpl extends BaseServiceImpl implements IndexViewSe
|
|
|
"交通基础数据",
|
|
|
"自然资源基础数据",
|
|
|
"消防基础数据",
|
|
|
+ "数字项目基础数据",
|
|
|
+ "数字公安基础数据",
|
|
|
+ "数字森侦基础数据",
|
|
|
"共有基础数据类型"
|
|
|
);
|
|
|
|
|
@@ -385,6 +392,12 @@ public class IndexViewServiceImpl extends BaseServiceImpl implements IndexViewSe
|
|
|
}
|
|
|
b+=1;
|
|
|
}
|
|
|
+ td.put("count201",0);
|
|
|
+ td.put("updateCount201",0);
|
|
|
+ td.put("updateRate201","0.00%");
|
|
|
+ td.put("count202",0);
|
|
|
+ td.put("updateCount202",0);
|
|
|
+ td.put("updateRate202","0.00%");
|
|
|
return td;
|
|
|
}
|
|
|
}
|