Skip to content

Commit

Permalink
[BE/#56] Feat : 마일스톤 수정 관련 서비스 로직 추가
Browse files Browse the repository at this point in the history
-> milestoneDao.updateMilestone
  • Loading branch information
MuseopKim committed Jun 18, 2020
1 parent bee20f8 commit 59ed010
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,10 @@ public String createNewMilestone(MilestoneRequestDto milestoneRequestDto) {
milestoneDao.createNewMilestone(milestoneRequestDto.getTitle(), milestoneRequestDto.getDueDate(), milestoneRequestDto.getDescription());
return ResponseMessages.SUCCESSFULLY_CREATED;
}

public String updateMilestone(Integer milestoneId, MilestoneRequestDto milestoneRequestDto) {
milestoneDao.updateMilestone(milestoneId, milestoneRequestDto.getTitle(), milestoneRequestDto.getDueDate(),
milestoneRequestDto.getDescription());
return ResponseMessages.SUCCESSFULLY_MODIFIED;
}
}

0 comments on commit 59ed010

Please sign in to comment.