|
@@ -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);
|
|
|
|