branch feature/7148 created (now c89f5a5)
This is an automated email from the git hooks/post-receive script. New change to branch feature/7148 in repository observe. See http://git.codelutin.com/observe.git at c89f5a5 refs #7148 : modification des requêtes pour les tableaux de synthèse This branch includes the following new commits: new c89f5a5 refs #7148 : modification des requêtes pour les tableaux de synthèse The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit c89f5a5c6fa61a3f5c8b5c0e5f5274b38c374a37 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Thu May 28 10:03:07 2015 +0200 refs #7148 : modification des requêtes pour les tableaux de synthèse -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@list.forge.codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/7148 in repository observe. See http://git.codelutin.com/observe.git commit c89f5a5c6fa61a3f5c8b5c0e5f5274b38c374a37 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Thu May 28 10:03:07 2015 +0200 refs #7148 : modification des requêtes pour les tableaux de synthèse --- .../src/main/filters/observe-reports.properties | 119 ++++++++++++++++----- 1 file changed, 93 insertions(+), 26 deletions(-) diff --git a/observe-business/src/main/filters/observe-reports.properties b/observe-business/src/main/filters/observe-reports.properties index 3b21725..512bcf2 100644 --- a/observe-business/src/main/filters/observe-reports.properties +++ b/observe-business/src/main/filters/observe-reports.properties @@ -675,10 +675,10 @@ report.accessoryCatchByGroup.request.1=0,0|row|\ Order By e.homeId ########################################################### -## Distribution des tailles par esp\u00e8ce non cibl\u00e8s +## Distribution des tailles par espèces non ciblées ########################################################### -report.nonTargetDistributionLengths.name=Distribution des tailles par esp\u00e8ce non cibl\u00e9es +report.nonTargetDistributionLengths.name=Distribution des tailles par esp\u00e8ces non cibl\u00e9es report.nonTargetDistributionLengths.description=Afficher la nombre d'individus mesur\u00e9s par classe de taille pour les esp\u00e8ces non cibl\u00e9es report.nonTargetDistributionLengths.columns=Classe de taille,Effectif report.nonTargetDistributionLengths.operations.1=GroupByLength @@ -702,15 +702,15 @@ And ntl.species.id = :speciesId \ Group By ntl.length \ Order By ntl.length -############################################################# -## Distribution des tailles par esp\u00e8ce cibl\u00e8s (LD1) -############################################################# +#################################################################### +## Distribution des tailles des conservés par espèces ciblées (LD1) +#################################################################### -report.targetDistributionLengthsLD1.name=Distribution des tailles par esp\u00e8ce cibl\u00e9es (mesure LD1) -report.targetDistributionLengthsLD1.description=Afficher la nombre d'individus mesur\u00e9s par classe de taille LD1 pour les esp\u00e8ces cibl\u00e9es -report.targetDistributionLengthsLD1.columns=Classe de taille,Effectif -report.targetDistributionLengthsLD1.operations.1=GroupByLength -report.targetDistributionLengthsLD1.variable.speciesId=fr.ird.observe.entities.referentiel.Species|\ +report.targetStoredDistributionLengthsLD1.name=Distribution des tailles des captures par esp\u00e8ces cibl\u00e9es (mesure LD1) +report.targetStoredDistributionLengthsLD1.description=Afficher le nombre d'individus captur\u00e9s, mesur\u00e9s par classe de taille LD1 pour les esp\u00e8ces cibl\u00e9es +report.targetStoredDistributionLengthsLD1.columns=Classe de taille,Effectif +report.targetStoredDistributionLengthsLD1.operations.1=GroupByLength +report.targetStoredDistributionLengthsLD1.variable.speciesId=fr.ird.observe.entities.referentiel.Species|\ Select distinct tl.species \ From TripSeineImpl t \ Join t.route r \ @@ -718,8 +718,9 @@ Join r.activitySeine a \ Join a.setSeine.targetSample ts \ Join ts.targetLength tl \ Where t.id = :tripId \ -And tl.measureType = 1 -report.targetDistributionLengthsLD1.request.1=0,0|row| \ +And tl.measureType = 1 \ +And ts.discarded = false +report.targetStoredDistributionLengthsLD1.request.1=0,0|row| \ Select tl.length , Sum(tl.count) \ From TripSeineImpl t \ Join t.route r \ @@ -728,20 +729,20 @@ Join a.setSeine.targetSample ts \ Join ts.targetLength tl \ Where t.id = :tripId \ And tl.species.id = :speciesId \ - And tl.length = :length \ And tl.measureType = 1 \ + And ts.discarded = false \ Group By tl.length \ Order By tl.length -############################################################ -## Distribution des tailles par esp\u00e8ce cibl\u00e8s (LF) -############################################################ +################################################################ +## Distribution des tailles des rejets par espèces ciblées (LD1) +################################################################ -report.targetDistributionLengthsLF.name=Distribution des tailles par esp\u00e8ce cibl\u00e9es (mesure LF) -report.targetDistributionLengthsLF.description=Afficher la nombre d'individus mesur\u00e9s par classe de taille LF pour les esp\u00e8ces cibl\u00e9es -report.targetDistributionLengthsLF.columns=Classe de taille,Effectif -report.targetDistributionLengthsLF.operations.1=GroupByLength -report.targetDistributionLengthsLF.variable.speciesId=fr.ird.observe.entities.referentiel.Species|\ +report.targetDiscardedDistributionLengthsLD1.name=Distribution des tailles des rejets par esp\u00e8ces cibl\u00e9es (mesure LD1) +report.targetDiscardedDistributionLengthsLD1.description=Afficher la nombre d'individus rejet\u00e9s, mesur\u00e9s par classe de taille LD1 pour les esp\u00e8ces cibl\u00e9es +report.targetDiscardedDistributionLengthsLD1.columns=Classe de taille,Effectif +report.targetDiscardedDistributionLengthsLD1.operations.1=GroupByLength +report.targetDiscardedDistributionLengthsLD1.variable.speciesId=fr.ird.observe.entities.referentiel.Species|\ Select distinct tl.species \ From TripSeineImpl t \ Join t.route r \ @@ -749,8 +750,73 @@ Join r.activitySeine a \ Join a.setSeine.targetSample ts \ Join ts.targetLength tl \ Where t.id = :tripId \ -And tl.measureType = 2 -report.targetDistributionLengthsLF.request.1=0,0|row| \ +And tl.measureType = 1 \ +And ts.discarded = true +report.targetDiscardedDistributionLengthsLD1.request.1=0,0|row| \ +Select tl.length , Sum(tl.count) \ +From TripSeineImpl t \ +Join t.route r \ +Join r.activitySeine a \ +Join a.setSeine.targetSample ts \ +Join ts.targetLength tl \ +Where t.id = :tripId \ + And tl.species.id = :speciesId \ + And tl.measureType = 1\ + And ts.discarded = true \ +Group By tl.length \ +Order By tl.length + +############################################################### +## Distribution des tailles des conservés par espèces ciblées (LF) +############################################################### + +report.targetStoredDistributionLengthsLF.name=Distribution des tailles des captures par esp\u00e8ces cibl\u00e9es (mesure LF) +report.targetStoredDistributionLengthsLF.description=Afficher le nombre d'individus captur\u00e9s, mesur\u00e9s par classe de taille LF pour les esp\u00e8ces cibl\u00e9es +report.targetStoredDistributionLengthsLF.columns=Classe de taille,Effectif +report.targetStoredDistributionLengthsLF.operations.1=GroupByLength +report.targetStoredDistributionLengthsLF.variable.speciesId=fr.ird.observe.entities.referentiel.Species|\ +Select distinct tl.species \ +From TripSeineImpl t \ +Join t.route r \ +Join r.activitySeine a \ +Join a.setSeine.targetSample ts \ +Join ts.targetLength tl \ +Where t.id = :tripId \ +And tl.measureType = 2 \ +And ts.discarded = false +report.targetStoredDistributionLengthsLF.request.1=0,0|row| \ +Select tl.length , Sum(tl.count) \ +From TripSeineImpl t \ +Join t.route r \ +Join r.activitySeine a \ +Join a.setSeine.targetSample ts \ +Join ts.targetLength tl \ +Where t.id = :tripId \ + And tl.species.id = :speciesId \ + And tl.measureType = 2 \ + And ts.discarded = false \ +Group By tl.length \ +Order By tl.length + +############################################################### +## Distribution des tailles des rejets par espèces ciblées (LF) +############################################################### + +report.targetDiscardedDistributionLengthsLF.name=Distribution des tailles des rejets par esp\u00e8ces cibl\u00e9es (mesure LF) +report.targetDiscardedDistributionLengthsLF.description=Afficher le nombre d'individus rejet\u00e9s, mesur\u00e9s par classe de taille LF pour les esp\u00e8ces cibl\u00e9es +report.targetDiscardedDistributionLengthsLF.columns=Classe de taille,Effectif +report.targetDiscardedDistributionLengthsLF.operations.1=GroupByLength +report.targetDiscardedDistributionLengthsLF.variable.speciesId=fr.ird.observe.entities.referentiel.Species|\ +Select distinct tl.species \ +From TripSeineImpl t \ +Join t.route r \ +Join r.activitySeine a \ +Join a.setSeine.targetSample ts \ +Join ts.targetLength tl \ +Where t.id = :tripId \ +And tl.measureType = 2 \ +And ts.discarded = true +report.targetDiscardedDistributionLengthsLF.request.1=0,0|row| \ Select tl.length , Sum(tl.count) \ From TripSeineImpl t \ Join t.route r \ @@ -760,14 +826,15 @@ Join ts.targetLength tl \ Where t.id = :tripId \ And tl.species.id = :speciesId \ And tl.measureType = 2 \ + And ts.discarded = true \ Group By tl.length \ Order By tl.length ############################################ -## R\u00e9partition des cal\u00e9es par cuve +## Répartition des calées par cuves ############################################ -report.repartionCaleeParCuve.name=R\u00e9partition des cal\u00e9es par cuve +report.repartionCaleeParCuve.name=R\u00e9partition des cal\u00e9es par cuves report.repartionCaleeParCuve.description=R\u00e9partition des cal\u00e9es par cuves, type de banc et esp\u00e8ce report.repartionCaleeParCuve.columns=Jour - Heure observation,Latitude,Longitude,Type de banc,Esp\u00e8ce,Tonnage,Cuve report.repartionCaleeParCuve.request.1=0,0|row| \ @@ -777,7 +844,7 @@ Select concat(day(r.date), '/', month(r.date), '/', year(r.date), ' ', hour(a.ti case when a.setSeine.schoolType = 1 then 'BO' else 'BL' end, \ tc.weightCategory.species.faoCode, \ Sum(tc.catchWeight), \ - tc.well \ + case when tc.discarded = true then 'Rejet\u00e9' else tc.well end \ From TripSeineImpl t \ Join t.route r \ Join r.activitySeine a \ -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@list.forge.codelutin.com>.
participants (1)
-
codelutin.com scm