| | |
| | | * 首页地块统计接口 |
| | | */ |
| | | @GetMapping("/selectCount") |
| | | public R selectCount(String deptId) { |
| | | List<Map<String, Object>> list = landService.selectZAre(deptId); |
| | | List<Map<String, Object>> lists = landService.selectSAre(deptId); |
| | | List list1 = landService.selectNum(deptId); |
| | | public R selectCount(LandVO land) { |
| | | List<Map<String, Object>> list = landService.selectZAre(land); |
| | | List<Map<String, Object>> lists = landService.selectSAre(land); |
| | | List list1 = landService.selectNum(land); |
| | | //总面积 |
| | | Double num = 0.0; |
| | | for (int i = 0; i < list.size(); i++) { |
| | |
| | | |
| | | /** |
| | | * 大屏地块统计接口 |
| | | * @param framId 农场id |
| | | * @param land 农场 |
| | | * @return |
| | | */ |
| | | @GetMapping("/selectXCount") |
| | | public R selectXCount(String framId) { |
| | | List<Map<String, Object>> list = landService.selectZAre(framId); |
| | | List<Map<String, Object>> lists = landService.selectSAre(framId); |
| | | List<Map<String, Object>> listw = landService.selectWAre(framId); |
| | | List list1 = landService.selectNum(framId); |
| | | public R selectXCount(LandVO land) { |
| | | List<Map<String, Object>> list = landService.selectZAre(land); |
| | | List<Map<String, Object>> lists = landService.selectSAre(land); |
| | | List<Map<String, Object>> listw = landService.selectWAre(land); |
| | | List list1 = landService.selectNum(land); |
| | | //总面积 |
| | | Double num = 0.0; |
| | | for (int i = 0; i < list.size(); i++) { |