|
|
@ -580,8 +580,8 @@ public class EnterpriseInformationServiceImpl implements IEnterpriseInformationS |
|
|
StatisticsIndicator s = new StatisticsIndicator(); |
|
|
StatisticsIndicator s = new StatisticsIndicator(); |
|
|
System.out.println(qy.substring(0, qy.indexOf("区"))); |
|
|
System.out.println(qy.substring(0, qy.indexOf("区"))); |
|
|
List<EnterpriseInformation> qyList = enterpriseInformationList.stream().filter(item -> item.getEnterpriseAddress().startsWith("深圳市" + qy.substring(0, qy.indexOf("区")) + "区") || item.getEnterpriseAddress().startsWith("深圳市" + qy.substring(0, qy.indexOf("区")) + "新区")).collect(Collectors.toList()); |
|
|
List<EnterpriseInformation> qyList = enterpriseInformationList.stream().filter(item -> item.getEnterpriseAddress().startsWith("深圳市" + qy.substring(0, qy.indexOf("区")) + "区") || item.getEnterpriseAddress().startsWith("深圳市" + qy.substring(0, qy.indexOf("区")) + "新区")).collect(Collectors.toList()); |
|
|
List<EnterpriseInformation> existList = qyList.stream().filter(item -> item.getIsDelete() == 0).collect(Collectors.toList()); |
|
|
List<EnterpriseInformation> existList = qyList.stream().filter(item -> item.getIsUnsubscribe() == 0).collect(Collectors.toList()); |
|
|
List<EnterpriseInformation> logoutList = qyList.stream().filter(item -> item.getIsDelete() == 1).collect(Collectors.toList()); |
|
|
List<EnterpriseInformation> logoutList = qyList.stream().filter(item -> item.getIsUnsubscribe() == 1).collect(Collectors.toList()); |
|
|
s.setName(qy); |
|
|
s.setName(qy); |
|
|
s.setTotalNumber(qyList.size()); |
|
|
s.setTotalNumber(qyList.size()); |
|
|
s.setNumInt(existList.size()); |
|
|
s.setNumInt(existList.size()); |
|
|
@ -590,8 +590,8 @@ public class EnterpriseInformationServiceImpl implements IEnterpriseInformationS |
|
|
enterpriseInformationList = enterpriseInformationList.stream().filter(item -> !item.getEnterpriseAddress().startsWith("深圳市" + qy.substring(0, qy.indexOf("区")) + "区") && !item.getEnterpriseAddress().startsWith("深圳市" + qy.substring(0, qy.indexOf("区")) + "新区")).collect(Collectors.toList()); |
|
|
enterpriseInformationList = enterpriseInformationList.stream().filter(item -> !item.getEnterpriseAddress().startsWith("深圳市" + qy.substring(0, qy.indexOf("区")) + "区") && !item.getEnterpriseAddress().startsWith("深圳市" + qy.substring(0, qy.indexOf("区")) + "新区")).collect(Collectors.toList()); |
|
|
} |
|
|
} |
|
|
if (enterpriseInformationList.size() > 0) { |
|
|
if (enterpriseInformationList.size() > 0) { |
|
|
List<EnterpriseInformation> existList = enterpriseInformationList.stream().filter(item -> item.getIsDelete() == 0).collect(Collectors.toList()); |
|
|
List<EnterpriseInformation> existList = enterpriseInformationList.stream().filter(item -> item.getIsUnsubscribe() == 0).collect(Collectors.toList()); |
|
|
List<EnterpriseInformation> logoutList = enterpriseInformationList.stream().filter(item -> item.getIsDelete() == 1).collect(Collectors.toList()); |
|
|
List<EnterpriseInformation> logoutList = enterpriseInformationList.stream().filter(item -> item.getIsUnsubscribe() == 1).collect(Collectors.toList()); |
|
|
StatisticsIndicator s = new StatisticsIndicator(); |
|
|
StatisticsIndicator s = new StatisticsIndicator(); |
|
|
s.setName("其他"); |
|
|
s.setName("其他"); |
|
|
s.setTotalNumber(enterpriseInformationList.size()); |
|
|
s.setTotalNumber(enterpriseInformationList.size()); |
|
|
@ -618,8 +618,8 @@ public class EnterpriseInformationServiceImpl implements IEnterpriseInformationS |
|
|
String jdName = d.getDictLabel(); |
|
|
String jdName = d.getDictLabel(); |
|
|
StatisticsIndicator s = new StatisticsIndicator(); |
|
|
StatisticsIndicator s = new StatisticsIndicator(); |
|
|
List<EnterpriseInformation> jdList = enterpriseInformationList.stream().filter(item -> item.getEnterpriseAddress().startsWith("深圳市" + qyName.substring(0, qyName.indexOf("区")) + "区" + jdName) || item.getEnterpriseAddress().startsWith("深圳市" + qyName.substring(0, qyName.indexOf("区")) + "新区" + jdName)).collect(Collectors.toList()); |
|
|
List<EnterpriseInformation> jdList = enterpriseInformationList.stream().filter(item -> item.getEnterpriseAddress().startsWith("深圳市" + qyName.substring(0, qyName.indexOf("区")) + "区" + jdName) || item.getEnterpriseAddress().startsWith("深圳市" + qyName.substring(0, qyName.indexOf("区")) + "新区" + jdName)).collect(Collectors.toList()); |
|
|
List<EnterpriseInformation> existList = jdList.stream().filter(item -> item.getIsDelete() == 0).collect(Collectors.toList()); |
|
|
List<EnterpriseInformation> existList = jdList.stream().filter(item -> item.getIsUnsubscribe() == 0).collect(Collectors.toList()); |
|
|
List<EnterpriseInformation> logoutList = jdList.stream().filter(item -> item.getIsDelete() == 1).collect(Collectors.toList()); |
|
|
List<EnterpriseInformation> logoutList = jdList.stream().filter(item -> item.getIsUnsubscribe() == 1).collect(Collectors.toList()); |
|
|
s.setName(jdName); |
|
|
s.setName(jdName); |
|
|
s.setAddress(qyName); |
|
|
s.setAddress(qyName); |
|
|
s.setTotalNumber(jdList.size()); |
|
|
s.setTotalNumber(jdList.size()); |
|
|
@ -630,8 +630,8 @@ public class EnterpriseInformationServiceImpl implements IEnterpriseInformationS |
|
|
} |
|
|
} |
|
|
if (enterpriseInformationList.size() > 0) { |
|
|
if (enterpriseInformationList.size() > 0) { |
|
|
StatisticsIndicator s = new StatisticsIndicator(); |
|
|
StatisticsIndicator s = new StatisticsIndicator(); |
|
|
List<EnterpriseInformation> existList = enterpriseInformationList.stream().filter(item -> item.getIsDelete() == 0).collect(Collectors.toList()); |
|
|
List<EnterpriseInformation> existList = enterpriseInformationList.stream().filter(item -> item.getIsUnsubscribe() == 0).collect(Collectors.toList()); |
|
|
List<EnterpriseInformation> logoutList = enterpriseInformationList.stream().filter(item -> item.getIsDelete() == 1).collect(Collectors.toList()); |
|
|
List<EnterpriseInformation> logoutList = enterpriseInformationList.stream().filter(item -> item.getIsUnsubscribe() == 1).collect(Collectors.toList()); |
|
|
s.setAddress(qyName); |
|
|
s.setAddress(qyName); |
|
|
s.setTotalNumber(enterpriseInformationList.size()); |
|
|
s.setTotalNumber(enterpriseInformationList.size()); |
|
|
s.setNumInt(existList.size()); |
|
|
s.setNumInt(existList.size()); |
|
|
|