|
@ -33,7 +33,6 @@ import com.epmet.dataaggre.entity.epmetuser.CustomerStaffEntity; |
|
|
import com.epmet.dataaggre.entity.epmetuser.GovStaffRoleEntity; |
|
|
import com.epmet.dataaggre.entity.epmetuser.GovStaffRoleEntity; |
|
|
import com.epmet.dataaggre.entity.epmetuser.ResiUserBadgeEntity; |
|
|
import com.epmet.dataaggre.entity.epmetuser.ResiUserBadgeEntity; |
|
|
import com.epmet.dataaggre.entity.epmetuser.StaffRoleEntity; |
|
|
import com.epmet.dataaggre.entity.epmetuser.StaffRoleEntity; |
|
|
import com.epmet.dataaggre.entity.govorg.CustomerAgencyEntity; |
|
|
|
|
|
import com.epmet.dataaggre.service.datastats.DataStatsService; |
|
|
import com.epmet.dataaggre.service.datastats.DataStatsService; |
|
|
import com.epmet.dataaggre.service.epmetuser.EpmetUserService; |
|
|
import com.epmet.dataaggre.service.epmetuser.EpmetUserService; |
|
|
import com.epmet.dataaggre.service.epmetuser.StaffPatrolDetailService; |
|
|
import com.epmet.dataaggre.service.epmetuser.StaffPatrolDetailService; |
|
@ -787,7 +786,7 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|
}else if(OrgInfoConstant.AGENCY.equals(formDTO.getOrgType())){ |
|
|
}else if(OrgInfoConstant.AGENCY.equals(formDTO.getOrgType())){ |
|
|
CustomerAgencyEntity agencyEntity=govOrgService.getAgencyInfo(formDTO.getOrgId()); |
|
|
/*CustomerAgencyEntity agencyEntity=govOrgService.getAgencyInfo(formDTO.getOrgId()); |
|
|
String gridPids=""; |
|
|
String gridPids=""; |
|
|
if(NumConstant.ZERO_STR.equals(agencyEntity.getPid())){ |
|
|
if(NumConstant.ZERO_STR.equals(agencyEntity.getPid())){ |
|
|
// 当前组织是根组织
|
|
|
// 当前组织是根组织
|
|
@ -799,8 +798,8 @@ public class EpmetUserServiceImpl implements EpmetUserService { |
|
|
}else{ |
|
|
}else{ |
|
|
gridPids=agencyEntity.getPids().concat(StrConstant.COLON).concat(formDTO.getOrgId()); |
|
|
gridPids=agencyEntity.getPids().concat(StrConstant.COLON).concat(formDTO.getOrgId()); |
|
|
} |
|
|
} |
|
|
} |
|
|
}*/ |
|
|
List<FactIcuserCategoryAnalysisDailyDTO> list = dataStatsService.queryAgencyIcUserCategoryData(gridPids, formDTO.getDateId(), configIds); |
|
|
List<FactIcuserCategoryAnalysisDailyDTO> list = dataStatsService.queryAgencyIcUserCategoryData(null, formDTO.getOrgId(), formDTO.getDateId(), configIds); |
|
|
if(CollectionUtils.isNotEmpty(list)){ |
|
|
if(CollectionUtils.isNotEmpty(list)){ |
|
|
Map<String, FactIcuserCategoryAnalysisDailyDTO> configMap = list.stream().collect(Collectors.toMap(FactIcuserCategoryAnalysisDailyDTO::getConfigId, m -> m, (k1, k2) -> k1)); |
|
|
Map<String, FactIcuserCategoryAnalysisDailyDTO> configMap = list.stream().collect(Collectors.toMap(FactIcuserCategoryAnalysisDailyDTO::getConfigId, m -> m, (k1, k2) -> k1)); |
|
|
resList.forEach(resDto->{ |
|
|
resList.forEach(resDto->{ |
|
|