| | |
| | | import org.springframework.scheduling.annotation.Scheduled; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import com.yeshi.buwan.domain.LoginUser; |
| | | import com.yeshi.buwan.domain.user.LoginUser; |
| | | import com.yeshi.buwan.domain.push.VideoPushHistory; |
| | | import com.yeshi.buwan.service.imp.AttentionService; |
| | | import com.yeshi.buwan.service.imp.SystemService; |
| | |
| | | List<VideoPushHistory> list = pushService.getUnPushVideoPushHistory();// 获取任务列表 |
| | | for (VideoPushHistory vp : list) { |
| | | List<LoginUser> userList = attentionService.getUserListByAttentionVideo(vp.getVideoInfo().getId()); |
| | | List<String> androidUserList = new ArrayList<String>(); |
| | | List<String> iosUserList = new ArrayList<String>(); |
| | | List<String> androidUserList = new ArrayList<>(); |
| | | List<String> iosUserList = new ArrayList<>(); |
| | | for (LoginUser lu : userList) { |
| | | // if |
| | | // (systemService.getDetailSystemById(lu.getDetailsystem()).getPlatform() |