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
f69d652c
Commit
f69d652c
authored
Oct 18, 2024
by
侯彦文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
进度计划导出优化
parent
5f4405b5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
34 deletions
+2
-34
ExtPlanServiceImpl.java
.../yonde/dcs/plan/core/service/impl/ExtPlanServiceImpl.java
+2
-34
No files found.
dcs-plan-core/src/main/java/com/yonde/dcs/plan/core/service/impl/ExtPlanServiceImpl.java
View file @
f69d652c
...
...
@@ -266,7 +266,6 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
reader
.
addHeaderAlias
(
"业务计划类型"
,
"businessPlanType"
);
reader
.
addHeaderAlias
(
"阶段状态"
,
"phaseState"
);
reader
.
addHeaderAlias
(
"反馈类型*"
,
"feedbackType"
);
/*reader.addHeaderAlias("是否产生计划任务", "hasPlanTasks");*/
reader
.
addHeaderAlias
(
"合同编号"
,
"contractNo"
);
reader
.
addHeaderAlias
(
"计划执行人*"
,
"planExecutor"
);
reader
.
addHeaderAlias
(
"工期"
,
"constructPeriod"
);
...
...
@@ -690,12 +689,12 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
if
(
CollectionUtil
.
isNotEmpty
(
extPlanVOS
))
{
for
(
ExtPlanVO
extPlanVO
:
extPlanVOS
)
{
Map
<
String
,
Object
>
exportMap
=
new
HashMap
<>();
exportMap
.
put
(
"planLevel"
,
extPlanVO
.
getPlanLevel
());
exportMap
.
put
(
"name"
,
extPlanVO
.
getName
());
exportMap
.
put
(
"number"
,
extPlanVO
.
getNumber
());
exportMap
.
put
(
"superPlanCode"
,
extPlanVO
.
getSuperPlanCode
());
exportMap
.
put
(
"businessPlanType"
,
extPlanVO
.
getBusinessPlanType
());
exportMap
.
put
(
"feedbackType"
,
extPlanVO
.
getFeedbackType
());
exportMap
.
put
(
"hasPlanTasks"
,
extPlanVO
.
getHasPlanTasks
());
exportMap
.
put
(
"contractNo"
,
extPlanVO
.
getContractNo
());
exportMap
.
put
(
"planExecutor"
,
extPlanVO
.
getPlanExecutor
());
exportMap
.
put
(
"constructPeriod"
,
extPlanVO
.
getConstructPeriod
());
...
...
@@ -707,12 +706,12 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
}
}
ExcelWriter
writer
=
ExcelUtil
.
getWriter
(
true
);
writer
.
addHeaderAlias
(
"planLevel"
,
"计划级别"
);
writer
.
addHeaderAlias
(
"name"
,
"计划名称"
);
writer
.
addHeaderAlias
(
"number"
,
"计划编号"
);
writer
.
addHeaderAlias
(
"superPlanCode"
,
"父级计划编号"
);
writer
.
addHeaderAlias
(
"businessPlanType"
,
"业务计划类型"
);
writer
.
addHeaderAlias
(
"feedbackType"
,
"反馈类型"
);
writer
.
addHeaderAlias
(
"hasPlanTasks"
,
"是否产生计划任务"
);
writer
.
addHeaderAlias
(
"contractNo"
,
"合同编号"
);
writer
.
addHeaderAlias
(
"planExecutor"
,
"计划执行人"
);
writer
.
addHeaderAlias
(
"constructPeriod"
,
"工期"
);
...
...
@@ -746,37 +745,6 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
}
/**
* 设置计划值
*/
private
void
assembleWriter
(
ExcelWriter
writer
)
{
writer
.
addHeaderAlias
(
"operate"
,
"操作"
);
writer
.
addHeaderAlias
(
"planLevel"
,
"计划级别"
);
writer
.
addHeaderAlias
(
"superPlanCode"
,
"父级计划编号"
);
writer
.
addHeaderAlias
(
"number"
,
"计划编号"
);
writer
.
addHeaderAlias
(
"name"
,
"计划名称"
);
writer
.
addHeaderAlias
(
"businessPlanType"
,
"业务计划类型"
);
writer
.
addHeaderAlias
(
"phaseState"
,
"阶段状态"
);
writer
.
addHeaderAlias
(
"feedbackType"
,
"反馈类型"
);
writer
.
addHeaderAlias
(
"hasPlanTasks"
,
"是否产生计划任务"
);
writer
.
addHeaderAlias
(
"contractNo"
,
"合同编号"
);
writer
.
addHeaderAlias
(
"planExecutor"
,
"计划执行人"
);
writer
.
addHeaderAlias
(
"constructPeriod"
,
"工期"
);
writer
.
addHeaderAlias
(
"startTime"
,
"开始时间"
);
writer
.
addHeaderAlias
(
"completeTime"
,
"完成时间"
);
//文件分类
writer
.
addHeaderAlias
(
"fileType"
,
"文件分类"
);
writer
.
addHeaderAlias
(
"fileName"
,
"文件名称"
);
writer
.
addHeaderAlias
(
"fileNumber"
,
"文件编号"
);
writer
.
addHeaderAlias
(
"fileCode"
,
"文件代号"
);
writer
.
addHeaderAlias
(
"projectCode"
,
"项目代号"
);
writer
.
addHeaderAlias
(
"systemCode"
,
"管理信息系统编码"
);
writer
.
addHeaderAlias
(
"review"
,
"审核者"
);
writer
.
addHeaderAlias
(
"approver"
,
"批准者"
);
writer
.
addHeaderAlias
(
"verifier"
,
"审定者"
);
writer
.
addHeaderAlias
(
"secretCode"
,
"密级"
);
}
/**
* 通过文件分类查询
*
...
...
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