| | |
| | | import com.ycl.platform.domain.param.UY.RecordMetaDSumParam; |
| | | import com.ycl.platform.domain.result.HK.SnapshotDataMonitorResult; |
| | | import com.ycl.platform.domain.result.UY.QueryVqdResult; |
| | | import com.ycl.platform.mapper.PlatformOnlineMapper; |
| | | import com.ycl.platform.service.PlatformOnlineService; |
| | | import com.ycl.utils.DateUtils; |
| | | import constant.ApiConstants; |
| | | import constant.CalculationStrategyConstants; |
| | |
| | | public class VideoTask { |
| | | @Autowired |
| | | private MongoTemplate mongoTemplate; |
| | | @Autowired |
| | | private PlatformOnlineMapper platformOnlineMapper; |
| | | |
| | | public void siteOnlineTask(){ |
| | | Date yesterday = DateUtils.addDays(new Date(), -1); |
| | |
| | | } |
| | | public void platformOnlineTask(){ |
| | | //计算平台在线率 |
| | | //拿到今日离线时长数据 |
| | | Integer time = platformOnlineMapper.sumOffTime(DateUtils.getMouthStart(new Date()),DateUtils.getMouthEnd(new Date())); |
| | | |
| | | } |
| | | } |