| | |
| | | import com.ruoyi.system.model.TContract; |
| | | import com.ruoyi.system.service.TContractService; |
| | | import com.ruoyi.system.service.impl.ScreenService; |
| | | import com.ruoyi.system.vo.ScreenRentIncomeTrendVO; |
| | | import com.ruoyi.system.vo.ScreenRentRankVO; |
| | | import com.ruoyi.system.vo.ScreenTopStaticsDataVO; |
| | | import com.ruoyi.system.vo.TenantCountTrendVO; |
| | |
| | | public R<ScreenTopStaticsDataVO> getTopStaticsData() { |
| | | return R.ok(screenService.getTopStaticsData()); |
| | | } |
| | | @ApiOperation("区域租金排名") |
| | | @GetMapping("/rent-rank") |
| | | @ApiOperation("区域租金排名") |
| | | public R<List<ScreenRentRankVO>> rentRank() { |
| | | return R.ok(screenService.rentRank()); |
| | | return R.ok(screenService.streetRentRank()); |
| | | } |
| | | @GetMapping("/rent-income-trend") |
| | | @ApiOperation("租金收入趋势") |
| | | public R<ScreenRentIncomeTrendVO> rentIncomeTrend() { |
| | | return R.ok(screenService.rentIncomeTrend()); |
| | | } |
| | | private final TContractService contractService; |
| | | |