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();