|  | @@ -161,7 +161,9 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
 | 
	
		
			
				|  |  |          FsUserCourseVideo courseVideo = fsUserCourseVideoMapper.selectFsUserCourseVideoByVideoId(videoId);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          BeanCopyUtils.copy(courseVideo,fsUserCourseVideoQVO);
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | +        if (courseVideo.getRedPacketMoney()!=null){
 | 
	
		
			
				|  |  | +            fsUserCourseVideoQVO.setRedPacketMoney(courseVideo.getRedPacketMoney().toString());
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  |          if (StringUtils.isNotEmpty(courseVideo.getQuestionBankId())){
 | 
	
		
			
				|  |  |              List<FsCourseQuestionBank> fsCourseQuestionBanks = courseQuestionBankMapper.selectFsCourseQuestionBankByIdVO(courseVideo.getQuestionBankId().split(","));
 | 
	
		
			
				|  |  |              fsUserCourseVideoQVO.setQuestionBankList(fsCourseQuestionBanks);
 | 
	
	
		
			
				|  | @@ -656,14 +658,17 @@ public class FsUserCourseVideoServiceImpl implements IFsUserCourseVideoService
 | 
	
		
			
				|  |  |          if (param.getLinkType() != null && param.getLinkType() == 1) {
 | 
	
		
			
				|  |  |              FsCourseRedPacketLog packetLog = redPacketLogMapper.selectFsCourseRedPacketLogByTemporary(param.getVideoId(), param.getUserId());
 | 
	
		
			
				|  |  |              if (packetLog != null) {
 | 
	
		
			
				|  |  | +                System.out.println("奖励已发放1");
 | 
	
		
			
				|  |  |                  return R.error("奖励已发放");
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          } else {
 | 
	
		
			
				|  |  |              log = courseWatchLogMapper.getWatchCourseVideo(param.getUserId(), param.getVideoId(), param.getQwUserId(), param.getQwExternalId());
 | 
	
		
			
				|  |  |              if (log == null) {
 | 
	
		
			
				|  |  | +                System.out.println("无记录");
 | 
	
		
			
				|  |  |                  return R.error("无记录");
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              if (log.getRewardType() != null) {
 | 
	
		
			
				|  |  | +                System.out.println("奖励已发放2");
 | 
	
		
			
				|  |  |                  return R.error("奖励已发放");
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |          }
 |