영상관리 업로드 경로 수정

This commit is contained in:
2026-01-27 20:53:55 +09:00
parent 22193d5200
commit 74fee4b133

View File

@@ -183,7 +183,7 @@ public class MapSheetMngService {
mapSheetMngCoreService.findYyyyToMapSheetFilePathRefer(errDto.getMngYyyy());
String referPath = filesDto.getFilePath();
uploadPath =
Paths.get(referPath).getParent().toString()
Paths.get(referPath).getParent().getParent().toString()
+ "/"
+ errDto.getRefMapSheetNum()
+ "/"
@@ -390,7 +390,10 @@ public class MapSheetMngService {
MngFilesDto filesDto =
mapSheetMngCoreService.findYyyyToMapSheetFilePathRefer(errDto.getMngYyyy());
String referPath = filesDto.getFilePath();
uploadPath = Paths.get(referPath).getParent().toString() + "/" + errDto.getRefMapSheetNum();
uploadPath =
Paths.get(referPath).getParent().getParent().toString()
+ "/"
+ errDto.getRefMapSheetNum();
}
upAddReqDto.setFinalPath(uploadPath + "/");