https://chevea.coo.tg/fr/traite/chart/stock/produit?public%2Ffr%2Ftraite%2Fchart%2Fstock%2Fproduit= Return to referer URL

Query Metrics

8 Database Queries
6 Different statements
24.33 ms Query time
37 Invalid entities

Queries

Group similar statements

# Time Info
1 1.96 ms
SELECT t0.id AS id_1, t0.username_user AS username_user_2, t0.nom_user AS nom_user_3, t0.prenoms_user AS prenoms_user_4, t0.email_user AS email_user_5, t0.tel1_user AS tel1_user_6, t0.tel2_user AS tel2_user_7, t0.bp AS bp_8, t0.adresse_user AS adresse_user_9, t0.etat_user AS etat_user_10, t0.attempt_user AS attempt_user_11, t0.password_user AS password_user_12, t0.c_password_user AS c_password_user_13, t0.salt_user AS salt_user_14, t0.etat_connecte AS etat_connecte_15, t0.adresse_ip_user AS adresse_ip_user_16, t0.sexe_user AS sexe_user_17, t0.date_ajout_user AS date_ajout_user_18, t0.date_edit_user AS date_edit_user_19, t0.loss_password_url_user AS loss_password_url_user_20, t0.date_loss_password_user AS date_loss_password_user_21, t0.date_naissance AS date_naissance_22, t0.date_synchronisation AS date_synchronisation_23, t0.type_prod_user AS type_prod_user_24, t0.si_chef AS si_chef_25, t0.code_genere AS code_genere_26, t0.site_web AS site_web_27, t0.cni AS cni_28, t0.cout AS cout_29, t0.commission AS commission_30, t0.type_utilisateur AS type_utilisateur_31, t0.roles AS roles_32, t0.profil_id AS profil_id_33, t0.ville_id AS ville_id_34, t0.entrepot_id AS entrepot_id_35, t0.caisse_id AS caisse_id_36, t0.abonne_id AS abonne_id_37 FROM utilisateur t0 WHERE t0.id = ?
Parameters:
[
  23270
]
2 0.75 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.valeur AS valeur_3, t0.type_donnee AS type_donnee_4, t0.libelle AS libelle_5, t0.description AS description_6, t0.type_param AS type_param_7, t0.affiche AS affiche_8 FROM param t0 WHERE t0.nom = ? LIMIT 1
Parameters:
[
  2
]
3 0.32 ms
SELECT t0.id AS id_1, t0.date_connexion AS date_connexion_2, t0.date_last_action AS date_last_action_3, t0.date_deconnexion AS date_deconnexion_4, t0.adresse_ip AS adresse_ip_5, t0.tab_id_actions AS tab_id_actions_6, t0.tab_date_actions AS tab_date_actions_7, t0.duree_connexion AS duree_connexion_8, t0.utilisateur_id AS utilisateur_id_9 FROM connexion t0 WHERE t0.id = ?
Parameters:
[
  7289
]
4 0.25 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.description AS description_3, t0.controleur_id AS controleur_id_4, t0.module_id AS module_id_5, t0.abonne_id AS abonne_id_6 FROM action t0 WHERE t0.nom = ? LIMIT 1
Parameters:
[
  ""
]
5 0.21 ms
SELECT t0.id AS id_1, t0.nom AS nom_2, t0.valeur AS valeur_3, t0.type_donnee AS type_donnee_4, t0.libelle AS libelle_5, t0.description AS description_6, t0.type_param AS type_param_7, t0.affiche AS affiche_8 FROM param t0 WHERE t0.nom = ? LIMIT 1
Parameters:
[
  1
]
6 5.76 ms
SELECT p0_.id AS id_0, p0_.code_produit AS code_produit_1, p0_.nom_produit AS nom_produit_2, p0_.description_produit AS description_produit_3, p0_.poids_produit AS poids_produit_4, p0_.frais_affecte_produit AS frais_affecte_produit_5, p0_.marge_salariale_produit AS marge_salariale_produit_6, p0_.siSysteme AS siSysteme_7, p0_.siMelange AS siMelange_8, p0_.seuil_produit AS seuil_produit_9, p0_.en_stock_produit AS en_stock_produit_10, p0_.fabricat_produit AS fabricat_produit_11, p0_.date_publication AS date_publication_12, p0_.date_commer AS date_commer_13, p0_.date_modification AS date_modification_14, p0_.id_auteur AS id_auteur_15, p0_.etat_produit AS etat_produit_16, p0_.quantite_detail AS quantite_detail_17, p0_.etat_libelle AS etat_libelle_18, p0_.siEcommerce AS siEcommerce_19, p0_.montanthtAchat AS montanthtAchat_20, p0_.montanthtvente AS montanthtvente_21, p0_.tauxTva AS tauxTva_22, p0_.couleur_produit AS couleur_produit_23, p0_.montantttcvente AS montantttcvente_24, p0_.autretaxe AS autretaxe_25, p0_.si_conditionnement AS si_conditionnement_26, p0_.si_transformation AS si_transformation_27, p0_.si_vendable AS si_vendable_28, p0_.si_semence AS si_semence_29, p0_.rendement AS rendement_30, p0_.si_accueil AS si_accueil_31, p0_.titre_image AS titre_image_32, p0_.code_genere AS code_genere_33, p0_.si_agricole AS si_agricole_34, p0_.si_agricole_parent AS si_agricole_parent_35, p0_.type_saison AS type_saison_36, p0_.si_heritage AS si_heritage_37, p0_.type_qualite AS type_qualite_38, p0_.si_affichage AS si_affichage_39, p0_.url_image AS url_image_40, p0_.action_comptable AS action_comptable_41, p0_.code_barre AS code_barre_42, p0_.melange_id AS melange_id_43, p0_.categorie_id AS categorie_id_44, p0_.produit_id AS produit_id_45, p0_.compte AS compte_46, p0_.produitsysteme_id AS produitsysteme_id_47, p0_.carateristiqueproduit_id AS carateristiqueproduit_id_48, p0_.unite_id AS unite_id_49, p0_.abonne_id AS abonne_id_50 FROM produit p0_ INNER JOIN produit_abonne p1_ ON p0_.id = p1_.produit_id INNER JOIN abonne a2_ ON p1_.abonne_id = a2_.id WHERE p0_.si_agricole = ? AND p0_.si_agricole_parent <> ? AND a2_.id = ?
Parameters:
[
  1
  1
  94
]
7 7.53 ms
SELECT DISTINCT( MONTH(c.date_commande)) as mois
            
                            FROM  commande c
                            INNER JOIN lignecommande lc on lc.commande_id = c.id
                            INNER JOIN produit_abonne pa on lc.produitabonne_id  = pa.id
                            INNER JOIN produit p on pa.produit_id = p.id
                            INNER JOIN abonne a on pa.abonne_id = a.id
                            
                            WHERE a.id =:abonneId AND YEAR(c.date_commande) =:annee 

                            GROUP BY p.nom_produit, MONTH(c.date_commande)
