From 5deadc329f55f166f1f3c3ed7b1997a84cd9a256 Mon Sep 17 00:00:00 2001 From: ly19960718 <1622779752@qq.com> Date: Fri, 27 Aug 2021 15:17:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E6=95=B0=E6=8D=AE=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../app/resource/alarmlog/AlarmlogAppResourceController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cm/tenlion/pollutantdata/controller/app/resource/alarmlog/AlarmlogAppResourceController.java b/src/main/java/com/cm/tenlion/pollutantdata/controller/app/resource/alarmlog/AlarmlogAppResourceController.java index c5949c1..ff26ead 100644 --- a/src/main/java/com/cm/tenlion/pollutantdata/controller/app/resource/alarmlog/AlarmlogAppResourceController.java +++ b/src/main/java/com/cm/tenlion/pollutantdata/controller/app/resource/alarmlog/AlarmlogAppResourceController.java @@ -117,7 +117,7 @@ public class AlarmlogAppResourceController extends AbstractController { //查询企业绑定监控污染因子 Map params = new HashMap<>(); params.put("enterpriseId",enterpriseId); - params.put("pollId",pollDTO.getPollId()); + params.put("pollNo",pollDTO.getPollId()); EnterprisePollDTO enterprisePollDTO = enterprisePollService.get(params); if(enterprisePollDTO != null){//按企业绑定报警值计算 double v = (rtd - enterprisePollDTO.getEnterprisePollBeyond()) / pollDTO.getAlarmValue();