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.
32 lines
651 B
32 lines
651 B
package com.milotnt.mapper;
|
|
|
|
import com.milotnt.pojo.RecordTable;
|
|
import com.milotnt.pojo.TargetRecord;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @author lhl
|
|
* @date 24/11
|
|
*/
|
|
|
|
@Mapper
|
|
public interface TargetRecordMapper {
|
|
|
|
//查询所有课程
|
|
List<TargetRecord> findAll();
|
|
|
|
//根据id删除课程
|
|
Boolean deleteTargetRecord(String tDate);
|
|
|
|
//添加预期目标
|
|
Boolean insertTargetRecord(TargetRecord targetRecord);
|
|
|
|
List<TargetRecord> selectTargetRecord(String tDate);
|
|
|
|
List<TargetRecord> findLatestTargetRecord();
|
|
|
|
List<TargetRecord> findLatestTargetRecord(Integer ruser);
|
|
}
|