Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
urgi-is
FAIDARE
Commits
3b112aee
Commit
3b112aee
authored
Sep 29, 2021
by
Jean-Baptiste Nizet
Browse files
fix: use empty value for DUPLSITE in export of MCPD
parent
8a95a386
Changes
1
Hide whitespace changes
Inline
Side-by-side
backend/src/main/java/fr/inra/urgi/faidare/web/germplasm/GermplasmExportService.java
View file @
3b112aee
...
@@ -104,11 +104,7 @@ public class GermplasmExportService {
...
@@ -104,11 +104,7 @@ public class GermplasmExportService {
.
map
(
DonorInfoVO:
:
getDonorAccessionNumber
)
.
map
(
DonorInfoVO:
:
getDonorAccessionNumber
)
.
collect
(
Collectors
.
joining
(
";"
))));
.
collect
(
Collectors
.
joining
(
";"
))));
map
.
put
(
OTHERNUMB
,
withFieldAsHeader
(
OTHERNUMB
,
vo
->
String
.
join
(
";"
,
vo
.
getAlternateIDs
())));
map
.
put
(
OTHERNUMB
,
withFieldAsHeader
(
OTHERNUMB
,
vo
->
String
.
join
(
";"
,
vo
.
getAlternateIDs
())));
map
.
put
(
DUPLSITE
,
withFieldAsHeader
(
DUPLSITE
,
vo
->
map
.
put
(
DUPLSITE
,
withFieldAsHeader
(
DUPLSITE
,
vo
->
null
));
// no value available for DUPLSITE
vo
.
getSafetyDuplicateInstitutes
()
.
stream
()
.
map
(
InstituteVO:
:
getInstituteCode
)
.
collect
(
Collectors
.
joining
(
";"
))));
map
.
put
(
DUPLINSTNAME
,
withFieldAsHeader
(
DUPLINSTNAME
,
vo
->
map
.
put
(
DUPLINSTNAME
,
withFieldAsHeader
(
DUPLINSTNAME
,
vo
->
vo
.
getSafetyDuplicateInstitutes
()
vo
.
getSafetyDuplicateInstitutes
()
.
stream
()
.
stream
()
...
...
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