Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dcs-plan
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
INET-TWO
server
dcs-plan
Commits
418ee497
Commit
418ee497
authored
Sep 30, 2024
by
wangqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出模板代码修改
parent
e3d3d599
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ExtFileTemplateManagerServiceImpl.java
.../core/service/impl/ExtFileTemplateManagerServiceImpl.java
+4
-4
No files found.
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/impl/ExtFileTemplateManagerServiceImpl.java
View file @
418ee497
...
...
@@ -39,16 +39,16 @@ public class ExtFileTemplateManagerServiceImpl implements ExtFileTemplateManager
try
{
if
(
fileType
==
1
){
//采购计划模板下载
fileId
=
systemFileFeignService
.
getSystemFileId
(
Constants
.
PURCHASE_PLAN_TEMP_FILE_CODE_NAME
);
fileName
=
"采购计划模板(内部).
.
xlsx"
;
fileName
=
"采购计划模板(内部).xlsx"
;
}
else
if
(
fileType
==
2
){
//IED计划模板下载
fileId
=
systemFileFeignService
.
getSystemFileId
(
Constants
.
IED_PLAN_TEMP_FILE_CODE_NAME
);
fileName
=
"IED计划模板(内部).
.
xlsx"
;
fileName
=
"IED计划模板(内部).xlsx"
;
}
else
if
(
fileType
==
3
){
//ICM计划模板下载
fileId
=
systemFileFeignService
.
getSystemFileId
(
Constants
.
ICM_PLAN_TEMP_FILE_CODE_NAME
);
fileName
=
"ICM计划模板(内部).
.
xlsx"
;
fileName
=
"ICM计划模板(内部).xlsx"
;
}
else
if
(
fileType
==
4
){
//进度计划
fileId
=
systemFileFeignService
.
getSystemFileId
(
Constants
.
PROGRESS_TEMP_FILE_CODE_NAME
);
fileName
=
"进度计划模板(内部).
.
xlsx"
;
fileName
=
"进度计划模板(内部).xlsx"
;
}
else
{
log
.
info
(
"未知文件类型:{}"
,
fileType
);
throw
new
DxBusinessException
(
"500"
,
"未知文件类型:"
+
fileType
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment