This commit is contained in:
leeheejin
2025-12-02 18:21:08 +09:00
parent eeba0c6f9e
commit 463adeee87

View File

@@ -3021,7 +3021,8 @@ public class PurchaseOrderService {
HashMap hm = new HashMap();
hm.put(Constants.Db.COL_FILE_REAL_NAME, zf.getName());
hm.put(Constants.Db.COL_FILE_SAVED_NAME, zf.getName());
hm.put(Constants.Db.COL_FILE_PATH, zf.getPath().replace("\\" + zf.getName(), ""));
// 파일 경로에서 파일명을 제거하고 디렉토리 경로만 추출 (OS 독립적)
hm.put(Constants.Db.COL_FILE_PATH, zf.getParent());
attachFileList.add(hm);
}
}