From 4c70d9f0656bbec48fa619f2ec9aa0ee12fca2c1 Mon Sep 17 00:00:00 2001 From: wu <731351411@qq.com> Date: 星期一, 04 十二月 2023 09:04:51 +0800 Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/CanadaMes --- 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