Commit 418ee497 authored by wangqiang's avatar wangqiang

导出模板代码修改

parent e3d3d599
...@@ -39,16 +39,16 @@ public class ExtFileTemplateManagerServiceImpl implements ExtFileTemplateManager ...@@ -39,16 +39,16 @@ public class ExtFileTemplateManagerServiceImpl implements ExtFileTemplateManager
try { try {
if(fileType == 1){ //采购计划模板下载 if(fileType == 1){ //采购计划模板下载
fileId = systemFileFeignService.getSystemFileId(Constants.PURCHASE_PLAN_TEMP_FILE_CODE_NAME); fileId = systemFileFeignService.getSystemFileId(Constants.PURCHASE_PLAN_TEMP_FILE_CODE_NAME);
fileName = "采购计划模板(内部)..xlsx"; fileName = "采购计划模板(内部).xlsx";
}else if(fileType == 2){ //IED计划模板下载 }else if(fileType == 2){ //IED计划模板下载
fileId = systemFileFeignService.getSystemFileId(Constants.IED_PLAN_TEMP_FILE_CODE_NAME); fileId = systemFileFeignService.getSystemFileId(Constants.IED_PLAN_TEMP_FILE_CODE_NAME);
fileName = "IED计划模板(内部)..xlsx"; fileName = "IED计划模板(内部).xlsx";
}else if(fileType == 3){ //ICM计划模板下载 }else if(fileType == 3){ //ICM计划模板下载
fileId = systemFileFeignService.getSystemFileId(Constants.ICM_PLAN_TEMP_FILE_CODE_NAME); fileId = systemFileFeignService.getSystemFileId(Constants.ICM_PLAN_TEMP_FILE_CODE_NAME);
fileName = "ICM计划模板(内部)..xlsx"; fileName = "ICM计划模板(内部).xlsx";
}else if (fileType == 4){ //进度计划 }else if (fileType == 4){ //进度计划
fileId = systemFileFeignService.getSystemFileId(Constants.PROGRESS_TEMP_FILE_CODE_NAME); fileId = systemFileFeignService.getSystemFileId(Constants.PROGRESS_TEMP_FILE_CODE_NAME);
fileName = "进度计划模板(内部)..xlsx"; fileName = "进度计划模板(内部).xlsx";
}else { }else {
log.info("未知文件类型:{}",fileType); log.info("未知文件类型:{}",fileType);
throw new DxBusinessException("500", "未知文件类型:" + fileType); throw new DxBusinessException("500", "未知文件类型:" + fileType);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment