调整参数名称

This commit is contained in:
TS-QD1 2023-11-26 11:38:33 +08:00
parent 40ec965bb1
commit 7aee9b2127

View File

@ -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;
}