Skip to content

Commit

Permalink
Merge pull request #200 from twenty-three-23/feature/TT-237
Browse files Browse the repository at this point in the history
!TT-237 테마 아래에 모든 메이저 버전이 생성됨
  • Loading branch information
snacktime81 authored Jul 12, 2024
2 parents 4b6c36f + ac3fe67 commit aab331c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public interface ScriptRepository extends JpaRepository<ScriptEntity, Long> {
@Query("select s from ScriptEntity s " +
"join fetch VersionEntity v " +
"on s.version.majorVersion = v.majorVersion and s.version.minorVersion = v.minorVersion and s.version.ThemeEntity.themeId = v.ThemeEntity.themeId " +
"where v.minorVersion = 0")
"where v.ThemeEntity.themeId = :themeid and v.minorVersion = 0")
List<ScriptEntity> findMajorScriptByThemeId(Long themeId);

@Query("select s from ScriptEntity s " +
Expand Down

0 comments on commit aab331c

Please sign in to comment.