| | |
| | | |
| | | |
| | | @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); |
| | | } |
| | | |