[KC-108] ai api batch 작업중

This commit is contained in:
2026-01-12 21:16:50 +09:00
parent b63fabe6cc
commit 88647180b8
2 changed files with 1 additions and 11 deletions

View File

@@ -1,5 +1,6 @@
package com.kamco.cd.kamcoback.postgres.repository.Inference; package com.kamco.cd.kamcoback.postgres.repository.Inference;
import com.kamco.cd.kamcoback.inference.dto.InferenceProgressDto;
import com.kamco.cd.kamcoback.inference.dto.InferenceResultDto; import com.kamco.cd.kamcoback.inference.dto.InferenceResultDto;
import com.kamco.cd.kamcoback.inference.dto.InferenceResultDto.InferenceServerStatusDto; import com.kamco.cd.kamcoback.inference.dto.InferenceResultDto.InferenceServerStatusDto;
import com.kamco.cd.kamcoback.inference.dto.InferenceResultDto.InferenceStatusDetailDto; import com.kamco.cd.kamcoback.inference.dto.InferenceResultDto.InferenceStatusDetailDto;
@@ -21,7 +22,5 @@ public interface MapSheetLearnRepositoryCustom {
Optional<InferenceProgressDto> getInferenceAiResultById(Long id); Optional<InferenceProgressDto> getInferenceAiResultById(Long id);
Optional<MapSheetLearnEntity> getInferenceResultByStatus(String status);
public InferenceStatusDetailDto getInferenceStatus(UUID uuid); public InferenceStatusDetailDto getInferenceStatus(UUID uuid);
} }

View File

@@ -94,15 +94,6 @@ public class MapSheetLearnRepositoryImpl implements MapSheetLearnRepositoryCusto
.fetchOne()); .fetchOne());
} }
@Override
public Optional<MapSheetLearnEntity> getInferenceResultByStatus(String status) {
return Optional.ofNullable(
queryFactory
.selectFrom(mapSheetLearnEntity)
.where(mapSheetLearnEntity.status.eq(status))
.fetchFirst());
}
@Override @Override
public List<InferenceServerStatusDto> getInferenceServerStatusList() { public List<InferenceServerStatusDto> getInferenceServerStatusList() {