From e78cc56f04556a1d3d54f0db830ba9f16eb28a58 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期六, 03 八月 2024 21:40:53 +0800
Subject: [PATCH] 检验下单待检撤销+删除检验值结论还在

---
 inspect-server/src/main/java/com/yuanchu/mom/controller/InsBushingController.java |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/inspect-server/src/main/java/com/yuanchu/mom/controller/InsBushingController.java b/inspect-server/src/main/java/com/yuanchu/mom/controller/InsBushingController.java
index c588596..92ae84f 100644
--- a/inspect-server/src/main/java/com/yuanchu/mom/controller/InsBushingController.java
+++ b/inspect-server/src/main/java/com/yuanchu/mom/controller/InsBushingController.java
@@ -1,7 +1,12 @@
 package com.yuanchu.mom.controller;
 
+import com.yuanchu.mom.annotation.ValueAuth;
+import com.yuanchu.mom.service.InsBushingService;
+import com.yuanchu.mom.vo.Result;
 import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiModelProperty;
 import lombok.AllArgsConstructor;
+import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
 
@@ -19,4 +24,13 @@
 @RequestMapping("/insBushing")
 public class InsBushingController {
 
+    private InsBushingService insBushingService;
+
+    @ValueAuth
+    @ApiModelProperty("/閫氳繃鏍峰搧id鑾峰彇鏍峰搧涓嬪厜绾ら厤缃唴瀹�")
+    @PostMapping("/selectBushingBySampleId")
+    public Result<?> selectBushingBySampleId(Integer sampleId){
+        return Result.success(insBushingService.selectBushingBySampleId(sampleId));
+    }
+
 }

--
Gitblit v1.9.3