mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed return columns for orphaned Content URL query
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14835 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -157,11 +157,19 @@
|
||||
<!-- Get the ContentData entities by content URL -->
|
||||
<select id="select.ContentDataByContentUrlId" parameterMap="parameter.IdMap" resultMap="result.ContentData">
|
||||
select
|
||||
*
|
||||
cd.id as id,
|
||||
cd.version as version,
|
||||
cd.content_url_id as content_url_id,
|
||||
cu.content_url as content_url,
|
||||
cu.content_size as content_size,
|
||||
cd.content_mimetype_id as content_mimetype_id,
|
||||
cd.content_encoding_id as content_encoding_id,
|
||||
cd.content_locale_id as content_locale_id
|
||||
from
|
||||
alf_content_data
|
||||
alf_content_data cd
|
||||
join alf_content_url cu on (cd.content_url_id = cu.id)
|
||||
where
|
||||
content_url_id = ?
|
||||
cu.id = ?
|
||||
</select>
|
||||
|
||||
<!-- Get the ContentData entity by ID -->
|
||||
|
Reference in New Issue
Block a user