Commit f985429209b2a99610fd737878ac176a02f29e5a
1 parent
5cf48a5029
Exists in
master
and in
8 other branches
add statistics(map) common index
Showing 1 changed file with 3 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/StatisticsController.java
View file @
f985429
... | ... | @@ -52,7 +52,8 @@ |
52 | 52 | * @param pid 省ID、地区ID |
53 | 53 | */ |
54 | 54 | @RequestMapping(value = "/total/index", method = RequestMethod.GET) |
55 | - public void getTotalIndex(HttpServletResponse response, @RequestParam(value = "type")Integer type, @RequestParam(value = "pid", required = false)String pid) { | |
55 | + public void getTotalIndex(HttpServletResponse response, @RequestParam(value = "type")Integer type, @RequestParam(value = "pid", required = false)String pid, | |
56 | + @RequestParam(value = "provinceId", required = false)String provinceId) { | |
56 | 57 | Map<String,Object> result= new HashMap<String, Object>(); |
57 | 58 | Map<String, String> colormap = new HashMap<>(); |
58 | 59 | colormap.put("紫色", "#be75ff"); |
... | ... | @@ -729,6 +730,7 @@ |
729 | 730 | |
730 | 731 | |
731 | 732 | result.put("type", 3); |
733 | + result.put("provinceId", provinceId); | |
732 | 734 | result.put("cityName", cityName); |
733 | 735 | result.put("cityPinyin", cityPinyinMap.get(cityName.replace("市","").replace("省",""))); |
734 | 736 | result.put("kvData", kvData); |