package com.rf.psychological.service.impl;

import com.rf.psychological.dao.model.AviationEntity;
import com.rf.psychological.dao.repository.AviationRepository;
import com.rf.psychological.service.AviationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zzf
 * @description:
 * @date 2021/1/20 17:50
 */
@Service

public class AviationServiceImpl implements AviationService {
    @Autowired
    private AviationRepository aviationRepository;
    /**
     * 全量查询
     *
     * @return
     */
    @Override
    public List<AviationEntity> findAll() {
        return this.aviationRepository.findAll();
    }
}
