大数据页面资源文件
This commit is contained in:
parent
db6deccfd4
commit
5deadc329f
@ -117,7 +117,7 @@ public class AlarmlogAppResourceController extends AbstractController {
|
|||||||
//查询企业绑定监控污染因子
|
//查询企业绑定监控污染因子
|
||||||
Map<String,Object> params = new HashMap<>();
|
Map<String,Object> params = new HashMap<>();
|
||||||
params.put("enterpriseId",enterpriseId);
|
params.put("enterpriseId",enterpriseId);
|
||||||
params.put("pollId",pollDTO.getPollId());
|
params.put("pollNo",pollDTO.getPollId());
|
||||||
EnterprisePollDTO enterprisePollDTO = enterprisePollService.get(params);
|
EnterprisePollDTO enterprisePollDTO = enterprisePollService.get(params);
|
||||||
if(enterprisePollDTO != null){//按企业绑定报警值计算
|
if(enterprisePollDTO != null){//按企业绑定报警值计算
|
||||||
double v = (rtd - enterprisePollDTO.getEnterprisePollBeyond()) / pollDTO.getAlarmValue();
|
double v = (rtd - enterprisePollDTO.getEnterprisePollBeyond()) / pollDTO.getAlarmValue();
|
||||||
|
Loading…
Reference in New Issue
Block a user