목록페이지 처리를 위한 dto (1)
Learn & Record
Spring (Todo 조회 기능 개발, TodoService / TodoServiceImpl의 개발, TodoController의 개발, 수정 / 삭제를 위한 링크 처리, list.jsp의 링크 처리, Todo의 삭제 기능 개발, checkbox 포맷 추가, TodoController의 modify(), 페이징 처리를 위한 TodoMapper, 페이지 처리를 위한 DTO, TodoMapper의 count 처리, TodoService / TodeServ
1. Todo 조회 기능 개발package com.example.spring_project_02.mapper;import com.example.spring_project_02.domain.TodoVO;import java.util.List;public interface TodoMapper { String getTime(); void insert(TodoVO todoVO); List selectAll(); TodoVO selectOne(Long tno);} - TodoMapper.java에 selectOne 추가 select now() INSERT INTO tbl_todo (title, dueDate, writer) VALUES (#{t..
Dev/Spring
2024. 4. 26. 17:05