fix: K) 위원회 일정관리 날짜형식 변경
parent
964b0ebf34
commit
52cfa4a257
|
|
@ -89,14 +89,16 @@ public class FileService {
|
|||
// 업로드된 file을 tnAttachFile에 insert한다.
|
||||
for (Iterator<FileVO> iter = fileVoList.iterator(); iter.hasNext(); nCount++) {
|
||||
|
||||
FileVO item = iter.next();
|
||||
FileVO item = iter.next();
|
||||
|
||||
String fileNewName = item.getStreFileNm() + "." + item.getFileExtsn();
|
||||
String filePath = (item.getFileStreCours() + File.separator + item.getAtchFileId()).replaceAll("\\\\", "/") + fileNewName;
|
||||
tnAttachFileRepository.spAddTnAttachFile(
|
||||
fileGrpId,
|
||||
nCount,
|
||||
item.getOrignlFileNm(),
|
||||
item.getStreFileNm() + "." + item.getFileExtsn(),
|
||||
(item.getFileStreCours() + File.separator + item.getAtchFileId()).replaceAll("\\\\", "/"),
|
||||
fileNewName,
|
||||
filePath,
|
||||
Long.parseLong(item.getFileMg()),
|
||||
item.getFileExtsn(),
|
||||
ipAddress,
|
||||
|
|
@ -133,7 +135,7 @@ public class FileService {
|
|||
throw new Exception("대상이 존재하지 않습니다.");
|
||||
}
|
||||
|
||||
String fileFullPath = tnAttachFile.getFilePath() + tnAttachFile.getFileNewName();
|
||||
String fileFullPath = tnAttachFile.getFilePath();
|
||||
|
||||
File file = new File(fileFullPath);
|
||||
file.delete();
|
||||
|
|
|
|||
Loading…
Reference in New Issue