package com.yc.education.mapper;

import com.yc.education.model.News;
import com.yc.education.util.MyMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface NewsMapper extends MyMapper<News> {

    @Select("select * from news order by id desc")
    List<News> listAll();



}