|
|
@ -3,6 +3,7 @@ package com.epmet.service.evaluationindex.extract.toscreen.impl; |
|
|
|
import com.epmet.commons.tools.constant.NumConstant; |
|
|
|
import com.epmet.commons.tools.constant.StrConstant; |
|
|
|
import com.epmet.constant.IndexCalConstant; |
|
|
|
import com.epmet.constant.OrgTypeConstant; |
|
|
|
import com.epmet.entity.evaluationindex.screen.ScreenPioneerDataEntity; |
|
|
|
import com.epmet.service.evaluationindex.extract.todata.FactOriginIssueLogDailyService; |
|
|
|
import com.epmet.service.evaluationindex.extract.todata.FactOriginIssueMainDailyService; |
|
|
@ -53,7 +54,7 @@ public class PioneerDataExtractServiceImpl implements PioneerDataExtractService |
|
|
|
@Override |
|
|
|
public void extractGridPioneerData(String customerId, String dateId) { |
|
|
|
//查询客户下所有的网格,初始数据值为0
|
|
|
|
List<ScreenPioneerDataEntity> gridList = screenPioneerDataService.initPioneerDataList(customerId, "grid"); |
|
|
|
List<ScreenPioneerDataEntity> gridList = screenPioneerDataService.initPioneerDataList(customerId, OrgTypeConstant.GRID); |
|
|
|
if (CollectionUtils.isEmpty(gridList)) { |
|
|
|
return; |
|
|
|
} |
|
|
@ -140,7 +141,7 @@ public class PioneerDataExtractServiceImpl implements PioneerDataExtractService |
|
|
|
@Override |
|
|
|
public void extractCommunityPioneerData(String customerId, String dateId) { |
|
|
|
//查询客户下所有的社区,初始数据值为0
|
|
|
|
List<ScreenPioneerDataEntity> communityList = screenPioneerDataService.initPioneerDataList(customerId, "community"); |
|
|
|
List<ScreenPioneerDataEntity> communityList = screenPioneerDataService.initPioneerDataList(customerId, OrgTypeConstant.COMMUNITY); |
|
|
|
if (CollectionUtils.isEmpty(communityList)) { |
|
|
|
return; |
|
|
|
} |
|
|
@ -209,7 +210,7 @@ public class PioneerDataExtractServiceImpl implements PioneerDataExtractService |
|
|
|
@Override |
|
|
|
public void extractExceptCommunityPioneerData(String customerId, String dateId) { |
|
|
|
//查询客户下所有的组织(社区除外),初始数据值为0
|
|
|
|
List<ScreenPioneerDataEntity> agencyList = screenPioneerDataService.initPioneerDataList(customerId, "agency"); |
|
|
|
List<ScreenPioneerDataEntity> agencyList = screenPioneerDataService.initPioneerDataList(customerId, OrgTypeConstant.AGENCY); |
|
|
|
if (CollectionUtils.isEmpty(agencyList)) { |
|
|
|
return; |
|
|
|
} |
|
|
|