From fef815b467232a73b461fbee87e4d430a585adec Mon Sep 17 00:00:00 2001
From: 张磊磊 <201175954@qq.com>
Date: 星期一, 04 十二月 2023 13:14:43 +0800
Subject: [PATCH] web拌合站屏幕

---
 hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/weigh/controller/WeighController.java |   36 +++++++++++++++++++++++++++++++-----
 1 files changed, 31 insertions(+), 5 deletions(-)

diff --git a/hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/weigh/controller/WeighController.java b/hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/weigh/controller/WeighController.java
index c782925..d6c047d 100644
--- a/hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/weigh/controller/WeighController.java
+++ b/hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/weigh/controller/WeighController.java
@@ -8,10 +8,7 @@
 import com.thhy.materials.modules.biz.weigh.service.WeighService;
 import org.omg.CORBA.StringHolder;
 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.util.Map;
 
@@ -40,6 +37,35 @@
 		return weighService.weighbridgeList(values);
 	}
 
+	//原料库存
+	@PostMapping("/headThingJsInventory")
+	public BasicResult headThingJsInventory(){
+		return weighService.headThingJsInventory();
+	}
+	//料仓列表
+	@PostMapping("/materialWarehouseRecordList")
+	public BasicResult materialWarehouseRecordList(@RequestBody Map<String,Object> values){
+		return weighService.materialWarehouseRecordList(values);
+	}
 
-
+	//料仓添加进仓
+	@PostMapping("/materialWarehouseRecordInsert")
+	public BasicResult materialWarehouseRecordInsert(@RequestBody Map<String,Object> values){
+		return weighService.materialWarehouseRecordInsert(values);
+	}
+	//料仓修改进仓
+	@PostMapping("/materialWarehouseRecordUpdate")
+	public BasicResult materialWarehouseRecordUpdate(@RequestBody Map<String,Object> values){
+		return weighService.materialWarehouseRecordUpdate(values);
+	}
+	//删除
+	@GetMapping("/materialWarehouseRecordDel")
+	public BasicResult materialWarehouseRecordDel(@RequestParam String id){
+		return weighService.materialWarehouseRecordDel(id);
+	}
+	// 环境监测 thingjs 数据
+	@PostMapping("/headThingJsDateValue")
+	public BasicResult headThingJsDateValue(){
+		return weighService.headThingJsDateValue();
+	}
 }

--
Gitblit v1.9.3