Merge pull request '[KC-108] 추론실행 파라미터 변경' (#216) from feat/infer_dev_260107 into develop
Reviewed-on: https://kamco.gitea.gs.dabeeo.com/dabeeo/kamco-dabeeo-backoffice/pulls/216
This commit is contained in:
@@ -234,7 +234,9 @@ public class InferenceResultCoreService {
|
||||
.orElseThrow(() -> new EntityNotFoundException());
|
||||
|
||||
if (request.getType().equals("M1")) {
|
||||
if (request.getBatchId() != null) {
|
||||
entity.setM1ModelBatchId(request.getBatchId());
|
||||
}
|
||||
|
||||
if (request.getModelStartDttm() != null) {
|
||||
entity.setM1ModelStartDttm(request.getModelStartDttm());
|
||||
@@ -245,7 +247,9 @@ public class InferenceResultCoreService {
|
||||
}
|
||||
|
||||
} else if (request.getType().equals("M2")) {
|
||||
if (request.getBatchId() != null) {
|
||||
entity.setM2ModelBatchId(request.getBatchId());
|
||||
}
|
||||
|
||||
if (request.getModelStartDttm() != null) {
|
||||
entity.setM2ModelStartDttm(request.getModelStartDttm());
|
||||
@@ -256,7 +260,9 @@ public class InferenceResultCoreService {
|
||||
}
|
||||
|
||||
} else if (request.getType().equals("M3")) {
|
||||
if (request.getBatchId() != null) {
|
||||
entity.setM3ModelBatchId(request.getBatchId());
|
||||
}
|
||||
|
||||
if (request.getModelStartDttm() != null) {
|
||||
entity.setM3ModelStartDttm(request.getModelStartDttm());
|
||||
|
||||
Reference in New Issue
Block a user