[KC-108] ai api batch 작업중
This commit is contained in:
@@ -304,9 +304,11 @@ public class InferenceResultCoreService {
|
|||||||
|
|
||||||
public InferenceBatchSheet getInferenceResultByStatus(String status) {
|
public InferenceBatchSheet getInferenceResultByStatus(String status) {
|
||||||
MapSheetLearnEntity entity =
|
MapSheetLearnEntity entity =
|
||||||
mapSheetLearnRepository
|
mapSheetLearnRepository.getInferenceResultByStatus(status).orElse(null);
|
||||||
.getInferenceResultByStatus(status)
|
|
||||||
.orElseThrow(() -> new EntityNotFoundException(status));
|
if (entity == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
InferenceBatchSheet inferenceBatchSheet = new InferenceBatchSheet();
|
InferenceBatchSheet inferenceBatchSheet = new InferenceBatchSheet();
|
||||||
inferenceBatchSheet.setId(entity.getId());
|
inferenceBatchSheet.setId(entity.getId());
|
||||||
|
|||||||
Reference in New Issue
Block a user