From c68bd9700cab3f3fd92ef3bc8ff95d7bcf8624df Mon Sep 17 00:00:00 2001 From: pahnjy Date: Wed, 4 Jan 2017 15:08:29 +0900 Subject: [PATCH] =?UTF-8?q?ServiceModel=20Entitiy=20=EC=88=98=EC=A0=95=20#?= =?UTF-8?q?314?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../icbms/so/servicemodel/pr/ServiceModelPresentation.java | 2 +- .../so/servicemodel/store/mongo/ServiceModelStoreMongoImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/so-servicemodel/src/main/java/com/pineone/icbms/so/servicemodel/pr/ServiceModelPresentation.java b/so-servicemodel/src/main/java/com/pineone/icbms/so/servicemodel/pr/ServiceModelPresentation.java index 5115e123..5adf4445 100644 --- a/so-servicemodel/src/main/java/com/pineone/icbms/so/servicemodel/pr/ServiceModelPresentation.java +++ b/so-servicemodel/src/main/java/com/pineone/icbms/so/servicemodel/pr/ServiceModelPresentation.java @@ -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){ diff --git a/so-servicemodel/src/main/java/com/pineone/icbms/so/servicemodel/store/mongo/ServiceModelStoreMongoImpl.java b/so-servicemodel/src/main/java/com/pineone/icbms/so/servicemodel/store/mongo/ServiceModelStoreMongoImpl.java index bfc472d9..50d8e4be 100644 --- a/so-servicemodel/src/main/java/com/pineone/icbms/so/servicemodel/store/mongo/ServiceModelStoreMongoImpl.java +++ b/so-servicemodel/src/main/java/com/pineone/icbms/so/servicemodel/store/mongo/ServiceModelStoreMongoImpl.java @@ -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()); } }