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.
27 lines
507 B
27 lines
507 B
package com.milotnt.mapper;
|
|
|
|
import com.milotnt.pojo.RecordTable;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @author lhl
|
|
* @date 24/11
|
|
*/
|
|
|
|
@Mapper
|
|
public interface RecordTableMapper {
|
|
|
|
//查询所有课程
|
|
List<RecordTable> findAll(Integer ruser);
|
|
|
|
//根据id删除课程
|
|
Boolean deleteRecord(Integer recordId, Integer ruser);
|
|
|
|
//添加课程
|
|
Boolean insertRecord(RecordTable recordTable);
|
|
|
|
List<RecordTable> selectRecord(Integer recordId);
|
|
}
|