본문 바로가기

전체 글131

ReviewMapper.xml 1234567891011121314151617181920212223242526272829303132333435363738394041424344 insert into BOOKREVIEW( SEQ, NAME, REGDATE, REVIEW )VALUES( bookreview_seq.NEXTVAL, #{name}, DEFAULT, #{review} ) select SEQ, NAME, REGDATE, REVIEW from BOOKREVIEW order by REGDATE DESC delete BOOKREVIEW where SEQ = #{seq} Colored by Color Scriptercs 2019. 2. 24.
BookReviewMapper 123456789101112131415161718package global.sesoc.test.dao; import java.util.List;import java.util.Map; import global.sesoc.test.vo.BookReview; public interface BookReviewMapper { public List reviewList() throws Exception; public int reviewWrite(BookReview bookReview) throws Exception; public int reviewDelete(int seq) throws Exception;} Colored by Color Scriptercs 2019. 2. 24.
BookReviewDAO 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465package global.sesoc.test.dao; import java.util.List; import org.apache.ibatis.session.SqlSession;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Repository; import globa.. 2019. 2. 24.
BookReviewController 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677package global.sesoc.test; import java.util.List;import java.util.Locale; import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Controller;import org.springframework.ui.Model;import org.springframework.web.b.. 2019. 2. 24.
2019.02.21. 이벤트 2019. 2. 21.
2019.02.20. 선택자, 문서객체 탐색 2019. 2. 20.