납품데이터 등록 수정

This commit is contained in:
2026-03-25 12:37:27 +09:00
parent 50b3f1ba62
commit 531da09c5f

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();
}
}
}
}