churf
2023-08-09 b94044936656e73438ccc689c970c9e80518c175
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/project/repository/ProjectRepository.java
@@ -78,4 +78,7 @@
     */
    @Query(value = "SELECT * FROM project WHERE project_distinguish = ?1 AND plan_start_date LIKE concat(?2,'%')", nativeQuery = true)
    List<Project> findProjectByProjectDistinguishAndTargetYear(String projectDistinguish, String targetYear);
    @Query(value = "select id from project where id = ?1",nativeQuery = true)
    Long findByProjectId(Long id);
}