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:
@@ -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());
|
||||||
|
|||||||
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user