Skip to content

Commit

Permalink
test "스케줄링 사용자테스트"
Browse files Browse the repository at this point in the history
  • Loading branch information
kihoo-ni committed Jul 10, 2024
1 parent 0e5fa7b commit dbf5040
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ public ResponseEntity<Page<UserAndCouponResponseDTO>> getAllUserAndCouponsByUser
return ResponseEntity.status(HttpStatus.OK).body(coupons);
}

// @GetMapping("/users/{userId}")
// public ResponseEntity<Page<UserAndCouponResponseDTO>> getAllUserAndCouponsByUserPaging(@PathVariable("userId") Long userId,@PageableDefault(page = 1, size = 3) Pageable pageable) {
// Page<UserAndCouponResponseDTO> coupons = userAndCouponService.getAllUsersAndCouponsByUserPaging(userId, pageable);
// return ResponseEntity.status(HttpStatus.OK).body(coupons);
// }

@GetMapping("/users")
public ResponseEntity<Page<UserAndCouponResponseDTO>> getAllUsersAndCouponsByManagerPaging(
Expand All @@ -74,4 +69,16 @@ public ResponseEntity<Page<UserAndCouponResponseDTO>> getAllUsersAndCouponsByMan
}





// @GetMapping("/users/order")
// public ResponseEntity<List<UserAndCouponResponseDTO>> getAllUsersAndCouponsByOrder(
//
// ) {
// List<UserAndCouponResponseDTO> coupons = userAndCouponService.;
// return ResponseEntity.status(HttpStatus.OK).body(coupons);
// }


}
File renamed without changes.

0 comments on commit dbf5040

Please sign in to comment.