Merge pull request 'feat/infer_dev_260107' (#241) from feat/infer_dev_260107 into develop

Reviewed-on: https://kamco.gitea.gs.dabeeo.com/dabeeo/kamco-dabeeo-backoffice/pulls/241
This commit is contained in:
2026-01-15 12:39:11 +09:00
2 changed files with 3 additions and 1 deletions

View File

@@ -88,7 +88,8 @@ public class ModelMngService {
|| modelUploadResDto.getClsModelFileName() == null || modelUploadResDto.getClsModelFileName() == null
|| modelUploadResDto.getClsModelFileName().isEmpty()) { || modelUploadResDto.getClsModelFileName().isEmpty()) {
return new ApiResponseDto.ResponseObj(ApiResponseCode.NOT_FOUND, "파일이 존재하지 않습니다"); return new ApiResponseDto.ResponseObj(
ApiResponseCode.NOT_FOUND, "pth,json,py파일이 모두 존재하지 않습니다");
} }
addReq.setCdModelPath(modelUploadResDto.getCdModelPath()); addReq.setCdModelPath(modelUploadResDto.getCdModelPath());

View File

@@ -190,6 +190,7 @@ public class UploadService {
upAddReqDto.setStatus("UPLOADING"); upAddReqDto.setStatus("UPLOADING");
upRes.setUuid(upAddReqDto.getUuid()); upRes.setUuid(upAddReqDto.getUuid());
uploadSessionCoreService.createUploadSession(upAddReqDto); uploadSessionCoreService.createUploadSession(upAddReqDto);
dto = uploadSessionCoreService.findByUuid(upAddReqDto.getUuid());
} else { } else {
if (dto == null) { if (dto == null) {
upRes.setRes("nosession"); upRes.setRes("nosession");