From 280c35d76ffdf43306ecb585290f157b7f052645 Mon Sep 17 00:00:00 2001 From: "java_cuibaocheng@163.com" Date: Fri, 24 Nov 2023 11:46:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=8F=A3=E5=9F=BA=E6=9C=AC=E4=BF=A1?= =?UTF-8?q?=E6=81=AF-=20=E5=A2=9E=E5=8A=A0=E4=BA=86=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E8=B7=B3=E8=BD=AC=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PopulationInfoBigdataRouteController.java | 44 ++ .../populationinfo/population-info-mapper.xml | 6 + .../populationinfo/list-bigdata.html | 481 ++++++++++++++++++ 3 files changed, 531 insertions(+) create mode 100644 src/main/java/com/cm/population/controller/route/populationinfo/PopulationInfoBigdataRouteController.java create mode 100644 src/main/resources/templates/populationinfo/list-bigdata.html 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 new file mode 100644 index 0000000..9e3dec8 --- /dev/null +++ b/src/main/java/com/cm/population/controller/route/populationinfo/PopulationInfoBigdataRouteController.java @@ -0,0 +1,44 @@ +package com.cm.population.controller.route.populationinfo; + +import com.cm.common.base.AbstractController; +import com.cm.common.component.SecurityComponent; +import com.cm.common.constants.ISystemConstant; +import com.cm.common.pojo.bos.UserInfoBO; +import io.swagger.annotations.Api; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.servlet.ModelAndView; + +/** + * @ClassName: PopulationInfoController + * @Description: 基础人口信息 + * @Author: CodeFactory + * @Date: 2023-10-24 11:55:46 + * @Version: 3.0 + **/ +@Api(tags = ISystemConstant.ROUTE_TAGS_PREFIX + "基础人口信息路由") +@RestController +@RequestMapping(ISystemConstant.ROUTE_PREFIX + "/populationinfo-data") +public class PopulationInfoBigdataRouteController extends AbstractController { + + @Autowired + protected SecurityComponent securityComponent; + + @GetMapping("nation") + public ModelAndView nation(@RequestParam String nation) { + ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); + mv.addObject("params", "nation=" + nation); + return mv; + } + + @GetMapping("sex") + public ModelAndView sex(@RequestParam String sex) { + ModelAndView mv = new ModelAndView("populationinfo/list-bigdata"); + mv.addObject("params", "sex=" + sex); + return mv; + } + +} \ No newline at end of file diff --git a/src/main/resources/mybatis/mapper/populationinfo/population-info-mapper.xml b/src/main/resources/mybatis/mapper/populationinfo/population-info-mapper.xml index ca7b696..371aaad 100644 --- a/src/main/resources/mybatis/mapper/populationinfo/population-info-mapper.xml +++ b/src/main/resources/mybatis/mapper/populationinfo/population-info-mapper.xml @@ -1045,6 +1045,12 @@ AND t1.idcard_type = #{idcardType} + + AND t1.nation = #{nation} + + + AND t1.sex = #{sex} + AND ( diff --git a/src/main/resources/templates/populationinfo/list-bigdata.html b/src/main/resources/templates/populationinfo/list-bigdata.html new file mode 100644 index 0000000..49de1c8 --- /dev/null +++ b/src/main/resources/templates/populationinfo/list-bigdata.html @@ -0,0 +1,481 @@ + + + + + + + + + + + + + + +
+
+
+
+
+
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+ + + + + + \ No newline at end of file