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());
|
.orElseThrow(() -> new EntityNotFoundException());
|
||||||
|
|
||||||
if (request.getType().equals("M1")) {
|
if (request.getType().equals("M1")) {
|
||||||
entity.setM1ModelBatchId(request.getBatchId());
|
if (request.getBatchId() != null) {
|
||||||
|
entity.setM1ModelBatchId(request.getBatchId());
|
||||||
|
}
|
||||||
|
|
||||||
if (request.getModelStartDttm() != null) {
|
if (request.getModelStartDttm() != null) {
|
||||||
entity.setM1ModelStartDttm(request.getModelStartDttm());
|
entity.setM1ModelStartDttm(request.getModelStartDttm());
|
||||||
@@ -245,7 +247,9 @@ public class InferenceResultCoreService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} else if (request.getType().equals("M2")) {
|
} else if (request.getType().equals("M2")) {
|
||||||
entity.setM2ModelBatchId(request.getBatchId());
|
if (request.getBatchId() != null) {
|
||||||
|
entity.setM2ModelBatchId(request.getBatchId());
|
||||||
|
}
|
||||||
|
|
||||||
if (request.getModelStartDttm() != null) {
|
if (request.getModelStartDttm() != null) {
|
||||||
entity.setM2ModelStartDttm(request.getModelStartDttm());
|
entity.setM2ModelStartDttm(request.getModelStartDttm());
|
||||||
@@ -256,7 +260,9 @@ public class InferenceResultCoreService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} else if (request.getType().equals("M3")) {
|
} else if (request.getType().equals("M3")) {
|
||||||
entity.setM3ModelBatchId(request.getBatchId());
|
if (request.getBatchId() != null) {
|
||||||
|
entity.setM3ModelBatchId(request.getBatchId());
|
||||||
|
}
|
||||||
|
|
||||||
if (request.getModelStartDttm() != null) {
|
if (request.getModelStartDttm() != null) {
|
||||||
entity.setM3ModelStartDttm(request.getModelStartDttm());
|
entity.setM3ModelStartDttm(request.getModelStartDttm());
|
||||||
|
|||||||
Reference in New Issue
Block a user