CropReleaseCopyTool
This commit is contained in:
@@ -18,6 +18,15 @@ a.CreatedOn, a.CreatedByUserID, a.UpdatedOn, a.UpdatedByUserID, a.CopyClaimFileN
|
||||
,ast.AssetStatusName
|
||||
,aty.AssetTypeName
|
||||
,org.OrganizationName
|
||||
,rel.ReleaseID
|
||||
,rel.ReleaseName
|
||||
,rel.ReleaseTypeID
|
||||
,rel.ReleaseStatusID
|
||||
,rel.Licensor
|
||||
,rel.CreatedDate
|
||||
,rel.FileName
|
||||
,rel.FilePath
|
||||
|
||||
|
||||
FROM Assets a
|
||||
LEFT JOIN AssetCategories c ON a.AssetCategoryID = c.AssetCategoryID
|
||||
@@ -38,6 +47,8 @@ LEFT JOIN AssetGroupSecurityFunctionMap agsfm ON a.AssetID = agsfm.AssetID
|
||||
LEFT JOIN Organizations org ON org.OrganizationID = agsfm.OrganizationID
|
||||
LEFT JOIN Groups grp ON grp.GroupID = agsfm.GroupID
|
||||
--LEFT JOIN SecurityFunctions sf ON sf.SecurityFunctionID = agsfm.SecurityFunctionID
|
||||
LEFT JOIN AssetRelease arel ON a.AssetID = arel.AssetID
|
||||
LEFT JOIN Release rel ON arel.ReleaseID = rel.ReleaseID
|
||||
|
||||
|
||||
WHERE
|
||||
@@ -47,6 +58,7 @@ AND a.isDeleted = 0
|
||||
AND (a.FocusID IS NULL OR a.FocusID != 3 OR (a.FocusID = 3 AND a.CreatedOn > Convert(datetime, '2016-01-01')))
|
||||
AND grp.GroupName != 'Administrator'
|
||||
|
||||
|
||||
/*
|
||||
AND a.AssetID IN (24024,24014,24007,23933,23932,23830,23826,23805,23804,
|
||||
23803,23802,23801,23800,23799,23797,23751,23707,23688,23657,23629,23622,
|
||||
|
||||
Reference in New Issue
Block a user