From dc31792dc1b8ad1658e49ba8fce9a1be924e6fbb Mon Sep 17 00:00:00 2001
From: wu <731351411@qq.com>
Date: 星期四, 30 十一月 2023 08:44:04 +0800
Subject: [PATCH] 理片笼测试修改

---
 springboot-vue3/src/main/java/com/example/springboot/controller/SpianController.java |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 46 insertions(+), 0 deletions(-)

diff --git a/springboot-vue3/src/main/java/com/example/springboot/controller/SpianController.java b/springboot-vue3/src/main/java/com/example/springboot/controller/SpianController.java
new file mode 100644
index 0000000..7ab5b9a
--- /dev/null
+++ b/springboot-vue3/src/main/java/com/example/springboot/controller/SpianController.java
@@ -0,0 +1,46 @@
+package com.example.springboot.controller;
+
+import com.example.springboot.mapper.SpianMapper;
+import com.example.springboot.service.SpianService;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+
+@RestController
+@RequestMapping("/spian")
+
+ 
+public class SpianController {
+    
+    @Autowired
+    SpianMapper spianMapper;
+    @Autowired
+    SpianService spianservice;
+    //鍑虹墖浠诲姟
+@GetMapping("/all2")
+    public void selectdd(String orderid){
+       SpianService service=new SpianService();
+       service.selectout(orderid);
+    
+}
+
+   @GetMapping("/all")
+   //杩涚墖浠诲姟,浼犺鍗昳d
+   //鎸夎鍗曚紭鍏堣繘鐗�
+    public void selectAll(Short glassid){
+       SpianService service=new SpianService();
+       service.selectAll(Short.toString(glassid));
+      
+    }
+    
+
+ 
+
+
+
+
+}   

--
Gitblit v1.8.0