Search

다른 유저의 플래너 리스트 및 플래너 접근 test 코드 구현

유형
java
HTML
javaScript
작업일지
Date
2023/04/07
프로젝트
1.다른 유저의 플래너 리스트 및 플래너 접근 test 코드 구현
<form th:action="@{/planner/other-list}" method="get"> <input type="text" th:value="group1B" name="profileId"/> <button><span>플래너 이동</span></button> </form>
HTML
복사
Planner-list.html
//다른사람의 플래너를 볼 때 @GetMapping("other-list") public String plannerOtherList( @PageableDefault(size=10, sort="tpIdx", direction = Direction.DESC, page = 0) Pageable pageable, Model model, String profileId//다른사람 프로필에서 플래너 보기를 누를때 ) { Map<String, Object> commandMap = plannerService.findPlannerListByUserId(profileId,pageable); model.addAllAttributes(commandMap); return "/planner/planner-list"; }
Java
복사
planner 컨트롤러
2.
예산, 교통 todo type 콤보박스로 변경
3.
플래너에 채팅기능 추가