package com.ruoshui.flink.mapper;

import com.ruoshui.flink.streaming.web.model.entity.SavepointBackup;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SavepointBackupMapper {

    int insert(SavepointBackup savepointBackup);

    List<SavepointBackup> selectByLimt10(@Param("jobConfigId") Long jobConfigId);


    SavepointBackup getSavepointBackupById(@Param("jobConfigId") Long jobConfigId, @Param("id") Long id);


}
