zhongrj
2023-12-28 1e53e07cb4b95e282e4a0a55cc082db34b83a0d7
src/main/java/org/springblade/modules/house/controller/HouseController.java
@@ -201,8 +201,12 @@
   @GetMapping("getHouseStatistics")
   public R getHouseStatistics(@RequestParam("code") String code, @RequestParam("roleType") String roleType) {
      Map<String, Object> result = houseService.getHouseStatistics(code, roleType);
   public R getHouseStatistics(@RequestParam("code") String code,
                        @RequestParam("roleType") String roleType,
                        @RequestParam(value = "aoiCode", required = false) String aoiCode,
                        @RequestParam(value = "buildingCode", required = false) String buildingCode,
                        @RequestParam(value = "unitCode", required = false) String unitCode) {
      Map<String, Object> result = houseService.getHouseStatistics(code, roleType,aoiCode,buildingCode,unitCode);
      return R.data(result);
   }