package com.dlink.mapper;

import com.dlink.db.mapper.SuperMapper;
import com.dlink.model.Savepoints;
import org.apache.ibatis.annotations.Mapper;

/**
 * Savepoints
 *
 * @author wenmo
 * @since 2021/11/21
 **/
@Mapper
public interface SavepointsMapper extends SuperMapper<Savepoints> {

    Savepoints getLatestSavepointByTaskId(Integer id);

    Savepoints getEarliestSavepointByTaskId(Integer id);
}
