납품데이터 등록 수정 #171

Merged
teddy merged 1 commits from feat/training_260324 into develop 2026-03-25 12:38:56 +09:00
Showing only changes of commit 531da09c5f - Show all commits

View File

@@ -712,9 +712,6 @@ public class DatasetService {
String targetYyyy = fileNameStr[2];
String mapSheetNum = fileNameStr[3];
int batchSize = 500;
int i = 0;
if (json != null && json.path("features") != null && !json.path("features").isEmpty()) {
for (JsonNode feature : json.path("features")) {
@@ -755,12 +752,6 @@ public class DatasetService {
} else {
datasetCoreService.insertDatasetTestObj(objRegDto);
}
// batch flush
if (++i % batchSize == 0) {
em.flush();
em.clear();
}
}
}
}