30 lines
596 B
Java
30 lines
596 B
Java
package com.backend.webbackend.mapper;
|
|
|
|
import com.backend.webbackend.domain.Course;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @author Quella
|
|
* @description 针对表【course(课程表)】的数据库操作Mapper
|
|
* @createDate 2026-01-12 16:27:05
|
|
* @Entity generator.domain.Course
|
|
*/
|
|
public interface CourseMapper {
|
|
|
|
int deleteByPrimaryKey(Long id);
|
|
|
|
int insert(Course record);
|
|
|
|
int insertSelective(Course record);
|
|
|
|
Course selectByPrimaryKey(Long id);
|
|
|
|
List<Course> selectAllCourses();
|
|
|
|
int updateByPrimaryKeySelective(Course record);
|
|
|
|
int updateByPrimaryKey(Course record);
|
|
|
|
}
|