|
@ -19,6 +19,7 @@ import com.epmet.dao.evaluationindex.screen.IndexGroupDetailDao; |
|
|
import com.epmet.dao.evaluationindex.screen.ScreenCustomerGridDao; |
|
|
import com.epmet.dao.evaluationindex.screen.ScreenCustomerGridDao; |
|
|
import com.epmet.dto.ScreenCustomerGridDTO; |
|
|
import com.epmet.dto.ScreenCustomerGridDTO; |
|
|
import com.epmet.dto.indexcal.*; |
|
|
import com.epmet.dto.indexcal.*; |
|
|
|
|
|
import com.epmet.entity.evaluationindex.indexcal.AgencySelfSubScoreEntity; |
|
|
import com.epmet.entity.evaluationindex.indexcal.GridScoreEntity; |
|
|
import com.epmet.entity.evaluationindex.indexcal.GridScoreEntity; |
|
|
import com.epmet.entity.evaluationindex.indexcal.GridSubScoreEntity; |
|
|
import com.epmet.entity.evaluationindex.indexcal.GridSubScoreEntity; |
|
|
import com.epmet.entity.evaluationindex.screen.IndexGroupDetailEntity; |
|
|
import com.epmet.entity.evaluationindex.screen.IndexGroupDetailEntity; |
|
@ -121,8 +122,18 @@ public class GridCorreLationServiceImpl implements GridCorreLationService { |
|
|
log.error("calculateSelfSubScore gridSubScoreDao.selectSubListByPath return empty,customerId:{} ", formDTO.getCustomerId()); |
|
|
log.error("calculateSelfSubScore gridSubScoreDao.selectSubListByPath return empty,customerId:{} ", formDTO.getCustomerId()); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
selfSubIndexList.forEach(score -> { |
|
|
Map<String, String> selfSubParentMap = new HashMap<>(); |
|
|
|
|
|
selfSubIndexList.forEach(o -> { |
|
|
|
|
|
//找出自身 和下级的指标
|
|
|
|
|
|
if (o.getAllParentIndexCode().contains("xiaji")) { |
|
|
|
|
|
selfSubParentMap.put(o.getAllParentIndexCode(), "xiaji"); |
|
|
|
|
|
} else { |
|
|
|
|
|
selfSubParentMap.put(o.getAllParentIndexCode(), "zishen"); |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
Map<String, AgencySelfSubScoreEntity> insertList = new HashMap<>(); |
|
|
|
|
|
subScore.forEach(score -> { |
|
|
|
|
|
insertList.get(score.getAllParentIndexCode()); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|