From 858d95b05d61f992d4e510a5b44d3f2a9704d29a Mon Sep 17 00:00:00 2001
From: 邱宇豪 <qyh123230312>
Date: 星期二, 28 十一月 2023 09:21:38 +0800
Subject: [PATCH] 20231128_qiuyh_调整积分相关隐患举报
---
hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/embedment/controller/SysEmbedmentGoodsController.java | 23 +++++++++++++++++++----
1 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/embedment/controller/SysEmbedmentGoodsController.java b/hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/embedment/controller/SysEmbedmentGoodsController.java
index a0827e6..a100dca 100644
--- a/hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/embedment/controller/SysEmbedmentGoodsController.java
+++ b/hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/embedment/controller/SysEmbedmentGoodsController.java
@@ -5,10 +5,7 @@
import com.thhy.materials.modules.biz.embedment.entity.SysEmbedmentGoodsEntity;
import com.thhy.materials.modules.biz.embedment.service.SysEmbedmentGoodsService;
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.*;
/**
* @Author QiuYuHao
@@ -38,4 +35,22 @@
public BasicResult findAll(@RequestBody EmbedmentGoodsDto embedmentGoodsDto){
return sysEmbedmentGoodsService.findAll(embedmentGoodsDto);
}
+
+ //查询库存单条
+ @GetMapping("/findEntity")
+ public BasicResult findEntity(@RequestParam String id){
+ return sysEmbedmentGoodsService.findEntity(id);
+ }
+ //查询规格
+ @GetMapping("/findAllDetails")
+ public BasicResult findAllDetails(String id){
+ return sysEmbedmentGoodsService.findAllDetails(id);
+ }
+
+ //查询dict类型
+ @GetMapping("/getType")
+ public BasicResult getType(){
+ return sysEmbedmentGoodsService.getType();
+ }
+
}
--
Gitblit v1.9.3