diff --git a/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/controller/WorkTicketInfoController.java b/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/controller/WorkTicketInfoController.java index 8023b6f..f8a2d3a 100644 --- a/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/controller/WorkTicketInfoController.java +++ b/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/controller/WorkTicketInfoController.java @@ -266,7 +266,7 @@ public class WorkTicketInfoController { @PostMapping("/cancel") @ApiOperationSupport(order = 50) @ApiOperation(value = "线下工作票作废") - public R cancel(WorkTicketInfoEntity entity) { + public R cancel(@RequestBody WorkTicketInfoEntity entity) { return R.status(workTicketInfoService.cancel(entity)); }