package com.yeshi.buwan.service.imp; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.yeshi.buwan.dao.VideoTypeDao; import com.yeshi.buwan.domain.VideoType; @Service public class VideoTypeService { @Autowired private VideoTypeDao dao; public VideoType getVideoType(long tid) { VideoType find = dao.find(VideoType.class, tid); return find; } }