Fix: 이미지 가져오기 우선순위 설정
This commit is contained in:
parent
6a1409dbe5
commit
eec903e233
@ -21,7 +21,7 @@ public interface ImageRepository extends JpaRepository<Image, Long> {
|
||||
"join fetch i.folder f " +
|
||||
"join fetch f.project p " +
|
||||
"where p.id = :projectId " +
|
||||
"AND i.status = 'PENDING' OR i.status = 'IN_PROGRESS' ")
|
||||
"AND (i.status = 'PENDING' OR i.status = 'IN_PROGRESS') ")
|
||||
List<Image> findImagesByProjectIdAndPendingOrInProgress(@Param("projectId") Integer projectId);
|
||||
|
||||
@Query("select i from Image i " +
|
||||
|
Loading…
Reference in New Issue
Block a user