|
@@ -359,10 +359,15 @@ public class IndexViewServiceImpl extends BaseServiceImpl implements IndexViewSe
|
|
list.add(td);
|
|
list.add(td);
|
|
}
|
|
}
|
|
List<IndexViewInfo> indexViewInfoList = this.getBasicDataList(menuInfo);
|
|
List<IndexViewInfo> indexViewInfoList = this.getBasicDataList(menuInfo);
|
|
|
|
+ String[] names = new String[]{"林业","农业","环保","资源","交通","消防","应急","水利",};
|
|
for (IndexViewInfo indexViewInfo : indexViewInfoList){
|
|
for (IndexViewInfo indexViewInfo : indexViewInfoList){
|
|
Map<String,Object> map1 = new HashMap<>();
|
|
Map<String,Object> map1 = new HashMap<>();
|
|
if (!indexViewInfo.getCategory().equals("共有基础数据类型")){
|
|
if (!indexViewInfo.getCategory().equals("共有基础数据类型")){
|
|
- map1.put("name",indexViewInfo.getCategory());
|
|
|
|
|
|
+ for (String name : names){
|
|
|
|
+ if (indexViewInfo.getCategory().contains(name)){
|
|
|
|
+ map1.put("name",name);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
map1.put("count",indexViewInfo.getCount());
|
|
map1.put("count",indexViewInfo.getCount());
|
|
map1.put("updateCount",indexViewInfo.getUpdataCount());
|
|
map1.put("updateCount",indexViewInfo.getUpdataCount());
|
|
BigDecimal updateRate = new BigDecimal(0).setScale(2,RoundingMode.HALF_UP);
|
|
BigDecimal updateRate = new BigDecimal(0).setScale(2,RoundingMode.HALF_UP);
|