Subversion Repositories Applications.papyrus

Rev

Rev 2128 | Rev 2132 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2128 Rev 2129
Line 341... Line 341...
341
source nvjfl : common {
341
source nvjfl : common {
342
	sql_db			= tb_eflore
342
	sql_db			= tb_eflore
Line 343... Line 343...
343
 
343
 
344
    # note: 66 taxons nvjfl n'ont pas de numéro nomenclatural
344
    # note: 66 taxons nvjfl n'ont pas de numéro nomenclatural
345
	sql_query		= \
345
	sql_query		= \
346
        SELECT b.num_nom, num_taxon, nom_sci, GROUP_CONCAT(nom_vernaculaire), \
346
        SELECT b.num_nom, num_taxon, nom_sci AS titre, GROUP_CONCAT(DISTINCT nom_vernaculaire) AS texte, \
347
        "nvjfl" AS group_id, CONCAT("nvjfl-", b.num_nom) as main_id	\
347
        "nvjfl" AS group_id, CONCAT("nvjfl-", b.num_nom) as main_id	\
348
        FROM nvjfl_v2007 n \
348
        FROM nvjfl_v2007 n \
349
        LEFT JOIN bdtfx_v1_01 b ON n.num_taxon = b.num_taxonomique \
349
        LEFT JOIN bdtfx_v1_01 b ON n.num_taxon = b.num_taxonomique \
350
        WHERE b.num_nom IS NOT NULL \
350
        WHERE b.num_nom IS NOT NULL \
Line -... Line 351...
-
 
351
        GROUP by num_taxon
-
 
352
 
-
 
353
	sql_field_string	= titre
351
        GROUP by num_taxon
354
	sql_field_string	= texte
352
 
355
 
353
	sql_field_string	= group_id
356
	sql_field_string	= group_id
Line 354... Line 357...
354
	sql_attr_string		= main_id
357
	sql_attr_string		= main_id