Parameters:
[
  ":abonneId" => 94
  ":annee" => "2024"
]
8 7.54 ms
SELECT DISTINCT( MONTH(c.date_commande)) as mois
            
                            FROM  commande c
                            INNER JOIN lignecommande lc on lc.commande_id = c.id
                            INNER JOIN produit_abonne pa on lc.produitabonne_id  = pa.id
                            INNER JOIN produit p on pa.produit_id = p.id
                            INNER JOIN abonne a on pa.abonne_id = a.id
                            
                            WHERE a.id =:abonneId AND YEAR(c.date_commande) =:annee 

                            GROUP BY p.nom_produit, MONTH(c.date_commande)
Parameters:
[
  ":abonneId" => 94
  ":annee" => "2024"
]

Database Connections

Name Service
default doctrine.dbal.default_connection

Entity Managers

Name Service
default doctrine.orm.default_entity_manager

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping

Class Mapping errors
App\Entity\param\Param No errors.
App\Entity\user\Utilisateur
  • The mappings App\Entity\user\Utilisateur#producteurs and App\Entity\prod\Producteur#utilisateur are inconsistent with each other.
  • The mappings App\Entity\user\Utilisateur#inspectionremplis and App\Entity\inspection\InspectionRempli#utilisateur are inconsistent with each other.
  • The mappings App\Entity\user\Utilisateur#fournisseurs and App\Entity\stock\Fournisseur#utilisateur are inconsistent with each other.
  • The association App\Entity\user\Utilisateur#caisse refers to the inverse side field App\Entity\stock\Caisse#utilisateurs which does not exist.
  • The association App\Entity\user\Utilisateur#abonne refers to the inverse side field App\Entity\user\Abonne#utilisateurs which does not exist.
  • The mappings App\Entity\user\Utilisateur#evenements and App\Entity\prod\Evenement#utilisateur are inconsistent with each other.
