|
|
@ -15,6 +15,7 @@ import com.epmet.service.evaluationindex.extract.todata.*; |
|
|
|
import com.epmet.service.evaluationindex.indexcoll.FactIndexGovrnAblityOrgMonthlyService; |
|
|
|
import com.epmet.service.evaluationindex.indexcoll.FactIndexPartyAblityOrgMonthlyService; |
|
|
|
import com.epmet.service.evaluationindex.indexcoll.FactIndexServiceAblityGridMonthlyService; |
|
|
|
import com.epmet.service.evaluationindex.screen.ScreenCustomerGridService; |
|
|
|
import com.epmet.service.heart.ActInfoService; |
|
|
|
import com.epmet.service.partymember.PartyMemberService; |
|
|
|
import com.epmet.service.stats.FactArticlePublishedGridDailyService; |
|
|
@ -74,6 +75,8 @@ public class CalGridIndexServiceImpl implements CalGridIndexService { |
|
|
|
private UserService userService; |
|
|
|
@Autowired |
|
|
|
private PartyMemberService partyMemberService; |
|
|
|
@Autowired |
|
|
|
private ScreenCustomerGridService gridService; |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description 计算网格指标党建能力 |
|
|
@ -84,7 +87,7 @@ public class CalGridIndexServiceImpl implements CalGridIndexService { |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public Boolean calGridIndexPartyAbility(String customerId, String monthId) { |
|
|
|
List<PartyAbilityGridMonthlyFormDTO> result = governAbilityDao.selectAllGridInfoToParty(customerId); |
|
|
|
List<PartyAbilityGridMonthlyFormDTO> result = gridService.selectAllGridInfoToParty(customerId); |
|
|
|
if (CollectionUtils.isEmpty(result)){ |
|
|
|
log.warn(String.format(ExtractConstant.CUSTOMER_INFO_NULL,customerId)); |
|
|
|
return true; |
|
|
|