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