|
@@ -206,7 +206,7 @@ public class ResourceService {
|
|
|
|
|
|
/**
|
|
/**
|
|
*
|
|
*
|
|
- * @param resource
|
|
|
|
|
|
+ * @param resource
|
|
* @throws DuplicateValueException
|
|
* @throws DuplicateValueException
|
|
* @throws NotFoundException
|
|
* @throws NotFoundException
|
|
*/
|
|
*/
|
|
@@ -349,7 +349,7 @@ public class ResourceService {
|
|
|
|
|
|
Set<ResourceVideo> videos = new HashSet<>();
|
|
Set<ResourceVideo> videos = new HashSet<>();
|
|
ResourceVideo video = new ResourceVideo();
|
|
ResourceVideo video = new ResourceVideo();
|
|
- video.setId(resource.getId());
|
|
|
|
|
|
+// video.setId(resource.getId());
|
|
video.setBucket("efunbox");
|
|
video.setBucket("efunbox");
|
|
video.setPath(resource.getPath());
|
|
video.setPath(resource.getPath());
|
|
video.setQuality(resource.getQuality());
|
|
video.setQuality(resource.getQuality());
|
|
@@ -359,7 +359,7 @@ public class ResourceService {
|
|
|
|
|
|
|
|
|
|
ResourceRemote resourceRemote = new ResourceRemote();
|
|
ResourceRemote resourceRemote = new ResourceRemote();
|
|
- resourceRemote.setId(resource.getRid());
|
|
|
|
|
|
+ resourceRemote.setId(resource.getId());
|
|
resourceRemote.setNo(resource.getCode());
|
|
resourceRemote.setNo(resource.getCode());
|
|
resourceRemote.setTitle(resource.getName());
|
|
resourceRemote.setTitle(resource.getName());
|
|
resourceRemote.setType(resource.getType());
|
|
resourceRemote.setType(resource.getType());
|
|
@@ -412,4 +412,3 @@ public class ResourceService {
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
-
|
|
|