diff --git a/src/main/java/com/cm/population/controller/route/populationinfo/PopulationInfoBigdataRouteController.java b/src/main/java/com/cm/population/controller/route/populationinfo/PopulationInfoBigdataRouteController.java index c91a6c2..6d0778a 100644 --- a/src/main/java/com/cm/population/controller/route/populationinfo/PopulationInfoBigdataRouteController.java +++ b/src/main/java/com/cm/population/controller/route/populationinfo/PopulationInfoBigdataRouteController.java @@ -62,9 +62,9 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("jiedao") - public ModelAndView jiedao(@RequestParam String jiedao) { + public ModelAndView jiedao(@RequestParam String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); - mv.addObject("params", "jiedao=" + jiedao); + mv.addObject("params", "jiedao=" + name); return mv; } @@ -73,9 +73,9 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("sex") - public ModelAndView sex(@RequestParam String sex) { + public ModelAndView sex(@RequestParam String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); - mv.addObject("params", "sex=" + sex); + mv.addObject("params", "sex=" + name); return mv; } @@ -84,9 +84,9 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("organization") - public ModelAndView organization(@RequestParam String organization) { + public ModelAndView organization(@RequestParam String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); - mv.addObject("params", "organization=" + organizationMap.get(organization)); + mv.addObject("params", "organization=" + organizationMap.get(name)); return mv; } @@ -118,9 +118,9 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("religion") - public ModelAndView religion(@RequestParam String religion) { + public ModelAndView religion(@RequestParam String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); - mv.addObject("params", "religion=" + religion); + mv.addObject("params", "religion=" + name); return mv; }