소스 검색

风机列表修改

xieshengjie 1 년 전
부모
커밋
1b75042edc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      web/runeconomy-jjyx/src/main/java/com/gyee/runeconomy/service/bmk/BenchmarkingService.java

+ 1 - 1
web/runeconomy-jjyx/src/main/java/com/gyee/runeconomy/service/bmk/BenchmarkingService.java

@@ -117,7 +117,7 @@ public class BenchmarkingService {
 
     public List<ProBasicOrganizeEquipment> wtByWplist(String wpids) {
         return CacheContext.organizeEquipmentList.stream().filter(
-                oe -> wpids.contains(oe.getWindpowerstationId()) && (oe.getNemName().contains("逆变器") || oe.getNemName().contains("风机"))).collect(Collectors.toList());
+                oe -> wpids.contains(oe.getWindpowerstationId()) &&  !oe.getParentCode().endsWith("AG") && (oe.getNemName().contains("逆变器")  || oe.getNemName().contains("风机"))).collect(Collectors.toList());
     }
 
     public List<ProBasicOrganizeEquipment> wtByWplistxin(String wpids) {