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/service/impl/WeighServiceImpl.java |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/weigh/service/impl/WeighServiceImpl.java b/hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/weigh/service/impl/WeighServiceImpl.java
index b68da00..d50bf9c 100644
--- a/hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/weigh/service/impl/WeighServiceImpl.java
+++ b/hd/pipe/materialsManage/src/main/java/com/thhy/materials/modules/biz/weigh/service/impl/WeighServiceImpl.java
@@ -7,6 +7,8 @@
 import com.thhy.materials.modules.biz.concret.entity.dto.DicetName;
 import com.thhy.materials.modules.biz.concret.entity.dto.TMinxingPlant;
 import com.thhy.materials.modules.biz.concret.entity.dto.WeighDto;
+import com.thhy.materials.modules.biz.helmet.entity.TDataSmock;
+import com.thhy.materials.modules.biz.helmet.entity.TDataValue;
 import com.thhy.materials.modules.biz.weigh.dto.QueryWeighDto;
 import com.thhy.materials.modules.biz.weigh.entity.TSuMaterialWarehouseRecord;
 import com.thhy.materials.modules.biz.weigh.entity.TWeighbridge;
@@ -156,4 +158,22 @@
 		weighMapper.materialWarehouseRecordDel(id);
 		return BasicResult.success();
 	}
+
+	@Override
+	public BasicResult headThingJsDateValue() {
+		//每小时数据值
+		List<TDataValue> tDataValues = weighMapper.headThingJsDateValue();
+		//烟尘  开关
+		TDataSmock tDataSmock = weighMapper.headThingJsDateSmock();
+		//环境最新一条
+		TDataValue tDataValue = weighMapper.headThingJsDateValueByOne();
+		//pm10 pm25 本月数据
+		List<TDataValue> tDataValuesMonth = weighMapper.headThingJsDateValueMonth();
+		HashMap<String, Object> map = new HashMap<>();
+		map.put("tDataValues",tDataValues);
+		map.put("tDataSmock",tDataSmock);
+		map.put("tDataValue",tDataValue);
+		map.put("tDataValuesMonth",tDataValuesMonth);
+		return BasicResult.success(map);
+	}
 }

--
Gitblit v1.9.3