diff --git a/services/report/3rdparty/jasper-cs-report/src/main/resources/TombstoneWithImages.jrxml b/services/report/3rdparty/jasper-cs-report/src/main/resources/TombstoneWithImages.jrxml new file mode 100644 index 0000000000..07f0ac047b --- /dev/null +++ b/services/report/3rdparty/jasper-cs-report/src/main/resources/TombstoneWithImages.jrxml @@ -0,0 +1,266 @@ + + + + + + + + + + + + + + + + + + 'deleted' + ORDER BY csc.updatedat DESC LIMIT 1) AS imageFilepath + +FROM collectionobjects_common cc + +JOIN hierarchy hcc on (cc.id = hcc.id) + +LEFT OUTER JOIN collectionobjects_common_namedcollections nc on (cc.id = nc.id and nc.pos = 0) + +LEFT OUTER JOIN hierarchy htg on ( + cc.id = htg.parentid AND htg.primarytype = 'titleGroup' AND htg.pos = 0) +LEFT OUTER JOIN titlegroup tg ON (htg.id = tg.id) + +LEFT OUTER JOIN hierarchy hng ON ( + cc.id = hng.parentid AND hng.primarytype = 'objectNameGroup' AND hng.pos = 0) +LEFT OUTER JOIN objectnamegroup ng ON (hng.id = ng.id) + +LEFT OUTER JOIN hierarchy hpp on ( + cc.id = hpp.parentid AND hpp.primarytype = 'objectProductionPersonGroup' AND hpp.pos = 0) +LEFT OUTER JOIN objectproductionpersongroup pp ON (hpp.id = pp.id) + +LEFT OUTER JOIN hierarchy hpo on ( + cc.id = hpo.parentid AND hpo.primarytype = 'objectProductionOrganizationGroup' AND hpo.pos = 0) +LEFT OUTER JOIN objectproductionorganizationgroup po ON (hpo.id = po.id) + +LEFT OUTER JOIN hierarchy hpd on ( + cc.id = hpd.parentid AND hpd.name = 'collectionobjects_common:objectProductionDateGroupList' AND hpd.pos = 0) +LEFT OUTER JOIN structureddategroup pd ON (hpd.id = pd.id) + +LEFT OUTER JOIN hierarchy hmpg on ( + cc.id = hmpg.parentid AND hmpg.primarytype = 'measuredPartGroup' AND hmpg.pos = 0) +LEFT OUTER JOIN measuredpartgroup mpg ON (hmpg.id = mpg.id) + +WHERE hcc.name = $P{csid} + OR hcc.name IN (SELECT objectcsid + FROM relations_common + WHERE subjectdocumenttype = 'Group' and objectdocumenttype = 'CollectionObject' + AND subjectcsid = $P{groupcsid}) + OR hcc.name in ($P!{objcsids})]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Identification number: " + $F{idNumber}]]> + + + + + + + + + + + Title: " + $F{title}]]> + + + + + + + + + + + Object name: " + $F{objectName}]]> + + + + + + + + + + + Object production person: " + $F{prodPerson}]]> + + + + + + + + + + + Object production organization: " + $F{prodOrg}]]> + + + + + + + + + + + Object production date: " + $F{prodDate}]]> + + + + + + + + + + + Dimensions summary: " + $F{dimensionsSum}]]> + + + + + + + + + + + Edition: " + $F{editionNum}]]> + + + + + + + + + + + Named collection: " + $F{namedCollection}]]> + + + + + + + + + + + Computed current location: " + $F{compCurrLocation}]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +