20240227 스프링(공지 게시판)
내일 할 것. *공지 게시판 notice NoticeController NoticeService>2 NoticeServiceImpl NoticeDAO NoticeDTO >1 notice-mapper.xml *dto에 들어갈 내용 >1 int nno,ndel,nlike,nread String ntitle,ncontent,ndate *DB >2 table name : notice column: nno(int, auto,PK),ndel(int1, 기본1), nread(int,기본1), nlike(int, 기본1),ntitle(VARCHAR 50),ncontent( VARCHAR 500), ndate(datetime, current timestamp) NoticeSerive에 들어갈 추상메소드 >3 일단 서비스..
더보기
20240226 스프링(갤러리 상세보기(detail), 갤러리 컨트롤러/서비스 상속만들기 , 공지게시판)
요구사항 확인-> 클라이언트 요구사항 받아서 갤러리 수정 등 갤러리 폴라로이드 형식으로 보이게 바꾸기 gallery.jsp > 위에 사진처럼 그리드 형식으로 나오게 변경하기, 부트스트랩 이용해서 만들었다. ${row.gtitle} ${row.glike} | 날짜: ${row.gdate} 글쓰기 게시판으로 gallery-mapper.xml 수정 SELECT gno, gtitle, gfile, if( date_format(now(), '%Y-%m-%d') = date_format(gdate, '%Y-%m-%d'), date_format(gdate, '%h:%i'), date_format(gdate, '%Y-%m-%d')) as gdate, glike FROM gallery WHERE gdel=1 ORDER ..
더보기