You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* build: QueryDsl 설정 적용
- Persistence 모듈에 적용
- Spring Boot 2.* 버전에 맞는 설정 적용
* build: QueryDsl Qclass에 checkStyle이 적용되지 않도록 수정
* build: Qclass 생성 경로 수정
- 자동으로 gitIgnore에 포함되도록 수정
* build: compileQueryDsl 을 수행하는 플러그인 제거
- 해당 플러그인은 Qclass 생성을 compileJava와 분리하여 단독적으로 사용하기 위한 플러그인이지만,
QClass 중복 생성 오류, 롬복 및 코틀린 코드 인식 불가능 오류등이 발생하여 제거
* build: QueryDsl 사용을 위한 JpaQueryFactory를 빈으로 등록
JpaConfig 클래스를 Persistence 모듈로 이동
* refactor: 문제의 댓글을 가져오는 쿼리 메소드를 QueryDsl로 수정
* refactor: QuestionRepository을 제네릭 기반으로 설정하여 재사용성 향상
* style: View - 면접식 문제 페이지 변수 수정
* refactor: MajorDescriptiveQuestion의 findAllSortedByIfApproved()메소드를 queryDsl로 변환
* refactor: Levels, Category, Approved에 따른 BooleanBuilder 만드는 로직을 인터페이스의 default로직으로 분리
- 재사용성 향상
* refactor: MajorMultipleChoiceQuestionJpaRepository에서 쓰이지 않는 쿼리 메소드 제거
* refactor: MajorMultipleChoiceDbService 삭제
- 기존 메소드를 MajorMultipleChoiceRepository에서 queryDsl로 구현
* refactor: MajorMultipleChoiceQuestionJpaRepository의 모든 커스텀 메소드를 MajorMultipleCHoiceQuestionRepository에서 QueryDsl로 구현
* refactor: QuestionQueryDslMaker가 Question에 국한되지 않도록 제네릭의 범위를 수정
* refactor: LicenseMultipleChoiceQuestionJpaRepository를 제거
- 모든 메소드를 QueryDsl기반의 LicenseMultipleChoiceQuestionRepository에 구현
* style: 패키지 구조 수정
* refactor: QuestionRepository가 제네릭 기반으로 수행되지 않도록 수정
- 스프링은 인터페이스가 아닌 구현체를 기준으로 빈을 등록되기 떄문에 제네릭 타입이 다르다고 다수의 빈이 생성되지 않음
- 쓰이지않는 JpaRepository 제거
* refactor: QuestionRepositoryService, QuestionRepository이 제네릭이 아닌 Question만을 반환하도록 수정
* build: Core 모듈이 JPA에 의존하도록 수정
JpaRepository를 바로 호출하도록하기 위함
* build: JPA가 모든 모듈에 적용되도록 수정
* refactor: QuesitonRepostoryService를 삭제하고 코어모듈이 JpaRepository의 기본 메소드를 바로 사용할 수 있도록 수정
* refactor: Core모듈이 Comment,Member의 JpaRepository를 사용하도록 수정
* style: Dsl을 사용하는 Repository가 클래스에 Dsl 키워드를 포함하도록 수정
* style: 코드 컨벤션 적용
Copy file name to clipboardexpand all lines: application/src/main/java/com/comssa/api/question/controller/rest/license/AdminLicenseQuestionController.java
+2-1
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ public class AdminLicenseQuestionController {
Copy file name to clipboardexpand all lines: application/src/main/java/com/comssa/api/question/service/rest/common/implement/BasicQuestionSelectorService.java
Copy file name to clipboardexpand all lines: application/src/main/java/com/comssa/api/question/service/rest/common/implement/QuestionChoiceGradeService.java
Copy file name to clipboardexpand all lines: application/src/main/java/com/comssa/api/question/service/rest/common/implement/QuestionChoiceService.java
Copy file name to clipboardexpand all lines: application/src/main/java/com/comssa/api/question/service/rest/common/implement/QuestionChoiceUpdateService.java
Copy file name to clipboardexpand all lines: application/src/main/java/com/comssa/api/question/service/rest/common/implement/QuestionUpdateService.java
Copy file name to clipboardexpand all lines: application/src/main/java/com/comssa/api/question/service/rest/license/implement/AdminLicenseQuestionGetService.java
Copy file name to clipboardexpand all lines: application/src/main/java/com/comssa/api/question/service/rest/license/implement/AdminLicenseQuestionMakeService.java
Copy file name to clipboardexpand all lines: application/src/main/java/com/comssa/api/question/service/rest/license/implement/LicenseSessionService.java
Copy file name to clipboardexpand all lines: application/src/main/java/com/comssa/api/question/service/rest/license/implement/UserLicenseQuestionGetService.java
Copy file name to clipboardexpand all lines: application/src/main/java/com/comssa/api/question/service/rest/major/implement/BasicAdminMajorQuestionClassifiedGetService.java
0 commit comments