src/main/java/org/springblade/modules/house/controller/HouseRentalController.java
@@ -158,9 +158,13 @@ return R.status(houseRentalService.removeHouseRental(id)); } /** * 获取统计数据 * @return */ @GetMapping("/getStatistics") public R getStatistics(){ return R.data(houseRentalService.getStatistics()); public R getStatistics(HouseRentalTenantVO houseRental){ return R.data(houseRentalService.getStatistics(houseRental)); }