일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 처음만나는자바스크립트
- java
- 마이바티스
- 자바스크립트
- 구글캘린더api
- 웹
- 구글 oauth
- react
- 리액트초기세팅
- 자바스크립트기초문법
- 스프링부트
- Javascript
- 자바
- 리액트세팅
- CSS
- 기초 코딩
- javaspring
- Spring Boot
- 코딩
- 웹앱
- spring
- 기초코딩
- js
- 자바스크립트기초
- springboot
- 전자정부 서버세팅
- 리액트프로젝트세팅
- HTML
- mybatis
- 자바스크립트 기초
- Today
- Total
목록Project (38)
인생 디벨로퍼

Controller @PutMapping("/company/update") public ResponseEntity updateCompany(@AuthenticationPrincipal MyUserDetails myUserDetails, @RequestBody CompanyRequest.UpdateInDTO updateInDTO) throws IOException { CompanyResponse.UpdateOutDTO updateOutDTO = companyService.정보변경(myUserDetails.getUser().getId(), updateInDTO); return ResponseEntity.ok().body(new ResponseDto().data(updateOutDTO)); } Service ..

삭제 기능은, 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..