From 91c1c308abec43a67335cdebb574940ed41b09cf Mon Sep 17 00:00:00 2001 From: jinpengyong <jpy123456> Date: Wed, 05 Aug 2020 16:56:16 +0800 Subject: [PATCH] 修改预测参数,提交到数据库 --- src/main/java/com/moral/service/MonitorPointService.java | 27 ++++++++++++++++++++++++++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/moral/service/MonitorPointService.java b/src/main/java/com/moral/service/MonitorPointService.java index 452a257..9f2247b 100644 --- a/src/main/java/com/moral/service/MonitorPointService.java +++ b/src/main/java/com/moral/service/MonitorPointService.java @@ -1,9 +1,12 @@ package com.moral.service; +import java.util.Collection; import java.util.List; import java.util.Map; +import com.alibaba.fastjson.JSONObject; import com.moral.common.bean.PageBean; +import com.moral.entity.Device; import com.moral.entity.MonitorPoint; public interface MonitorPointService { @@ -23,9 +26,31 @@ List<MonitorPoint> getMonitorPointsByName(String name); List<Map<String,String>> queryMonitroPointsState(List<Integer> idList); - List<MonitorPoint> getMonitorPointsByOrganizationId(Integer orgId); + Integer countOfSubOrgs(Integer orgId); + + List<MonitorPoint> getMonitorPointsByOrganizationId(Integer orgId); List<MonitorPoint> getMonitorPointsByRegion(Map<String, Object> parameters); List<Integer> queryVersionsById(Integer id); + + MonitorPoint queryMonitorPointById(Integer mpointId); + + List<MonitorPoint> getMonitorPointsAndDevicesByRegion(Map<String, Object> parameters); + + Collection<Object> getDevicesStateByRegion(Map<String, Object> parameters); + + void isCompensateCalculation(Map<String, Object> parameters); + + Map<String, Object> selectAllById(String id); + + //������monitorPointId������������������������������������ + List<Device> getDeviceList(int id); + + //���������������������������id + JSONObject getMonitorPointById(int id, String Time, int i, String sensor); + + JSONObject getMacList(int id); + + List<MonitorPoint> getMonitorPointListByAccountId(int id); } -- Gitblit v1.8.0