admin
2021-02-06 e2c6372f29ae0a93d9f672ffad4613581ba3e201
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.newvideo.service.imp;
 
import javax.annotation.Resource;
 
import org.springframework.stereotype.Service;
 
import com.newvideo.dao.VideoInfoDao;
import com.newvideo.domain.VideoInfo;
 
@Service
public class VideoInfoService {
    
    @Resource
    private VideoInfoDao dao;
    
    public VideoInfo getVideoInfo(String id) {
        return dao.find(VideoInfo.class, id);
    }
 
}