| | |
| | | */ |
| | | package me.zhengjie.modules.project.repository; |
| | | |
| | | import org.springframework.data.jpa.repository.Query; |
| | | import me.zhengjie.modules.project.domain.Project; |
| | | import me.zhengjie.modules.project.domain.ProjectType; |
| | | import org.springframework.data.jpa.repository.JpaRepository; |
| | | import org.springframework.data.jpa.repository.JpaSpecificationExecutor; |
| | | |
| | |
| | | * @author 华喆 |
| | | */ |
| | | List<Project> findByName(String name); |
| | | |
| | | @Query(value = "SELECT * FROM project WHERE id = ?1", nativeQuery = true) |
| | | Project findByIdUpdate(Long id); |
| | | |
| | | List<Project> findByProjectStatus(String projectStatus); |
| | | } |