From 7aee9b2127ad9a06a02634bc561d9703626ffc8a Mon Sep 17 00:00:00 2001 From: TS-QD1 Date: Sun, 26 Nov 2023 11:38:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=8F=82=E6=95=B0=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PopulationInfoBigdataRouteController.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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; }