임시파일 저장경로 수정

main
이범준 7 months ago
parent 581390d828
commit e4ec93bde8

@ -415,7 +415,7 @@ public class FileController extends cokr.xit.base.file.web.FileController {
SimpleDateFormat ymdhmsFormat = new SimpleDateFormat("yyyyMMddHHmmss"); SimpleDateFormat ymdhmsFormat = new SimpleDateFormat("yyyyMMddHHmmss");
String currentTime = ymdhmsFormat.format(new Date()); String currentTime = ymdhmsFormat.format(new Date());
String folderPath = "files/tempForProcess"; String folderPath = "files/temp/uploadFirst";
File folder = new File(folderPath); File folder = new File(folderPath);
folder.mkdirs(); folder.mkdirs();
String filePath = folderPath + "/"+currentTime+"."+extension; String filePath = folderPath + "/"+currentTime+"."+extension;

@ -471,7 +471,7 @@ public class CrdnServiceBean extends AbstractServiceBean implements CrdnService
linkFileMaker.setGujesiStng(gujesi); linkFileMaker.setGujesiStng(gujesi);
} }
String workPath = "files/temp/"+crdnInfo.string("SGG_CD")+"/"+crdnInfo.string("CRDN_ID"); String workPath = "files/temp/sendCrdn/"+crdnInfo.string("SGG_CD")+"/"+crdnInfo.string("CRDN_ID");
File workFolder = new File(workPath); File workFolder = new File(workPath);
if(workFolder.exists()) { if(workFolder.exists()) {
boolean del = false; boolean del = false;

Loading…
Cancel
Save