| | |
| | | import com.ruoyi.system.dto.SysDashboardOverviewRequest; |
| | | import com.ruoyi.system.mapper.SysDashboardMapper; |
| | | import com.ruoyi.system.service.ISysDashboardService; |
| | | import com.ruoyi.system.service.ISysVisitorRecordService; |
| | | import com.ruoyi.system.vo.SysDashboardOverviewVO; |
| | | import com.ruoyi.system.vo.SysDashboardRegisterSummaryVO; |
| | | import com.ruoyi.system.vo.SysDashboardStatusSummaryVO; |
| | |
| | | @Autowired |
| | | private SysDashboardMapper dashboardMapper; |
| | | |
| | | @Autowired |
| | | private ISysVisitorRecordService visitorRecordService; |
| | | |
| | | @Override |
| | | public SysDashboardOverviewVO overview(SysDashboardOverviewRequest request) |
| | | { |
| | | visitorRecordService.refreshVisitorStatus(); |
| | | DateRange range = resolveDateRange(request); |
| | | SysDashboardOverviewVO overview = new SysDashboardOverviewVO(); |
| | | overview.setPeriodType(range.getPeriodType()); |