| | |
| | | @Log(title = "房屋基础信息管理-查询房屋信息", businessType = BusinessType.DELETE) |
| | | @ApiOperation(value = "查询房屋信息") |
| | | @GetMapping(value = "/getHouseById") |
| | | public R<THouse> getHouseById(@RequestParam Long id) { |
| | | public R<THouse> getHouseById(@RequestParam String id) { |
| | | return R.ok(tHouseService.getById(id)); |
| | | } |
| | | @Log(title = "房屋基础信息管理-删除房屋", businessType = BusinessType.DELETE) |
| | | @ApiOperation(value = "删除房屋") |
| | | @DeleteMapping(value = "/deleteHouseById") |
| | | public R<Boolean> deleteHouseById(@RequestParam Long id) { |
| | | public R<Boolean> deleteHouseById(@RequestParam String id) { |
| | | return R.ok(tHouseService.removeById(id)); |
| | | } |
| | | @ApiOperation(value = "获取房屋分页列表") |