App\Entity\user\Abonne
  • The association App\Entity\user\Abonne#template refers to the inverse side field App\Entity\cms\Template#abonnes which does not exist.
  • The association App\Entity\user\Abonne#partenaire refers to the inverse side field App\Entity\user\Partenaire#abonnes which does not exist.
  • The association App\Entity\user\Abonne#pays refers to the inverse side field App\Entity\stock\Pays#abonnes which does not exist.
App\Entity\stock\Produit
  • The mappings App\Entity\stock\Produit#melange and App\Entity\stock\Produit#produits are inconsistent with each other.
  • The mappings App\Entity\stock\Produit#produitsysteme and App\Entity\stock\Produit#produits are inconsistent with each other.
  • The association App\Entity\stock\Produit#carateristiqueproduit refers to the inverse side field App\Entity\stock\CarateristiqueProduit#produits which does not exist.
  • The association App\Entity\stock\Produit#abonne refers to the inverse side field App\Entity\user\Abonne#produits which does not exist.
  • The association App\Entity\stock\Produit#infotraitements refers to the owning side field App\Entity\stock\InfoTraitement#produit which does not exist.
App\Entity\user\Profil
  • The association App\Entity\user\Profil#abonne refers to the inverse side field App\Entity\user\Abonne#profils which does not exist.
App\Entity\stock\Ville
  • The mappings App\Entity\stock\Ville#zoneabonnes and App\Entity\stock\ZoneAbonne#ville are inconsistent with each other.
  • The mappings App\Entity\stock\Ville#fichier and App\Entity\stock\Fichier#ville are inconsistent with each other.
App\Entity\stock\Entrepot
  • The association App\Entity\stock\Entrepot#abonne refers to the inverse side field App\Entity\user\Abonne#entrepots which does not exist.
App\Entity\stock\Caisse
  • The association App\Entity\stock\Caisse#abonne refers to the inverse side field App\Entity\user\Abonne#caisses which does not exist.
  • The association App\Entity\stock\Caisse#partenaire refers to the inverse side field App\Entity\user\Partenaire#abonnes which does not exist.
App\Entity\user\Connexion No errors.
App\Entity\stock\Commande
  • The mappings App\Entity\stock\Commande#infoLivrers and App\Entity\stock\InfoLivrer#commande are inconsistent with each other.
  • The association App\Entity\stock\Commande#opportunite refers to the inverse side field App\Entity\stock\Opportunite#commandes which does not exist.
  • The association App\Entity\stock\Commande#tableMange refers to the inverse side field App\Entity\stock\TableMange#commandes which does not exist.
  • The association App\Entity\stock\Commande#abonne refers to the inverse side field App\Entity\user\Abonne#commandes which does not exist.
App\Entity\stock\Operation
  • The association App\Entity\stock\Operation#devise refers to the inverse side field App\Entity\stock\Devise#operations which does not exist.
  • The association App\Entity\stock\Operation#produit refers to the inverse side field App\Entity\stock\Produit#operations which does not exist.
  • The association App\Entity\stock\Operation#prestataire refers to the inverse side field App\Entity\stock\Prestataire#operations which does not exist.
  • The association App\Entity\stock\Operation#fournisseur refers to the inverse side field App\Entity\stock\Fournisseur#operations which does not exist.
  • The association App\Entity\stock\Operation#client refers to the inverse side field App\Entity\client\Client#operations which does not exist.
  • The association App\Entity\stock\Operation#typeoperation refers to the inverse side field App\Entity\stock\TypeOperation#operationcaisses which does not exist.
  • The association App\Entity\stock\Operation#plancomptable refers to the inverse side field App\Entity\stock\PlanComptable#operationcaisses which does not exist.
  • The association App\Entity\stock\Operation#producteur refers to the inverse side field App\Entity\prod\Producteur#operations which does not exist.
  • The association App\Entity\stock\Operation#abonne refers to the inverse side field App\Entity\user\Abonne#operations which does not exist.
  • The association App\Entity\stock\Operation#partenaire refers to the inverse side field App\Entity\user\Partenaire#abonnes which does not exist.
  • The association App\Entity\stock\Operation#tacheproduitetapecroissance refers to the inverse side field App\Entity\prod\TacheProduitEtapeCroissance#operations which does not exist.
  • The association App\Entity\stock\Operation#activite refers to the inverse side field App\Entity\asso\Activite#operations which does not exist.
  • The association App\Entity\stock\Operation#surfaceannee refers to the inverse side field App\Entity\prod\SurfaceAnnee#operations which does not exist.
