From 4a7d76d15f3bb8cdc14860d1f866d72ba5295ac9 Mon Sep 17 00:00:00 2001 From: pahnjy Date: Tue, 7 Feb 2017 17:58:33 +0900 Subject: [PATCH] =?UTF-8?q?ServiceModel=20create=20API=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20#367?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../so/servicemodel/store/mongo/ServiceModelStoreMongoImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5f47c969..cd758faf 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 @@ -62,7 +62,7 @@ public ServiceModel retrieveServiceModelDetailByDescription(String description) private ServiceModelDataObject serviceModelToDataObject(ServiceModel serviceModel) { if(serviceModel == null) return null; - return new ServiceModelDataObject(serviceModel.getId(), serviceModel.getName(), serviceModel.getServiceIdList()); + return new ServiceModelDataObject(serviceModel.getId(), serviceModel.getName(),serviceModel.getServiceIdList(),serviceModel.getCreateTime(),serviceModel.getModifiedTime(),serviceModel.getLocation(),serviceModel.getDescription()); } private ServiceModel dataObjectToServiceModel(ServiceModelDataObject serviceModelDataObject){