delete article

This commit is contained in:
Parpaillax
2024-04-30 14:28:32 +02:00
parent bc0a7eb33e
commit bcc6a672e8
5 changed files with 19 additions and 14 deletions

View File

@@ -330,7 +330,10 @@ public class ArticleRepositoryImpl implements ArticleRepository {
@Override
public void deleteArticle(int id) {
String sql = "UPDATE ARTICLES_VENDUS " +
"SET isDelete = 1 " +
"WHERE no_article = ?";
jdbcTemplate.update(sql, id);
}
@Override