fix: 엑셀 파일 경로 구분자를 File.separator로 변경 (Linux 환경 FileNotFoundException 수정)

Windows 백슬래시(\) 하드코딩으로 Linux 환경에서 파일을 찾지 못하는 버그 수정
- 11개 파일, 15군데 path+"\\"+fileName → path + File.separator + fileName
- File import 누락된 4개 파일에 import 추가

Made-with: Cursor
This commit is contained in:
2026-03-03 13:41:21 +09:00
parent 2dc3f34b39
commit ea5c6d53a7
11 changed files with 19 additions and 15 deletions

View File

@@ -958,7 +958,7 @@ public class OrderMgmtService {
String fileName = CommonUtils.checkNull(fileMap.get("SAVED_FILE_NAME"));
FileInputStream fis = new FileInputStream(path+"\\"+fileName);
FileInputStream fis = new FileInputStream(path + File.separator + fileName);
XSSFWorkbook workBook = new XSSFWorkbook(fis);
FormulaEvaluator formulaEval = workBook.getCreationHelper().createFormulaEvaluator();
XSSFSheet sheet = workBook.getSheetAt(0);
@@ -1189,7 +1189,7 @@ public class OrderMgmtService {
String path = CommonUtils.checkNull(fileMap.get("FILE_PATH"));
String fileName = CommonUtils.checkNull(fileMap.get("SAVED_FILE_NAME"));
FileInputStream fis = new FileInputStream(path+"\\"+fileName);
FileInputStream fis = new FileInputStream(path + File.separator + fileName);
XSSFWorkbook workBook = new XSSFWorkbook(fis);
XSSFSheet sheet = workBook.getSheetAt(0);
HashMap partMap = new HashMap();