App\Entity\stock\CommandeTmp
  • The association App\Entity\stock\CommandeTmp#fournisseur refers to the inverse side field App\Entity\stock\Fournisseur#commandetmps which does not exist.
  • The association App\Entity\stock\CommandeTmp#abonne refers to the inverse side field App\Entity\user\Abonne#commandetmps which does not exist.
App\Entity\stock\Depassement No errors.
App\Entity\prod\SurfaceAnnee
  • The association App\Entity\prod\SurfaceAnnee#surfaceannee refers to the inverse side field App\Entity\prod\SurfaceAnnee#surfaceannees which does not exist.
  • The association App\Entity\prod\SurfaceAnnee#abonne refers to the inverse side field App\Entity\user\Abonne#surfaceannees which does not exist.
  • The mappings App\Entity\prod\SurfaceAnnee#infolivrers and App\Entity\stock\InfoLivrer#surfaceannee are inconsistent with each other.
App\Entity\stock\SeTrouver No errors.
App\Entity\prod\Producteur
  • The association App\Entity\prod\Producteur#utilisateur refers to the inverse side field App\Entity\user\Utilisateur#producteur which does not exist.
  • The association App\Entity\prod\Producteur#village refers to the inverse side field App\Entity\stock\Village#producteur which does not exist.
  • The association App\Entity\prod\Producteur#abonne refers to the inverse side field App\Entity\user\Abonne#producteurs which does not exist.
  • The association App\Entity\prod\Producteur#agent refers to the inverse side field App\Entity\user\Utilisateur#producteur which does not exist.
App\Entity\inspection\InspectionRempli
  • The association App\Entity\inspection\InspectionRempli#inspection refers to the inverse side field App\Entity\inspection\Inspection#inspectionremplis which does not exist.
  • The association App\Entity\inspection\InspectionRempli#evenement refers to the inverse side field App\Entity\prod\Evenement#inspectionremplis which does not exist.
  • The association App\Entity\inspection\InspectionRempli#infolivrer refers to the inverse side field App\Entity\stock\InfoLivrer#inspectionremplis which does not exist.
  • The association App\Entity\inspection\InspectionRempli#transformation refers to the inverse side field App\Entity\stock\Transformation#inspectionremplis which does not exist.
  • The association App\Entity\inspection\InspectionRempli#surfaceabonne refers to the inverse side field App\Entity\prod\SurfaceAbonne#lignecommandes which does not exist.
  • The association App\Entity\inspection\InspectionRempli#abonne refers to the inverse side field App\Entity\user\Abonne#inspectionremplis which does not exist.
  • The association App\Entity\inspection\InspectionRempli#utilisateur refers to the inverse side field App\Entity\user\Utilisateur#inspectionrempli which does not exist.
  • The association App\Entity\inspection\InspectionRempli#groupement refers to the inverse side field App\Entity\prod\Groupement#inspectionremplis which does not exist.
  • The association App\Entity\inspection\InspectionRempli#programme refers to the inverse side field App\Entity\inspection\Programme#inspectionremplis which does not exist.
  • The association App\Entity\inspection\InspectionRempli#fournisseur refers to the inverse side field App\Entity\stock\Fournisseur#inspectionremplis which does not exist.
App\Entity\stock\Fournisseur
  • The mappings App\Entity\stock\Fournisseur#commandeTmps and App\Entity\stock\CommandeTmp#fournisseur are inconsistent with each other.
  • The association App\Entity\stock\Fournisseur#utilisateur refers to the inverse side field App\Entity\user\Utilisateur#producteur which does not exist.
  • The association App\Entity\stock\Fournisseur#abonne refers to the inverse side field App\Entity\user\Abonne#fournisseurs which does not exist.
