| | |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.ComMngVillageServeExcelVO; |
| | | import com.panzhihua.common.model.vos.community.ComMngVillageVO; |
| | | import com.panzhihua.service_community.model.dos.ComMngVillageDO; |
| | | import com.panzhihua.service_community.service.ComMngPopulationHouseService; |
| | | import com.panzhihua.service_community.service.ComMngPopulationHouseUserService; |
| | | import com.panzhihua.service_community.service.ComMngPopulationService; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 根据房屋id查询实有房屋 |
| | | * |
| | | * @param villageId 查询条件 |
| | | * @return 查询结果 |
| | | */ |
| | | @PostMapping("getVillageById") |
| | | public R getVillageById(@RequestParam(value = "villageId")Long villageId){ |
| | | ComMngVillageDO comMngVillageDO = comMngVillageService.getVillageById(villageId); |
| | | if (comMngVillageDO != null) { |
| | | return R.ok(comMngVillageDO); |
| | | } |
| | | return R.fail(); |
| | | } |
| | | |
| | | /** |
| | | * 删除实有房屋 |
| | | * @param Ids 动态id |
| | | * @return 删除结果 |