package com.tykj.dev.device.confirmcheck.repository;

import com.tykj.dev.device.confirmcheck.entity.domain.DeviceCheckLink;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.Optional;

/**
 * DeviceCheckLinkDao.
 *
 * @author Matrix <xhyrzldf@gmail.com>
 * @since 2021/9/24 at 11:05 上午
 */
@Repository
public interface DeviceCheckLinkDao extends JpaRepository<DeviceCheckLink, Integer>, JpaSpecificationExecutor<DeviceCheckLink> {

    Optional<DeviceCheckLink> findByStatId(Integer statId);
}
