Browse Source

处理晋能经济运行多区域,单区域要打开46-54

xieshengjie 1 year ago
parent
commit
3d61ee8c6b

+ 10 - 10
web/runeconomy-xk/src/main/java/com/gyee/runeconomy/service/bmk/BenchmarkingService.java

@@ -42,16 +42,16 @@ public class BenchmarkingService {
         cpls.stream().forEach(cp->{
             result.add(cp);
         });
-
-        ProBasicCompany company = new ProBasicCompany();
-        Optional<ProBasicCompany> first = result.stream().findFirst();
-        if (first.isPresent()){
-            String regionId = first.get().getRegionId();
-            company.setId(regionId);
-            company.setAname(rgmap.get(regionId).getAname());
-            company.setOrderNum(0);
-        }
-        result.add(company);
+        //单区域部署打开
+//        ProBasicCompany company = new ProBasicCompany();
+//        Optional<ProBasicCompany> first = result.stream().findFirst();
+//        if (first.isPresent()){
+//            String regionId = first.get().getRegionId();
+//            company.setId(regionId);
+//            company.setAname(rgmap.get(regionId).getAname());
+//            company.setOrderNum(0);
+//        }
+//        result.add(company);
 
         SortUtils.sort(result,"orderNum",SortUtils.ASC);