You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package com.example.mapper;
|
|
|
|
import com.example.entity.Course;
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
|
import java.util.List;
|
|
|
|
public interface CourseMapper {
|
|
|
|
@Select("select * from course order by courseId desc")
|
|
List<Course> selectAll();
|
|
|
|
}
|