| | |
| | | import javax.annotation.Resource; |
| | | |
| | | import com.yeshi.buwan.service.inter.VideoResourceMapExtraInfoService; |
| | | import com.yeshi.buwan.service.inter.video.VideoInfoExtraService; |
| | | import org.hibernate.CacheMode; |
| | | import org.hibernate.HibernateException; |
| | | import org.hibernate.Session; |
| | |
| | | private VideoInfoDao videoInfoDao; |
| | | @Resource |
| | | private SuperVideoTypeDao superVideoTypeDao; |
| | | |
| | | @Resource |
| | | private VideoResourceMapExtraInfoService videoResourceMapExtraInfoService; |
| | | private VideoInfoExtraService videoInfoExtraService; |
| | | |
| | | public List<VideoType> getTypeList() { |
| | | List<VideoType> list = videoTypeDao.list("from VideoType v where v.show='1' and v.parent=null"); |
| | |
| | | dataList.add(info); |
| | | } |
| | | |
| | | dataList = videoResourceMapExtraInfoService.batchExtraInfo(dataList, resourceIdList); |
| | | dataList = videoInfoExtraService.batchExtra(dataList, resourceIdList); |
| | | |
| | | return dataList; |
| | | } |