From d329bc7239934c6491e334c6b1d73c705a7af2df Mon Sep 17 00:00:00 2001 From: xuliangwei Date: Fri, 14 Jul 2023 15:27:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=8E=A5=E5=8F=A3=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E8=AF=B7=E6=B1=82=E9=87=8D=E8=B0=83=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/RequestRecallController.java | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/dxhy-erp/src/main/java/com/dxhy/erp/controller/RequestRecallController.java b/dxhy-erp/src/main/java/com/dxhy/erp/controller/RequestRecallController.java index 3567e79c..b439c86d 100644 --- a/dxhy-erp/src/main/java/com/dxhy/erp/controller/RequestRecallController.java +++ b/dxhy-erp/src/main/java/com/dxhy/erp/controller/RequestRecallController.java @@ -1,13 +1,32 @@ package com.dxhy.erp.controller; +import com.dxhy.common.controller.AbstractController; +import com.dxhy.erp.entity.RequestRecord; +import com.dxhy.erp.service.RequestRecordService; +import io.swagger.annotations.ApiOperation; +import lombok.extern.slf4j.Slf4j; +import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; +@SuppressWarnings("AlibabaMethodTooLong") @RequestMapping("/recall") @RestController -public class RequestRecallController { +@Slf4j +public class RequestRecallController extends AbstractController { + + @Resource + RequestRecordService requestRecordService; + + + @ApiOperation(value = "重调接口入口", notes = "重调接口入口") + @RequestMapping(path = "/requestRecordRecall", method = {RequestMethod.POST}) + public ResponseEntity recall(RequestRecord requestRecord) { + return requestRecordService.reCall(requestRecord); + } }