|
|
@ -19,11 +19,14 @@ import com.epmet.dataaggre.service.epmetuser.StatsStaffPatrolRecordDailyService; |
|
|
|
import com.epmet.dataaggre.service.govorg.GovOrgService; |
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
import com.google.common.collect.Lists; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import sun.rmi.runtime.Log; |
|
|
|
|
|
|
|
import java.util.*; |
|
|
|
|
|
|
|
@Slf4j |
|
|
|
@Service |
|
|
|
public class AggreGridServiceImpl implements AggreGridService { |
|
|
|
|
|
|
@ -101,6 +104,10 @@ public class AggreGridServiceImpl implements AggreGridService { |
|
|
|
for (GridMemberDataAnalysisResultDTO data : datas) { |
|
|
|
// 填充gridName
|
|
|
|
GridInfoCache gridInfo = CustomerOrgRedis.getGridInfo(data.getGridId()); |
|
|
|
if (gridInfo == null) { |
|
|
|
log.warn("未找到网格信息:{}", data.getGridId()); |
|
|
|
continue; |
|
|
|
} |
|
|
|
Optional.ofNullable(gridInfo).ifPresent((d) -> data.setOrgName(d.getGridName())); |
|
|
|
|
|
|
|
// 生成结构化map
|
|
|
|