|
|
@@ -1010,21 +1010,28 @@ public class BizEsStorageEnterpriseServiceImpl extends ServiceImpl<BizEsStorageE
|
|
1010
|
1010
|
}
|
|
1011
|
1011
|
|
|
1012
|
1012
|
@Override
|
|
1013
|
|
- public List<Map<String, Object>> statistics(String city) {
|
|
|
1013
|
+ public List<Map<String, Object>> statistics(String city,String sfqy) {
|
|
1014
|
1014
|
|
|
1015
|
1015
|
List<Map<String, Object>> provinceList = new ArrayList<Map<String, Object>>();
|
|
1016
|
1016
|
List<Map<String, Object>> cityList = new ArrayList<Map<String, Object>>();
|
|
1017
|
1017
|
List<Map<String, Object>> countyList = new ArrayList<Map<String, Object>>();
|
|
1018
|
|
- if( null != city && "" != city){
|
|
1019
|
|
- //县
|
|
1020
|
|
- countyList = bizEsStorageEnterpriseMapper.getDataByCounty(city);
|
|
1021
|
|
- List<Map<String, Object>> countyCount= bizEsStorageEnterpriseMapper.getSlByCounty(city);
|
|
1022
|
|
- for(Map<String, Object> map:countyList){
|
|
1023
|
|
- for(Map<String, Object> map1:countyCount){
|
|
1024
|
|
- if(map.get("county").equals(map1.get("county"))){
|
|
1025
|
|
- map.put("wdsl",map1.get("wdsl"));
|
|
|
1018
|
+ List<Map<String, Object>> qyList = new ArrayList<Map<String, Object>>();
|
|
|
1019
|
+
|
|
|
1020
|
+ if( null != city && "" != city){
|
|
|
1021
|
+ if(null != sfqy && "" != sfqy){
|
|
|
1022
|
+ //县
|
|
|
1023
|
+ countyList = bizEsStorageEnterpriseMapper.getDataByCounty(city);
|
|
|
1024
|
+ List<Map<String, Object>> countyCount= bizEsStorageEnterpriseMapper.getSlByCounty(city);
|
|
|
1025
|
+ for(Map<String, Object> map:countyList){
|
|
|
1026
|
+ for(Map<String, Object> map1:countyCount){
|
|
|
1027
|
+ if(map.get("county").equals(map1.get("county"))){
|
|
|
1028
|
+ map.put("wdsl",map1.get("wdsl"));
|
|
|
1029
|
+ }
|
|
1026
|
1030
|
}
|
|
1027
|
1031
|
}
|
|
|
1032
|
+ }else{
|
|
|
1033
|
+ //企业
|
|
|
1034
|
+ qyList = bizEsStorageEnterpriseMapper.getQyDataByCounty(city);
|
|
1028
|
1035
|
}
|
|
1029
|
1036
|
}else{
|
|
1030
|
1037
|
|