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