Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
research-project
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj
research-project
Commits
3659d90c
Commit
3659d90c
authored
Sep 16, 2025
by
“Kongxiangkun”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
投票明细导出字段顺序调整
parent
e399d7db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
11 deletions
+17
-11
cloud-research-service/src/main/java/com/yizhi/research/application/download/DownloadResearchDetails.java
+17
-11
No files found.
cloud-research-service/src/main/java/com/yizhi/research/application/download/DownloadResearchDetails.java
View file @
3659d90c
...
...
@@ -164,8 +164,10 @@ public class DownloadResearchDetails extends AbstractDefaultTask<String, Downloa
cell
=
row
.
createCell
((
short
)
1
);
cell
.
setCellValue
(
"姓名"
);
cell
=
row
.
createCell
((
short
)
2
);
cell
.
setCellValue
(
"
是否完成
"
);
cell
.
setCellValue
(
"
所在部门
"
);
cell
=
row
.
createCell
((
short
)
3
);
cell
.
setCellValue
(
"是否完成"
);
cell
=
row
.
createCell
((
short
)
4
);
cell
.
setCellValue
(
"提交时间"
);
...
...
@@ -215,8 +217,8 @@ public class DownloadResearchDetails extends AbstractDefaultTask<String, Downloa
}
}
cell
=
row
.
createCell
((
short
)
cellSize
+
1
);
cell
.
setCellValue
(
"所在部门"
);
//
cell = row.createCell((short) cellSize + 1);
//
cell.setCellValue("所在部门");
// 在sheet中添加表头第0行,注意老版本poi对Excel的行数列数有限制short,
// 创建第1行
...
...
@@ -276,12 +278,16 @@ public class DownloadResearchDetails extends AbstractDefaultTask<String, Downloa
cell
.
setCellValue
(
groupViewVo
.
getAccountFullName
());
}
cell
=
row
.
createCell
((
short
)
2
);
if
(
groupViewVo
.
getOrgName
()
!=
null
)
{
cell
.
setCellValue
(
groupViewVo
.
getOrgName
());
}
cell
=
row
.
createCell
((
short
)
3
);
if
(
groupViewVo
.
getJoinState
()
==
1
)
{
cell
.
setCellValue
(
"是"
);
}
else
{
cell
.
setCellValue
(
"否"
);
}
cell
=
row
.
createCell
((
short
)
3
);
cell
=
row
.
createCell
((
short
)
4
);
if
(
groupViewVo
.
getFinishTime
()
!=
null
)
{
cell
.
setCellValue
(
format
.
format
(
groupViewVo
.
getFinishTime
()));
}
else
{
...
...
@@ -458,13 +464,13 @@ public class DownloadResearchDetails extends AbstractDefaultTask<String, Downloa
}
}
//给部门名称赋值
int
location1
=
cellSize
+
1
;
if
(
groupViewVo
.
getOrgName
()
!=
null
)
{
cell
=
row
.
createCell
((
short
)
location1
);
cell
.
setCellValue
(
groupViewVo
.
getOrgName
());
}
else
{
row
.
createCell
((
short
)
location1
);
}
//
int location1 = cellSize + 1;
//
if (groupViewVo.getOrgName() != null) {
//
cell = row.createCell((short) location1);
//
cell.setCellValue(groupViewVo.getOrgName());
//
} else {
//
row.createCell((short) location1);
//
}
s
++;
// taskDetail(taskContext.getTaskId(), research.getName() + "导出数据第" + s + "行成功");
...
...
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