package com.dtok.repository;

import com.dtok.entity.Script;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.query.Param;

import java.util.Date;

/**
 * @Description
 * @Author C.J
 * @Date 2024-03-09
 */

public interface ScriptRepository extends JpaRepository<Script, String>, JpaSpecificationExecutor<Script> {


    Script findFirstByUuid(@Param("uuid") String uuid);

    Script findFirstByModuleAndApp(String module,String app);
}
