From 8543fbf45b16f375dc321c0618711378e1b8d636 Mon Sep 17 00:00:00 2001 From: "morgann.david" Date: Thu, 12 Sep 2024 09:41:17 +0200 Subject: [PATCH] modif classe entreprise --- src/métiers/Entreprise.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/métiers/Entreprise.java b/src/métiers/Entreprise.java index 7f9167a..06d78a2 100644 --- a/src/métiers/Entreprise.java +++ b/src/métiers/Entreprise.java @@ -44,7 +44,7 @@ public class Entreprise { public Commande rechercherCommande(int noCom){ Commande uneCommande = null; for(Commande laCommande : lesCommandes){ - if(laCommande.noCom == noCom){ + if(laCommande.getNoCom() == noCom){ uneCommande = laCommande; break; }