patch prod
This commit is contained in:
@@ -198,7 +198,7 @@ public class ArticleRepositoryImpl implements ArticleRepository {
|
|||||||
if (!isFirstCondition) {
|
if (!isFirstCondition) {
|
||||||
sql.append(" OR ");
|
sql.append(" OR ");
|
||||||
}
|
}
|
||||||
sql.append(" (e.no_utilisateur = ? AND e.montant_enchere = (SELECT MAX(montant_enchere) FROM ENCHERES WHERE no_article = a.no_article)) ");
|
sql.append(" (e.no_utilisateur = ? AND e.montant_enchere = (SELECT MAX(montant_enchere) FROM ENCHERES WHERE no_article = a.no_article) AND a.date_fin_encheres <= NOW()) ");
|
||||||
isFirstCondition = false;
|
isFirstCondition = false;
|
||||||
params.add(critere.getNoVendeur());
|
params.add(critere.getNoVendeur());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user