반응형 thymeleaf list Controller1 [소경관] : 직접 체크 로직 구현 정리하기 등록한 주민과 차량 정보를 불러와 본격적으로 근무를 할 때 사용하게 될 부분을 구현한다. 기존에 있는 리스트를 불러와 Checkbox 형태로 해당 주민의 차량이 주차되어 있는지 체크하는 로직이다. @GetMapping("/touchCheck") public String touchCheck(Model model) throws Exception { List carDTOList = iCarListService.getFullCarList(); CheckListVo checkListVo = new CheckListVo(); checkListVo.setCarDtoList(carDTOList); model.addAttribute("carDTOList", carDTOList); model.addAttribute("ch.. 2022. 5. 23. 이전 1 다음 반응형