Commit db3b44f3 authored by dietricf's avatar dietricf
Browse files

SI-306_Hotfix_HistoryMapper

parent c1606114
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment