From 04704cc4ca472375fdd9bd8c20d9fab4dca67b0a Mon Sep 17 00:00:00 2001 From: whycxzp <perryhsu@163.com> Date: 星期四, 03 八月 2023 09:59:03 +0800 Subject: [PATCH] 待测试锁定的软件解锁校验 --- src/main/java/com/whyc/controller/WorksheetLinkController.java | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/whyc/controller/WorksheetLinkController.java b/src/main/java/com/whyc/controller/WorksheetLinkController.java index f5dfe6c..65cc4d1 100644 --- a/src/main/java/com/whyc/controller/WorksheetLinkController.java +++ b/src/main/java/com/whyc/controller/WorksheetLinkController.java @@ -6,10 +6,9 @@ import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; + +import java.io.IOException; @RestController @RequestMapping("worksheetLink") @@ -40,6 +39,11 @@ return new Response().setII(1,"瀹℃壒瀹屾垚"); } + @PutMapping("confirmProductProcedureAndSOP") + @ApiOperation(tags = "娴佺▼鍗″拰SOP",value = "纭杩囩▼-娴佺▼鍗″強SOP纭",notes = "id; linkStatus:纭1,鎷掔粷2; dealReason:鎷掔粷鏃跺~鍐欏鐞嗘剰瑙�") + public Response confirmProductProcedureAndSOP(@RequestBody WorksheetLink link) throws IOException { + return service.confirmProductProcedureAndSOP(link); + } } -- Gitblit v1.9.1