[KC-108] 상태 코드명 추가, 분석도엽 추론제외 조건 추가
This commit is contained in:
@@ -87,7 +87,7 @@ public class ModelMngService {
|
||||
modelMetricAddReq.setIou(0);
|
||||
|
||||
ObjectMapper mapper = new ObjectMapper();
|
||||
String filePath = addReq.getClsModelPath()+addReq.getClsModelFileName();
|
||||
String filePath = addReq.getClsModelPath() + addReq.getClsModelFileName();
|
||||
String dataJson = null;
|
||||
try {
|
||||
dataJson = Files.readString(Path.of(filePath));
|
||||
@@ -109,7 +109,6 @@ public class ModelMngService {
|
||||
return new ApiResponseDto.ResponseObj(ApiResponseCode.NOT_FOUND, "JSON파일 오류");
|
||||
}
|
||||
|
||||
|
||||
modelMngCoreService.insertModelResultMetric(modelMetricAddReq);
|
||||
|
||||
return new ApiResponseDto.ResponseObj(ApiResponseDto.ApiResponseCode.OK, "등록되었습니다.");
|
||||
|
||||
Reference in New Issue
Block a user