App\Entity\client\Client
  • The association App\Entity\client\Client#ville refers to the inverse side field App\Entity\stock\Ville#clients which does not exist.
  • The association App\Entity\client\Client#abonne refers to the inverse side field App\Entity\user\Abonne#clients which does not exist.
  • The association App\Entity\client\Client#caisse refers to the inverse side field App\Entity\stock\Caisse#clients which does not exist.
App\Entity\stock\InfoTraitement
  • The association App\Entity\stock\InfoTraitement#abonne refers to the inverse side field App\Entity\user\Abonne#infotraitements which does not exist.
App\Entity\stock\Transformation
  • The association App\Entity\stock\Transformation#infolivrer refers to the inverse side field App\Entity\stock\InfoLivrer#transformations which does not exist.
  • The association App\Entity\stock\Transformation#produit refers to the inverse side field App\Entity\stock\Produit#transformations which does not exist.
  • The association App\Entity\stock\Transformation#produitabonne refers to the inverse side field App\Entity\stock\ProduitAbonne#transformations which does not exist.
  • The mappings App\Entity\stock\Transformation#transformationproduits and App\Entity\stock\TransformationProduit#transformation are inconsistent with each other.
  • The association App\Entity\stock\Transformation#abonne refers to the inverse side field App\Entity\user\Abonne#transformations which does not exist.
  • The association App\Entity\stock\Transformation#etapeprocessuses refers to the owning side field App\Entity\stock\EtapeProcessus#transformation which does not exist.
App\Entity\stock\ResultatTraitement No errors.
App\Entity\prod\Evenement
  • The association App\Entity\prod\Evenement#utilisateur refers to the inverse side field App\Entity\user\Utilisateur#evenement which does not exist.
  • The association App\Entity\prod\Evenement#images refers to the owning side field App\Entity\stock\Image#evenement which does not exist.
  • The association App\Entity\prod\Evenement#producteurevenements refers to the owning side field App\Entity\prod\ProducteurEvenement#evenement which does not exist.
  • The association App\Entity\prod\Evenement#abonne refers to the inverse side field App\Entity\user\Abonne#evenements which does not exist.
App\Entity\prod\ProducteurEvenement
  • The association App\Entity\prod\ProducteurEvenement#abonne refers to the inverse side field App\Entity\user\Abonne#producteurevenements which does not exist.
App\Entity\user\HistoriqueAction
  • The association App\Entity\user\HistoriqueAction#fournisseur refers to the inverse side field App\Entity\stock\Fournisseur#historiqueactions which does not exist.
  • The association App\Entity\user\HistoriqueAction#abonne refers to the inverse side field App\Entity\user\Abonne#utilisateurs which does not exist.
App\Entity\user\HistoriqueActionUtilisateur No errors.
App\Entity\track\Localisation
  • The association App\Entity\track\Localisation#surfaceabonne refers to the inverse side field App\Entity\prod\SurfaceAbonne#lignecommandes which does not exist.
  • The association App\Entity\track\Localisation#commande refers to the inverse side field App\Entity\stock\Commande#localisations which does not exist.
  • The association App\Entity\track\Localisation#entrepot refers to the inverse side field App\Entity\stock\Entrepot#localisations which does not exist.
  • The association App\Entity\track\Localisation#abonne refers to the inverse side field App\Entity\user\Abonne#localisations which does not exist.
  • The association App\Entity\track\Localisation#inspectionrempli refers to the inverse side field App\Entity\inspection\InspectionRempli#localisations which does not exist.
App\Entity\stock\Image
  • The association App\Entity\stock\Image#certification refers to the inverse side field App\Entity\prod\Certification#images which does not exist.
  • The association App\Entity\stock\Image#article refers to the inverse side field App\Entity\cms\Article#images which does not exist.
  • The association App\Entity\stock\Image#abonne refers to the inverse side field App\Entity\user\Abonne#fournisseurs which does not exist.
App\Entity\user\Action
  • The association App\Entity\user\Action#abonne refers to the inverse side field App\Entity\user\Abonne#actions which does not exist.
App\Entity\user\Module
  • The association App\Entity\user\Module#abonne refers to the inverse side field App\Entity\user\Abonne#modules which does not exist.
