|
@@ -131,8 +131,10 @@ public class IndicatorServiceImpl extends ServiceImpl<IndicatorMapper, Indicator
|
|
|
String[] split = indicatorCode.split(",");
|
|
|
for (String s : split){
|
|
|
Indicator indicator = baseMapper.selectByCode(s);
|
|
|
- List<IndicatorDictionary> indicatorDictionaryList = indicatorDictionaryMapper.selectByIndicatorId(indicator.getId());
|
|
|
- map.put(s,indicatorDictionaryList);
|
|
|
+ if(indicator != null){
|
|
|
+ List<IndicatorDictionary> indicatorDictionaryList = indicatorDictionaryMapper.selectByIndicatorId(indicator.getId());
|
|
|
+ map.put(s,indicatorDictionaryList);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
return map;
|