| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
- 전자정부 서버세팅
- Javascript
- javaspring
- springboot
- 리액트초기세팅
- java
- 처음만나는자바스크립트
- CSS
- mybatis
- 자바스크립트기초
- js
- HTML
- 자바스크립트 기초
- 웹앱
- 기초코딩
- 마이바티스
- 자바
- 구글캘린더api
- 자바스크립트
- spring
- react
- 스프링부트
- 리액트프로젝트세팅
- Spring Boot
- 리액트세팅
- 구글 oauth
- 웹
- 코딩
- 자바스크립트기초문법
- 기초 코딩
- Today
- Total
목록분류 전체보기 (68)
인생 디벨로퍼
삭제 기능은, db delete 가 아닌, status 관리로 비활성화 시키기로 함! Controller @PostMapping("/admin/court/delete") public ResponseEntity courtDelete(@RequestParam("courtId") Long courtId) { boolean delete = stadiumCourtService.courtDelete(courtId); if (delete) { return new ResponseEntity(HttpStatus.OK); } else { return new ResponseEntity(HttpStatus.NOT_FOUND); } } @GetMapping("/admin/court/inactive") public String ..
요 승인 버튼을 활성화 하자! https://steponecoding.tistory.com/23 [2단계] Admin page Court view Controller ==================코트================ @GetMapping("/admin/court") public String courts( String keyword, @PageableDefault(page = 0, size = 5, sort = "id", direction = Sort.Direction.ASC) Pageable pageable, Model model) { Page courts; if (keywo steponecoding.tistory.com 이어집니다~ Controller @PostMapping("/admi..
Controller ==================코트================ @GetMapping("/admin/court") public String courts( String keyword, @PageableDefault(page = 0, size = 5, sort = "id", direction = Sort.Direction.ASC) Pageable pageable, Model model) { Page courts; if (keyword != null && !keyword.isEmpty()) { courts = stadiumCourtService.getCourtListByTitleContaining(keyword, pageable); } else { courts = stadiumCourtS..
Controller @GetMapping("/user/detail/{stadiumId}") public ResponseEntity detail(@PathVariable Long stadiumId) { StadiumDetailDTO stadiumDetailDTO = stadiumService.detail( stadiumId); return ResponseEntity.ok().body(new ResponseDto().data(stadiumDetailDTO)); } Service public StadiumDetailDTO detail(Long stadiumId) { Stadium stadium = stadiumRepository.findById(stadiumId).orElseThrow(() -> { throw..