App\Entity\user\Controleur No errors.
App\Entity\prod\TacheProduitEtapeCroissance
  • The association App\Entity\prod\TacheProduitEtapeCroissance#activite refers to the inverse side field App\Entity\asso\Activite#activiteproduitetapecroissances which does not exist.
  • The association App\Entity\prod\TacheProduitEtapeCroissance#produitetapecroissance refers to the inverse side field App\Entity\prod\ProduitEtapeCroissance#activiteproduitetapecroissances which does not exist.
  • The association App\Entity\prod\TacheProduitEtapeCroissance#abonne refers to the inverse side field App\Entity\user\Abonne#surfaces which does not exist.
App\Entity\stock\ProduitAbonne
  • The association App\Entity\stock\ProduitAbonne#abonne refers to the inverse side field App\Entity\user\Abonne#produitabonnes which does not exist.
  • The association App\Entity\stock\ProduitAbonne#partenaire refers to the inverse side field App\Entity\user\Partenaire#produitabonnes which does not exist.
App\Entity\stock\CategorieProduit
  • The association App\Entity\stock\CategorieProduit#abonne refers to the inverse side field App\Entity\user\Abonne#categories which does not exist.
  • The association App\Entity\stock\CategorieProduit#categorieproduit refers to the inverse side field App\Entity\stock\CategorieProduit#categories which does not exist.
  • The association App\Entity\stock\CategorieProduit#typeAbonne refers to the inverse side field App\Entity\user\TypeAbonne#categories which does not exist.
App\Entity\stock\PlanComptable
  • The mappings App\Entity\stock\PlanComptable#operations and App\Entity\stock\Operation#plancomptable are inconsistent with each other.
  • The association App\Entity\stock\PlanComptable#abonne refers to the inverse side field App\Entity\user\Abonne#plancomptables which does not exist.
App\Entity\stock\CarateristiqueProduit
  • The association App\Entity\stock\CarateristiqueProduit#abonne refers to the inverse side field App\Entity\user\Abonne#carateristiqueproduits which does not exist.
App\Entity\stock\Unite
  • The association App\Entity\stock\Unite#abonne refers to the inverse side field App\Entity\user\Abonne#unites which does not exist.
App\Entity\stock\CaisseProduit
  • The association App\Entity\stock\CaisseProduit#caisse refers to the inverse side field App\Entity\stock\Caisse#caisseproduits which does not exist.
  • The association App\Entity\stock\CaisseProduit#abonne refers to the inverse side field App\Entity\user\Abonne#caisseproduits which does not exist.
App\Entity\stock\LigneCommande
  • The mappings App\Entity\stock\LigneCommande#variete and App\Entity\stock\Produit#lignecommandes are inconsistent with each other.
  • The association App\Entity\stock\LigneCommande#abonne refers to the inverse side field App\Entity\user\Abonne#lignecommandes which does not exist.
App\Entity\stock\ImageProduit No errors.
App\Entity\stock\FournisseurProduit No errors.
App\Entity\stock\TypeProduit
  • The association App\Entity\stock\TypeProduit#abonne refers to the inverse side field App\Entity\user\Abonne#typeproduits which does not exist.
App\Entity\stock\Production
  • The association App\Entity\stock\Production#abonne refers to the inverse side field App\Entity\user\Abonne#productions which does not exist.
App\Entity\stock\TraiteProduction No errors.
App\Entity\stock\PrixRigueur
  • The association App\Entity\stock\PrixRigueur#prixzones refers to the owning side field App\Entity\stock\PrixRigueur#prixrigueur which does not exist.
  • The association App\Entity\stock\PrixRigueur#abonne refers to the inverse side field App\Entity\user\Abonne#prixrigueurs which does not exist.
App\Entity\inspection\InspectionProduit
  • The association App\Entity\inspection\InspectionProduit#inspection refers to the inverse side field App\Entity\inspection\Inspection#inspectionproduits which does not exist.
App\Entity\prod\AnneeCampagne
  • The association App\Entity\prod\AnneeCampagne#abonne refers to the inverse side field App\Entity\user\Abonne#anneecampagnes which does not exist.
  • The mappings App\Entity\prod\AnneeCampagne#setrouvers and App\Entity\stock\SeTrouver#anneecampagne are inconsistent with each other.