Bläddra i källkod

数采仪列表 事后审核控制

zjs 2 veckor sedan
förälder
incheckning
70ab7a6086
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      src/main/java/com/cn/esermis/dpld/business/MonitorBusiness.java

+ 3 - 3
src/main/java/com/cn/esermis/dpld/business/MonitorBusiness.java

@@ -502,15 +502,15 @@ public class MonitorBusiness {
502 502
             switch (dataType){
503 503
                 case "1":
504 504
                     //判断是否为负值数据
505
-                    postMarking.setManagementContent("数据异常:监测因子【"+pollutionGas.name()+"("+pollutionGas.code()+")】采集数据为负数。");
505
+                    postMarking.setManagementContent("数据异常:监测因子【"+pollutionGas.mean()+"("+pollutionGas.code()+")】采集数据为负数。");
506 506
                     break;
507 507
                 case "2":
508 508
                     // //判断是否为六小时恒值数据
509
-                    postMarking.setManagementContent("数据异常:监测因子【"+pollutionGas.name()+"("+pollutionGas.code()+")】6小时恒值异常。");
509
+                    postMarking.setManagementContent("数据异常:监测因子【"+pollutionGas.mean()+"("+pollutionGas.code()+")】6小时恒值异常。");
510 510
                     break;
511 511
                 case "3":
512 512
                     //瞬时值是否为超标数据
513
-                    postMarking.setManagementContent("数据异常:监测因子【"+pollutionGas.name()+"("+pollutionGas.code()+")】瞬时值超标。");
513
+                    postMarking.setManagementContent("数据异常:监测因子【"+pollutionGas.mean()+"("+pollutionGas.code()+")】瞬时值超标。");
514 514
                     break;
515 515
             }
516 516
             postMarkingService.save(postMarking);