enchere done
This commit is contained in:
@@ -349,4 +349,10 @@ public class ArticleRepositoryImpl implements ArticleRepository {
|
||||
jdbcTemplate.update(sql, article.getNom(), article.getDesc(), article.getDateDebutEnch(), article.getDateFinEnch(), article.getPrixInitial(), article.getNumCategorie(), article.getId());
|
||||
return article.getId();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setSellPrice(int id, float price) {
|
||||
String sql = "UPDATE ARTICLES_VENDUS SET prix_vente = ?, isDelete = 1 WHERE no_article = ?";
|
||||
jdbcTemplate.update(sql, price, id);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user