package com.qqchen.deploy.backend.deploy.repository;

import com.qqchen.deploy.backend.framework.repository.IBaseRepository;
import com.qqchen.deploy.backend.deploy.entity.DeployLog;
import org.springframework.stereotype.Repository;

import java.util.Optional;

/**
 * 部署日志 Repository
 */
@Repository
public interface IDeployLogRepository extends IBaseRepository<DeployLog, Long> {
    Optional<DeployLog> findTop1ByApplicationIdOrderByCreateTimeDesc(Long id);

} 