추론실행할때 회차 저장 제거

This commit is contained in:
2026-01-16 17:03:28 +09:00
parent b77ae9ed68
commit d4bad6485e
3 changed files with 68 additions and 67 deletions

View File

@@ -277,7 +277,8 @@ public class InferenceResultCoreService {
private void applyModelUpdate(MapSheetLearnEntity entity, SaveInferenceAiDto request) { private void applyModelUpdate(MapSheetLearnEntity entity, SaveInferenceAiDto request) {
switch (request.getType()) { switch (request.getType()) {
case "M1" -> applyModelFields( case "M1" ->
applyModelFields(
request, request,
entity::setM1ModelBatchId, entity::setM1ModelBatchId,
entity::setM1ModelStartDttm, entity::setM1ModelStartDttm,
@@ -286,7 +287,8 @@ public class InferenceResultCoreService {
entity::setM1RunningJobs, entity::setM1RunningJobs,
entity::setM1CompletedJobs, entity::setM1CompletedJobs,
entity::setM1FailedJobs); entity::setM1FailedJobs);
case "M2" -> applyModelFields( case "M2" ->
applyModelFields(
request, request,
entity::setM2ModelBatchId, entity::setM2ModelBatchId,
entity::setM2ModelStartDttm, entity::setM2ModelStartDttm,
@@ -295,7 +297,8 @@ public class InferenceResultCoreService {
entity::setM2RunningJobs, entity::setM2RunningJobs,
entity::setM2CompletedJobs, entity::setM2CompletedJobs,
entity::setM2FailedJobs); entity::setM2FailedJobs);
case "M3" -> applyModelFields( case "M3" ->
applyModelFields(
request, request,
entity::setM3ModelBatchId, entity::setM3ModelBatchId,
entity::setM3ModelStartDttm, entity::setM3ModelStartDttm,

View File

@@ -5,6 +5,4 @@ import org.springframework.data.jpa.repository.JpaRepository;
public interface InferenceResultsTestingRepository public interface InferenceResultsTestingRepository
extends JpaRepository<InferenceResultsTestingEntity, Long>, extends JpaRepository<InferenceResultsTestingEntity, Long>,
InferenceResultsTestingRepositoryCustom { InferenceResultsTestingRepositoryCustom {}
}