package cn.palmte.work.model;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface ProjectExtendRepository extends JpaRepository<ProjectExtend, Integer> {

    @Query(value = "SELECT * FROM project_extend WHERE project_id = ?1", nativeQuery = true)
    ProjectExtend findByProjectId(int id);

}
