Skip to content

Commit

Permalink
ServiceModel Entitiy 수정 #314
Browse files Browse the repository at this point in the history
  • Loading branch information
pahnjy01 committed Jan 4, 2017
1 parent c50780d commit c68bd97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void executeServiceModel(@RequestBody ServiceModelTransFormObject service

public ServiceModel dataObjectToServiceModel(ServiceModelTransFormObject serviceModelTransFormObject){
if(serviceModelTransFormObject == null) return null;
return new ServiceModel(serviceModelTransFormObject.getId(), serviceModelTransFormObject.getName(), serviceModelTransFormObject.getServiceIdList(), serviceModelTransFormObject.getCreateTime(), serviceModelTransFormObject.getModifiedTime(), serviceModelTransFormObject.getLocation());
return new ServiceModel(serviceModelTransFormObject.getId(), serviceModelTransFormObject.getName(), serviceModelTransFormObject.getServiceIdList(), serviceModelTransFormObject.getCreateTime(), serviceModelTransFormObject.getModifiedTime(), serviceModelTransFormObject.getLocation(), serviceModelTransFormObject.getDescription());
}

public ServiceModelTransFormObject settingServiceModelId(String serviceModelId, String sessionId){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ private ServiceModelDataObject serviceModelToDataObject(ServiceModel serviceMode

private ServiceModel dataObjectToServiceModel(ServiceModelDataObject serviceModelDataObject){
if(serviceModelDataObject == null) return null;
return new ServiceModel(serviceModelDataObject.getId(), serviceModelDataObject.getName(), serviceModelDataObject.getServiceIdList(), serviceModelDataObject.getCreateTime(),serviceModelDataObject.getModifiedTime(),serviceModelDataObject.getLocation());
return new ServiceModel(serviceModelDataObject.getId(), serviceModelDataObject.getName(), serviceModelDataObject.getServiceIdList(), serviceModelDataObject.getCreateTime(),serviceModelDataObject.getModifiedTime(),serviceModelDataObject.getLocation(), serviceModelDataObject.getDescription());
}
}

0 comments on commit c68bd97

Please sign in to comment.