Skip to content

Instantly share code, notes, and snippets.

@enujo
Created January 6, 2017 06:57
Show Gist options
  • Save enujo/79148d3501e6774efd463111a7423be7 to your computer and use it in GitHub Desktop.
Save enujo/79148d3501e6774efd463111a7423be7 to your computer and use it in GitHub Desktop.
spring mvc insert
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