Skip to content

Commit

Permalink
[feat] 기본CRUD #2
Browse files Browse the repository at this point in the history
  • Loading branch information
greatSweetMango committed Jan 12, 2023
1 parent e97440e commit 0977c98
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ public String boardUpdate(@PathVariable Integer id,

boardservice.write(boardTemp);
return "";
//.
//...
}
}
2 changes: 1 addition & 1 deletion src/main/java/com/example/demo/entity/Board.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ public class Board {

@Column(length = 500, nullable = true)
private String content;

//.
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@

public interface BoardRepository extends JpaRepository <Board, Integer>{
}
//.
1 change: 1 addition & 0 deletions src/main/java/com/example/demo/service/BoardService.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ public void boardDelete(Integer id) {
boardRepository.deleteById(id);
}
}
//.

0 comments on commit 0977c98

Please sign in to comment.