| | |
| | | */ |
| | | @PostMapping("queryAll") |
| | | public R selectAll(@RequestParam("province") String province, @RequestParam("city") String city, @RequestParam("county")String country,@RequestParam("town")String town) { |
| | | return this.bcRegionService.pageList(province,city,country,town); |
| | | return this.bcRegionService.pageList(province, city, country, town); |
| | | } |
| | | /** |
| | | * 关键字查询 |
| | | * |
| | | * @param province 查询实体 |
| | | * @return 所有数据 |
| | | */ |
| | | @PostMapping("selectCommunityCodeByName") |
| | | public R selectCommunityCodeByName( @RequestParam("city") String city, @RequestParam("county")String country,@RequestParam("town")String town,@RequestParam("villagetr") String villagetr) { |
| | | return this.bcRegionService.selectCommunityCodeByName(city,country,town,villagetr); |
| | | } |
| | | @GetMapping("levelList") |
| | | public R levelList(@RequestParam("level")Integer level,@RequestParam("code")String code){ |