From bd9fa757379d00b643ce0555a3c7760eee9e5dc4 Mon Sep 17 00:00:00 2001 From: LiuY <1622779752@qq.com> Date: Sun, 26 Nov 2023 15:52:20 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E7=BB=9F=E8=AE=A1=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=BF=AE=E6=94=B9-=20=E5=A2=9E=E5=8A=A0=E6=A8=A1?= =?UTF-8?q?=E6=9D=BF=E7=82=B9=E5=87=BB=E6=9F=A5=E7=9C=8B=E4=BA=8C=E7=BA=A7?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PopulationInfoBigdataRouteController.java | 18 +- src/main/resources/static/default.html | 168 +++++++++++++++--- 2 files changed, 157 insertions(+), 29 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 b09edae..3b6bb38 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 @@ -40,7 +40,7 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("nation") - public ModelAndView nation(@RequestParam String name) { + public ModelAndView nation(String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); mv.addObject("params", "nation=" + name); return mv; @@ -62,7 +62,7 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("jiedao") - public ModelAndView jiedao(@RequestParam String name) { + public ModelAndView jiedao(String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); mv.addObject("params", "jiedao=" + name); return mv; @@ -73,7 +73,7 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("sex") - public ModelAndView sex(@RequestParam String name) { + public ModelAndView sex(String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); mv.addObject("params", "sex=" + name); return mv; @@ -84,7 +84,7 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("organization") - public ModelAndView organization(@RequestParam String name) { + public ModelAndView organization(String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); mv.addObject("params", "organization=" + organizationMap.get(name)); return mv; @@ -118,7 +118,7 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("religion") - public ModelAndView religion(@RequestParam String name) { + public ModelAndView religion(String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); mv.addObject("params", "religion=" + name); return mv; @@ -130,7 +130,7 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("xinfang") - public ModelAndView xinfang(@RequestParam String name) { + public ModelAndView xinfang(String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); mv.addObject("params", "xinfang=" + name); return mv; @@ -142,7 +142,7 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("baozhang") - public ModelAndView baozhang(@RequestParam String name) { + public ModelAndView baozhang(String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); mv.addObject("params", "baozhang=" + name); return mv; @@ -154,10 +154,10 @@ public class PopulationInfoBigdataRouteController extends AbstractController { * @return */ @GetMapping("teshu") - public ModelAndView teshu(@RequestParam String name) { + public ModelAndView teshu(String name) { ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); mv.addObject("params", "teshu=" + name); return mv; } -} \ No newline at end of file +} diff --git a/src/main/resources/static/default.html b/src/main/resources/static/default.html index 2ab024f..59efa66 100644 --- a/src/main/resources/static/default.html +++ b/src/main/resources/static/default.html @@ -10,7 +10,21 @@ + @@ -20,7 +34,7 @@