Celine.meneu 16 년 전
부모
커밋
c0e13d43e6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Entrepot/EntrepotInvestissement.cs

+ 1 - 1
CG67.FicheCollege.root/CG67.FicheCollege/Core/CG67.FicheCollege.Entrepot/EntrepotInvestissement.cs

@@ -21,7 +21,7 @@ namespace CG67.FicheCollege.Entrepot
                     using (SqlCommand command = connexion.CreateCommand())
                     {
                         //on récupère les ATC.
-                        command.CommandText = "Select * from InvestissementImmo Where CodeRNE = @RNE AND Annee = @Annee";
+                        command.CommandText = "Select * from InvestissementImmo Where CodeRNE = @RNE AND Annee >= @Annee";
                         command.Parameters.AddWithValue("@RNE", codeRNE);
                         command.Parameters.AddWithValue("@Annee", annee);
                         using (SqlDataReader dr = command.ExecuteReader())