代码提交
This commit is contained in:
@@ -5,6 +5,7 @@ import java.util.List;
|
||||
import javax.transaction.Transactional;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.domain.Example;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.yaoyuan.jiscuss.entity.Tags;
|
||||
@@ -26,6 +27,11 @@ public class TagsServiceImpl implements ITagsService {
|
||||
public Tags insert(Tags tags) {
|
||||
return tagsRepository.save(tags);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<Tags> findByDId(Integer id) {
|
||||
return tagsRepository.findByDId(id);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user