day14/src/main/java/com/bwie/question/service/impl/QuestionServiceImpl.java

30 lines
699 B
Java
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.bwie.question.service.impl;
import com.bwie.common.domain.Question;
import com.bwie.question.mapper.QuestionMapper;
import com.bwie.question.service.QuestionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* @Authorweiran
* @Packagecom.bwie.question.service.impl
* @Projectweek3
* @nameQuestionServiceImpl
* @Date2024/8/7 18:40
*/
@Service
public class QuestionServiceImpl implements QuestionService {
@Autowired
private QuestionMapper questionMapper;
@Override
public List<Question> findlist() {
return questionMapper.findlist();
}
}