Commit 00f15632 by 刘鑫

fix: 技能组不存在时空指针问题

1 parent 32b63dab
...@@ -141,7 +141,9 @@ public class CapacityQueryServiceImpl implements CapacityQueryService { ...@@ -141,7 +141,9 @@ public class CapacityQueryServiceImpl implements CapacityQueryService {
//查询对应的技能信息 //查询对应的技能信息
SkillInfoEntity skillInfo = skillInfoDao.getByBrandAndTypeAndSkill(service.getBrand(), SkillInfoEntity skillInfo = skillInfoDao.getByBrandAndTypeAndSkill(service.getBrand(),
service.getProductType(), service.getServiceType()); service.getProductType(), service.getServiceType());
if(Objects.nonNull(skillInfo)) {
skillGroupCodes.add(skillInfo.getSkillGroupCode()); skillGroupCodes.add(skillInfo.getSkillGroupCode());
}
querySkillGroup.add(skillInfo); querySkillGroup.add(skillInfo);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!