|
|
@ -67,6 +67,7 @@ public class ScreenCentralZoneDataExtractServiceImpl implements ScreenCentralZon |
|
|
|
List<ScreenUserTotalDataEntity> result = |
|
|
|
factRegUserGridDailyDao.selectUserAndPartymemberByOrgLevel(ORG_LEVEL_AGENCY,customerId,dimId); |
|
|
|
if(CollectionUtils.isEmpty(result)){ |
|
|
|
// 根据dateId查询为空,先根据当前时间-1天是否和dateId相等,相等的话,查询往前推2天的数据
|
|
|
|
if(DateUtils.getBeforeNDay(NumConstant.ONE).equals(dimId)){ |
|
|
|
result = factRegUserGridDailyDao.selectUserAndPartymemberByOrgLevel(ORG_LEVEL_AGENCY,customerId,DateUtils.getBeforeNDay(NumConstant.TWO)); |
|
|
|
} |
|
|
|