result = service;
}
if (tmp instanceof DetailReplacementEntity) {
DetailReplacement detailReplacement = new DetailReplacement();
detailReplacement.setId(tmp.getId());
DetailEntity detailEntity = ((DetailReplacementEntity) tmp)
.getDetail();
Detail detail = DozerHelper.map(detailEntity, Detail.class);
detailReplacement.setDetail(detail);
detailReplacement.setElapsedTime(tmp.getElapsedTime());
detailReplacement.setNote(tmp.getNote());
detailReplacement.setTotal(tmp.getTotal());
result = detailReplacement;
}
return result;