| | |
| | | import com.dsh.activity.feignclient.account.model.SaveUserIntegralChangesVo; |
| | | import com.dsh.activity.feignclient.course.CourseClient; |
| | | import com.dsh.activity.feignclient.course.model.Course; |
| | | import com.dsh.activity.mapper.BenefitsVideoClassificationMapper; |
| | | import com.dsh.activity.mapper.BenefitsVideosMapper; |
| | | import com.dsh.activity.model.BenefitsVideoClassificationListVo; |
| | | import com.dsh.activity.model.BenefitsVideosInfoVo; |
| | | import com.dsh.activity.model.BenefitsVideosListVo; |
| | | import com.dsh.activity.model.*; |
| | | import com.dsh.activity.service.BenefitsVideosService; |
| | | import com.dsh.activity.service.IBenefitsVideoClassificationService; |
| | | import com.dsh.activity.service.IUserBenefitsVideosService; |
| | | import com.dsh.activity.util.ToolUtil; |
| | | import org.aspectj.weaver.ast.Var; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | |
| | | @Resource |
| | | private UserIntegralChangesClient userIntegralChangesClient; |
| | | @Autowired |
| | | private BenefitsVideoClassificationMapper benefitsVideoClassificationMapper; |
| | | @Autowired |
| | | private BenefitsVideosMapper benefitsVideosMapper; |
| | | |
| | | |
| | | |
| | |
| | | userIntegralChangesClient.saveUserIntegralChanges(vo); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public List<BenefitsVideos> getBenefitVideoById(Integer id) { |
| | | return benefitsVideosMapper.getBenefitVideoById(id); |
| | | } |
| | | |
| | | @Override |
| | | public List<BenefitsVideos> getBybIdAndcId(Integer benefitsVideoClassificationId, Integer courseId) { |
| | | return benefitsVideosMapper.getBybIdAndcId(benefitsVideoClassificationId,courseId); |
| | | } |
| | | |
| | | |
| | | } |