Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eclipse Projects
Eclipse openK User Modules
org.eclipse.openk-usermodules.gridFailureInformation.backend
Commits
db3b44f3
Commit
db3b44f3
authored
Apr 01, 2020
by
dietricf
Browse files
SI-306_Hotfix_HistoryMapper
parent
c1606114
Changes
1
Hide whitespace changes
Inline
Side-by-side
gfsBackendService/src/main/java/org/eclipse/openk/gridfailureinformation/mapper/HistFailureInformationMapper.java
View file @
db3b44f3
...
...
@@ -34,7 +34,11 @@ public interface HistFailureInformationMapper {
@Mapping
(
source
=
"refStatusExtern.status"
,
target
=
"statusExtern"
),
@Mapping
(
source
=
"refBranch.uuid"
,
target
=
"branchId"
),
@Mapping
(
source
=
"refBranch.name"
,
target
=
"branch"
),
@Mapping
(
source
=
"refBranch.colorCode"
,
target
=
"branchColorCode"
)
@Mapping
(
source
=
"refBranch.colorCode"
,
target
=
"branchColorCode"
),
@Mapping
(
source
=
"refRadius.uuid"
,
target
=
"radiusId"
),
@Mapping
(
source
=
"refRadius.radius"
,
target
=
"radius"
),
@Mapping
(
source
=
"refExpectedReason.uuid"
,
target
=
"expectedReasonId"
),
@Mapping
(
source
=
"refExpectedReason.text"
,
target
=
"expectedReasonText"
)
})
FailureInformationDto
toFailureInformationDto
(
HtblFailureInformation
htblFailureInformation
);
...
...
@@ -49,7 +53,11 @@ public interface HistFailureInformationMapper {
@Mapping
(
target
=
"refStatusExtern.status"
,
source
=
"statusExtern"
),
@Mapping
(
target
=
"refBranch.uuid"
,
source
=
"branchId"
),
@Mapping
(
target
=
"refBranch.name"
,
source
=
"branch"
),
@Mapping
(
target
=
"refBranch.colorCode"
,
source
=
"branchColorCode"
)
@Mapping
(
target
=
"refBranch.colorCode"
,
source
=
"branchColorCode"
),
@Mapping
(
target
=
"refRadius.uuid"
,
source
=
"radiusId"
),
@Mapping
(
target
=
"refRadius.radius"
,
source
=
"radius"
),
@Mapping
(
target
=
"refExpectedReason.uuid"
,
source
=
"expectedReasonId"
),
@Mapping
(
target
=
"refExpectedReason.text"
,
source
=
"expectedReasonText"
)
})
HtblFailureInformation
toHtblFailureInformation
(
FailureInformationDto
failureInformationDto
);
...
...
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