Commit 287b5e76 by 刘鑫

fix(ID1004119): 分站容量查询根据工作队过滤

1 parent 66aff32a
......@@ -151,8 +151,14 @@ public class CapacityQueryServiceImpl implements CapacityQueryService {
}
Set<EngineerInfoEntity> allFulfillEngineer = engineerInfoDao.listByBranchSkillGroupCode(skillGroupCodes,
skillGroupCodes.size(), groupId);
Set<EngineerInfoEntity> allFulfillEngineer = new HashSet<>();
for (String teamId : teamIdList) {
Set<EngineerInfoEntity> skillEngineer = engineerInfoDao.listBySkillGroupCode(skillGroupCodes, skillGroupCodes.size(), teamId);
if (CollectionUtils.isNotEmpty(skillEngineer)) {
allFulfillEngineer.addAll(skillEngineer);
}
}
//查询同时拥有技能组代码的人员信息
log.info("[matchCapacityData]【符合技能要求的工程师总数为:{} 个】", allFulfillEngineer.size());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!