Class ThreadRatingRestController
java.lang.Object
com.bytedesk.core.base.BaseRestController<ThreadRatingRequest>
com.bytedesk.service.thread_rating.ThreadRatingRestController
@RestController
@RequestMapping("/api/v1/thread/rating")
public class ThreadRatingRestController
extends BaseRestController<ThreadRatingRequest>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>
create
(ThreadRatingRequest request) createorg.springframework.http.ResponseEntity<?>
delete
(ThreadRatingRequest request) deleteexport
(ThreadRatingRequest request, jakarta.servlet.http.HttpServletResponse response) exportorg.springframework.http.ResponseEntity<?>
invite
(ThreadRatingRequest request) org.springframework.http.ResponseEntity<?>
queryByOrg
(ThreadRatingRequest request) org.springframework.http.ResponseEntity<?>
queryByUid
(ThreadRatingRequest request) query by uidorg.springframework.http.ResponseEntity<?>
queryByUser
(ThreadRatingRequest request) query department usersorg.springframework.http.ResponseEntity<?>
update
(ThreadRatingRequest request) update
-
Field Details
-
rateRestService
-
-
Constructor Details
-
ThreadRatingRestController
public ThreadRatingRestController()
-
-
Method Details
-
queryByOrg
- Specified by:
queryByOrg
in classBaseRestController<ThreadRatingRequest>
- Returns:
-
queryByUser
Description copied from class:BaseRestController
query department users- Specified by:
queryByUser
in classBaseRestController<ThreadRatingRequest>
- Returns:
- json
-
queryByUid
Description copied from class:BaseRestController
query by uid- Specified by:
queryByUid
in classBaseRestController<ThreadRatingRequest>
- Parameters:
request
- role- Returns:
- json
-
create
Description copied from class:BaseRestController
create- Specified by:
create
in classBaseRestController<ThreadRatingRequest>
- Parameters:
request
- role- Returns:
- json
-
update
Description copied from class:BaseRestController
update- Specified by:
update
in classBaseRestController<ThreadRatingRequest>
- Parameters:
request
- role- Returns:
- json
-
delete
Description copied from class:BaseRestController
delete- Specified by:
delete
in classBaseRestController<ThreadRatingRequest>
- Parameters:
request
- role- Returns:
- json
-
export
public Object export(ThreadRatingRequest request, jakarta.servlet.http.HttpServletResponse response) Description copied from class:BaseRestController
export- Specified by:
export
in classBaseRestController<ThreadRatingRequest>
- Parameters:
request
- role- Returns:
- json
-
invite
@GetMapping("/invite") public org.springframework.http.ResponseEntity<?> invite(ThreadRatingRequest request)
-