Created
January 6, 2017 06:57
-
-
Save enujo/79148d3501e6774efd463111a7423be7 to your computer and use it in GitHub Desktop.
spring mvc insert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tistory.luahius.service; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.stereotype.Service; | |
@Service | |
public class BoardServiceImpl implements BoardService{ | |
@Autowired | |
private BoardDao boardDao; | |
@Override | |
public int addBoard(Board board) { | |
return boardDao.insertBoard(board); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment