| | |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.*; |
| | | import com.panzhihua.service_community.service.ComMngCarService; |
| | | import com.panzhihua.service_community.service.ComMngProvinceService; |
| | | import com.panzhihua.service_community.service.ComMngRealAssetsService; |
| | | import com.panzhihua.service_community.service.ComMngRealCompanyService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | |
| | | @Resource |
| | | private ComMngRealAssetsService comMngRealAssetsService; |
| | | |
| | | @Resource |
| | | private ComMngProvinceService comMngProvinceService; |
| | | |
| | | /** |
| | | * 小程序用户车辆登记 |
| | |
| | | public R exportRealAssetsExcel(@RequestBody ExportRealAssetsExcelDTO exportRealAssetsExcelDTO ){ |
| | | return comMngRealAssetsService.exportRealAssetsExcel(exportRealAssetsExcelDTO); |
| | | } |
| | | |
| | | /** |
| | | * 查询所有省份 |
| | | * @return |
| | | */ |
| | | @GetMapping("/province") |
| | | public R getProvince() { |
| | | return comMngProvinceService.getProvince(); |
| | | } |
| | | |
| | | /** |
| | | * 查询省份下所有的城市 |
| | | * @param provinceAdcode |
| | | * @return |
| | | */ |
| | | @GetMapping("/city") |
| | | public R getCityByProvinceCode(@RequestParam(value = "provinceAdcode") Integer provinceAdcode){ |
| | | return comMngProvinceService.getCityByProvinceCode(provinceAdcode); |
| | | } |
| | | |
| | | /** |
| | | * 查询城市下所有的区县 |
| | | * @param cityAdcode |
| | | * @return |
| | | */ |
| | | @GetMapping("/district") |
| | | R getDistrictByCityCode(@RequestParam(value = "cityAdcode") Integer cityAdcode){ |
| | | return comMngProvinceService.getDistrictByCityCode(cityAdcode); |
| | | } |
| | | } |