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