SubjectServiceImpl.java 642 Bytes
package com.bsth.service.subject.impl;

import com.bsth.entity.subject.Subject;
import com.bsth.repository.subject.SubjectRepository;
import com.bsth.service.impl.BaseServiceImpl;
import com.bsth.service.subject.SubjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SubjectServiceImpl extends BaseServiceImpl<Subject, Integer> implements SubjectService {

    @Autowired
    SubjectRepository subjectRepository;

    @Override
    public List<Subject> subjectAll() {
        return subjectRepository.subjectAll();
    }

}