test api 추가, 개발서버 토큰 만료시간 조정

This commit is contained in:
2025-12-11 17:06:36 +09:00
parent d18e4db060
commit ce8534cf0f
4 changed files with 227 additions and 231 deletions

View File

@@ -6,7 +6,6 @@ import org.springframework.http.HttpStatus;
@Getter @Getter
public enum AuthErrorCode implements ErrorCode { public enum AuthErrorCode implements ErrorCode {
LOGIN_ID_NOT_FOUND("LOGIN_ID_NOT_FOUND", HttpStatus.UNAUTHORIZED), LOGIN_ID_NOT_FOUND("LOGIN_ID_NOT_FOUND", HttpStatus.UNAUTHORIZED),
LOGIN_PASSWORD_MISMATCH("LOGIN_PASSWORD_MISMATCH", HttpStatus.UNAUTHORIZED), LOGIN_PASSWORD_MISMATCH("LOGIN_PASSWORD_MISMATCH", HttpStatus.UNAUTHORIZED),

View File

@@ -146,7 +146,6 @@ public class InferenceResultRepositoryImpl implements InferenceResultRepositoryC
return content; return content;
} }
/** /**
* 분석결과 상세 class name별 탐지 개수 * 분석결과 상세 class name별 탐지 개수
* *
@@ -312,9 +311,7 @@ public class InferenceResultRepositoryImpl implements InferenceResultRepositoryC
.fetch(); .fetch();
} }
/** /** Pageable의 Sort를 QueryDSL OrderSpecifier로 변환 */
* Pageable의 Sort를 QueryDSL OrderSpecifier로 변환
*/
@SuppressWarnings({"unchecked", "rawtypes"}) @SuppressWarnings({"unchecked", "rawtypes"})
private List<OrderSpecifier<?>> getOrderSpecifiers(Sort sort) { private List<OrderSpecifier<?>> getOrderSpecifiers(Sort sort) {
List<OrderSpecifier<?>> orders = new ArrayList<>(); List<OrderSpecifier<?>> orders = new ArrayList<>();
@@ -329,7 +326,8 @@ public class InferenceResultRepositoryImpl implements InferenceResultRepositoryC
// 유효한 필드만 처리 // 유효한 필드만 처리
switch (property) { switch (property) {
case "classBeforeCd" -> orders.add(new OrderSpecifier(direction, entity.classBeforeCd)); case "classBeforeCd" -> orders.add(new OrderSpecifier(direction, entity.classBeforeCd));
case "classBeforeProb" -> orders.add(new OrderSpecifier(direction, entity.classBeforeProb)); case "classBeforeProb" ->
orders.add(new OrderSpecifier(direction, entity.classBeforeProb));
case "classAfterCd" -> orders.add(new OrderSpecifier(direction, entity.classAfterCd)); case "classAfterCd" -> orders.add(new OrderSpecifier(direction, entity.classAfterCd));
case "classAfterProb" -> orders.add(new OrderSpecifier(direction, entity.classAfterProb)); case "classAfterProb" -> orders.add(new OrderSpecifier(direction, entity.classAfterProb));
case "mapSheetNum" -> orders.add(new OrderSpecifier(direction, entity.mapSheetNum)); case "mapSheetNum" -> orders.add(new OrderSpecifier(direction, entity.mapSheetNum));
@@ -339,8 +337,7 @@ public class InferenceResultRepositoryImpl implements InferenceResultRepositoryC
case "createdDttm" -> orders.add(new OrderSpecifier(direction, entity.createdDttm)); case "createdDttm" -> orders.add(new OrderSpecifier(direction, entity.createdDttm));
case "updatedDttm" -> orders.add(new OrderSpecifier(direction, entity.updatedDttm)); case "updatedDttm" -> orders.add(new OrderSpecifier(direction, entity.updatedDttm));
// 유효하지 않은 필드는 무시 // 유효하지 않은 필드는 무시
default -> { default -> {}
}
} }
} }
} }