package top.lejings.demo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.lejings.demo.mapper.AnnouncementsMapper;
import top.lejings.demo.pojo.Announcements;
import top.lejings.demo.service.AnnouncementsService;

import java.util.List;

@Service
public class AnnouncementsServiceImpl implements AnnouncementsService {
    @Autowired
    private AnnouncementsMapper announcementsMapper;


    @Override
    public List<Announcements> announcementsAll() {return announcementsMapper.announcementsAll();}
}
