Skip to content

Commit

Permalink
[BE/#57] Feat : 마일스톤 삭제 DAO 쿼리 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
MuseopKim committed Jun 18, 2020
1 parent c7e7293 commit 7b33074
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,9 @@ public void updateMilestone(Integer milestoneId, String title, LocalDate dueDate
"WHERE id = :milestoneId";
namedParameterJdbcTemplate.update(sql, namedParameters);
}

public void deleteMilestone(Integer milestoneId) {
String sql = "DELETE FROM milestone WHERE id = ?";
jdbcTemplate.update(sql, milestoneId);
}
}

0 comments on commit 7b33074

Please sign in to comment.