admin
2021-04-03 32d6c2ea8039b4771fd6b1ded8b022733e32352f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
    }
 
}