Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-evaluate
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-evaluate
Commits
b06f2f47
Commit
b06f2f47
authored
May 25, 2020
by
zhiwj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出bug
parent
92c4abc4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
EvaluateExportController.java
...gic/evaluate/web/controller/EvaluateExportController.java
+2
-3
No files found.
gic-evaluate-web/src/main/java/com/gic/evaluate/web/controller/EvaluateExportController.java
View file @
b06f2f47
...
@@ -8,7 +8,6 @@ import com.gic.download.utils.DataDownloadUtils;
...
@@ -8,7 +8,6 @@ import com.gic.download.utils.DataDownloadUtils;
import
com.gic.download.utils.DownloadReport
;
import
com.gic.download.utils.DownloadReport
;
import
com.gic.download.utils.DownloadUtils
;
import
com.gic.download.utils.DownloadUtils
;
import
com.gic.download.utils.ExecutorPoolSingleton
;
import
com.gic.download.utils.ExecutorPoolSingleton
;
import
com.gic.enterprise.context.RequestContext
;
import
com.gic.enterprise.utils.UserDetailUtils
;
import
com.gic.enterprise.utils.UserDetailUtils
;
import
com.gic.evaluate.constant.ReplyerTypeEnum
;
import
com.gic.evaluate.constant.ReplyerTypeEnum
;
import
com.gic.evaluate.dto.EvaluateDTO
;
import
com.gic.evaluate.dto.EvaluateDTO
;
...
@@ -140,7 +139,7 @@ public class EvaluateExportController extends DownloadUtils {
...
@@ -140,7 +139,7 @@ public class EvaluateExportController extends DownloadUtils {
List
<
EvaluateReplyDTO
>
replyList
=
evaluateDTO
.
getReplyList
();
List
<
EvaluateReplyDTO
>
replyList
=
evaluateDTO
.
getReplyList
();
List
<
String
>
replyMemberContentList
=
Optional
.
ofNullable
(
replyList
).
orElse
(
Collections
.
emptyList
()).
stream
()
List
<
String
>
replyMemberContentList
=
Optional
.
ofNullable
(
replyList
).
orElse
(
Collections
.
emptyList
()).
stream
()
.
filter
(
e
->
ReplyerTypeEnum
.
MEMBER
.
getCode
().
equals
(
e
.
getReplyerType
()))
.
filter
(
e
->
ReplyerTypeEnum
.
MEMBER
.
getCode
().
equals
(
e
.
getReplyerType
()))
.
map
(
e
->
simpleDateFormat
.
format
(
e
.
getReplyContent
())
)
.
map
(
EvaluateReplyDTO:
:
getReplyContent
)
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
StringBuilder
sb
=
new
StringBuilder
();
StringBuilder
sb
=
new
StringBuilder
();
for
(
int
i
=
0
;
i
<
replyMemberContentList
.
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
replyMemberContentList
.
size
();
i
++)
{
...
@@ -153,7 +152,7 @@ public class EvaluateExportController extends DownloadUtils {
...
@@ -153,7 +152,7 @@ public class EvaluateExportController extends DownloadUtils {
List
<
EvaluateReplyDTO
>
replyList
=
evaluateDTO
.
getReplyList
();
List
<
EvaluateReplyDTO
>
replyList
=
evaluateDTO
.
getReplyList
();
List
<
String
>
replyUserContentList
=
Optional
.
ofNullable
(
replyList
).
orElse
(
Collections
.
emptyList
()).
stream
()
List
<
String
>
replyUserContentList
=
Optional
.
ofNullable
(
replyList
).
orElse
(
Collections
.
emptyList
()).
stream
()
.
filter
(
e
->
ReplyerTypeEnum
.
USER
.
getCode
().
equals
(
e
.
getReplyerType
()))
.
filter
(
e
->
ReplyerTypeEnum
.
USER
.
getCode
().
equals
(
e
.
getReplyerType
()))
.
map
(
e
->
simpleDateFormat
.
format
(
e
.
getReplyContent
())
)
.
map
(
EvaluateReplyDTO:
:
getReplyContent
)
.
collect
(
Collectors
.
toList
());
.
collect
(
Collectors
.
toList
());
StringBuilder
sb
=
new
StringBuilder
();
StringBuilder
sb
=
new
StringBuilder
();
for
(
int
i
=
0
;
i
<
replyUserContentList
.
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
replyUserContentList
.
size
();
i
++)
{
...
...
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