Browse Source

功图计算有问题时优化提示

gxt 1 year ago
parent
commit
518b8a4a65

+ 1 - 2
src/main/java/com/gct/aoid/service/impl/CalDiagramProductionService.java

@@ -22,7 +22,6 @@ import java.time.LocalDateTime;
22
 import java.time.format.DateTimeFormatter;
22
 import java.time.format.DateTimeFormatter;
23
 import java.util.*;
23
 import java.util.*;
24
 import java.util.stream.Collectors;
24
 import java.util.stream.Collectors;
25
-import java.util.stream.DoubleStream;
26
 
25
 
27
 /**
26
 /**
28
  * class name: CalDiagramProductionService
27
  * class name: CalDiagramProductionService
@@ -1031,7 +1030,7 @@ public class CalDiagramProductionService {
1031
         production.remark = "";
1030
         production.remark = "";
1032
         if (bgt == null || bgt.length == 0) production.appendRemark("泵功图无法计算");
1031
         if (bgt == null || bgt.length == 0) production.appendRemark("泵功图无法计算");
1033
 
1032
 
1034
-        if (areaReal <= 0 || areaReal > 500) production.appendRemark("功图错误");
1033
+        if (areaReal <= 0 || areaReal > 500) production.appendRemark("功图反转");
1035
 
1034
 
1036
         if (Objects.isNull(dcbp)) production.appendRemark("缺失功图参数");
1035
         if (Objects.isNull(dcbp)) production.appendRemark("缺失功图参数");
1037
         else {
1036
         else {