Opened 13 years ago
Closed 13 years ago
#84 closed defect (fixed)
Programme R, les dc apparaissent en double
Reported by: | cedric | Owned by: | cedric |
---|---|---|---|
Priority: | minor | Milestone: | debugv0.3 |
Component: | Programme R | Version: | 0.3 |
Keywords: | Cc: |
Description
cela était du à la jointure avec la table tj_dfesttype_dft ou il peut y avoir plusieurs enregistrements. Le problème est règlé en ajoutant dft rang=1 dans la requète de la methode charge de la classe RefDc?
select dis_identifiant as DC, dis_date_creation, dis_date_suppression, dif_dis_identifiant as DF, dis_commentaires, dif_ouv_identifiant, ouv_libelle, dif_code as DF_code, dif_localisation, dif_orientation, tdf_libelle as type_DF, tdc_libelle as type_DC FROM saumonrhin.tg_dispositif_dis JOIN saumonrhin.t_dispositifcomptage_dic ON dic_dis_identifiant =dis_identifiant JOIN saumonrhin.t_dispositiffranchissement_dif ON dif_dis_identifiant=dic_dif_identifiant JOIN saumonrhin.tj_dfesttype_dft ON dif_dis_identifiant=dft_df_identifiant JOIN saumonrhin.t_ouvrage_ouv on dif_ouv_identifiant=ouv_identifiant JOIN ref.tr_typedf_tdf ON tdf_code=dft_tdf_code JOIN ref.tr_typedc_tdc ON dic_tdc_code=tdc_code where dft_rang=1 ORDER BY dis_identifiant;
Change History (1)
comment:1 Changed 13 years ago by cedric
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.