| | |
| | | @ApiOperationSupport(order = 5) |
| | | @ApiOperation(value = "修改", notes = "传入houseRental") |
| | | public R update(@RequestBody HouseRentalEntity houseRental) { |
| | | houseRental.setUpdateTime(new Date()); |
| | | houseRental.setUpdateUser(AuthUtil.getUserId()); |
| | | return R.status(houseRentalService.updateById(houseRental)); |
| | | } |
| | |
| | | |
| | | @GetMapping("/getStatisticsCount") |
| | | public R getStatisticsCount(HouseRentalTenantVO houseRental){ |
| | | houseRental.setUserId(AuthUtil.getUserId()); |
| | | return R.data(houseRentalService.getStatisticsCount(houseRental)); |
| | | } |
| | | |