도장, 서면의결서 다운로드 수정
This commit is contained in:
parent
a8d732055d
commit
ed0abf0ad0
@ -52,6 +52,10 @@ public class OzReportController {
|
|||||||
|
|
||||||
@Value("#{globalSettings['gw.url']}")
|
@Value("#{globalSettings['gw.url']}")
|
||||||
private String gwUrl;
|
private String gwUrl;
|
||||||
|
|
||||||
|
@Value("#{globalSettings['oz.ozServerNm']}")
|
||||||
|
private String ozServerNm;
|
||||||
|
|
||||||
|
|
||||||
public void setSessionMessageRemove(HttpSession session){
|
public void setSessionMessageRemove(HttpSession session){
|
||||||
session.removeAttribute("sSiteIdx");
|
session.removeAttribute("sSiteIdx");
|
||||||
@ -1779,7 +1783,9 @@ public class OzReportController {
|
|||||||
List<Map<String, Object>> fileList = fileService.fileList(paramMap);
|
List<Map<String, Object>> fileList = fileService.fileList(paramMap);
|
||||||
String imgFileSrc = "";
|
String imgFileSrc = "";
|
||||||
if (fileList.size() > 0) {
|
if (fileList.size() > 0) {
|
||||||
imgFileSrc = "/site/case/upload/uploadFiles/trublchargermng2/" + fileList.get(0).get("EXTRA_FILE_RENAME").toString();
|
//imgFileSrc = "/site/case/upload/uploadFiles/trublchargermng2/" + fileList.get(0).get("EXTRA_FILE_RENAME").toString();
|
||||||
|
//imgFileSrc = "https://fairnet.kofair.or.kr/seed/extra/down/file.do?dataIdx=38657&funcType=trublchargermng&pathKey1=case";
|
||||||
|
imgFileSrc = ozServerNm + "/seed/extra/down/file.do?dataIdx=" + fileList.get(0).get("EXTRA_FILE_IDX") + "&funcType=" + fileList.get(0).get("EXTRA_FUNC_TYPE") + "&pathKey1=case";
|
||||||
}
|
}
|
||||||
|
|
||||||
//!!!!
|
//!!!!
|
||||||
|
|||||||
@ -223,7 +223,7 @@ public class SeedFileController {
|
|||||||
String pathKey2 = SeedUtils.setReplaceNull(paramMap.get("pathKey2"));
|
String pathKey2 = SeedUtils.setReplaceNull(paramMap.get("pathKey2"));
|
||||||
String funcType = SeedUtils.setReplaceNull(paramMap.get("funcType"));
|
String funcType = SeedUtils.setReplaceNull(paramMap.get("funcType"));
|
||||||
|
|
||||||
if(funcType.equals("trublchargermng")){
|
if(funcType.equals("trublchargermng") || funcType.equals("trublchargermng2")){
|
||||||
/*rootPath = seedProperties.getConfigValue("root.path");*/
|
/*rootPath = seedProperties.getConfigValue("root.path");*/
|
||||||
rootPath = globalRootPath;
|
rootPath = globalRootPath;
|
||||||
}
|
}
|
||||||
@ -271,7 +271,7 @@ public class SeedFileController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(funcType.equals("trublchargermng")){
|
if(funcType.equals("trublchargermng") || funcType.equals("trublchargermng2")){
|
||||||
filePath = rootPath + "/" + pathKey1 + "/upload/uploadFiles/"+funcType+"/"+pathKey2;
|
filePath = rootPath + "/" + pathKey1 + "/upload/uploadFiles/"+funcType+"/"+pathKey2;
|
||||||
}else{
|
}else{
|
||||||
filePath = rootPath + "/" + pathKey1 + "/"+funcType+"/"+pathKey2;
|
filePath = rootPath + "/" + pathKey1 + "/"+funcType+"/"+pathKey2;
|
||||||
@ -280,7 +280,7 @@ public class SeedFileController {
|
|||||||
Map<String, Object> fileList = service.fileOne(paramMap);
|
Map<String, Object> fileList = service.fileOne(paramMap);
|
||||||
fileReName = SeedUtils.setReplaceNull(fileList.get("EXTRA_FILE_RENAME"));
|
fileReName = SeedUtils.setReplaceNull(fileList.get("EXTRA_FILE_RENAME"));
|
||||||
fileName = SeedUtils.setReplaceNull(fileList.get("EXTRA_FILE_NAME"));
|
fileName = SeedUtils.setReplaceNull(fileList.get("EXTRA_FILE_NAME"));
|
||||||
if(funcType.equals("trublchargermng")){
|
if(funcType.equals("trublchargermng") || funcType.equals("trublchargermng2")){
|
||||||
filePath = rootPath + "/" + pathKey1 + "/upload/uploadFiles/"+funcType+"/"+pathKey2;
|
filePath = rootPath + "/" + pathKey1 + "/upload/uploadFiles/"+funcType+"/"+pathKey2;
|
||||||
}else{
|
}else{
|
||||||
filePath = rootPath + "/" + pathKey1 + "/"+funcType+"/"+pathKey2;
|
filePath = rootPath + "/" + pathKey1 + "/"+funcType+"/"+pathKey2;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user