| | |
| | | .between(AppUserViewingHistory::getCreateTime, startOfDay, endOfDay).list(); |
| | | int temp = 0; |
| | | for (AppUserViewingHistory appUserViewingHistory : list) { |
| | | temp += appUserViewingHistory.getTimeLook(); |
| | | if (appUserViewingHistory.getTimeLook()!=null){ |
| | | temp += appUserViewingHistory.getTimeLook(); |
| | | |
| | | } |
| | | } |
| | | AppUserTree one = appUserTreeService.lambdaQuery().eq(AppUserTree::getAppUserId, userId) |
| | | .eq(AppUserTree::getSowAgain, 2).one(); |
| | |
| | | Long userId = loginUser.getUserid(); |
| | | if(userId ==null || userId == 0)return R.tokenError("登录失效"); |
| | | AppUser byId = appUserService.getById(userId); |
| | | System.err.println("调用是否弹窗"+byId.getIsFirst()); |
| | | if (byId.getIsFirst() == 1){ |
| | | byId.setIsFirst(2); |
| | | appUserService.updateById(byId); |