|
@@ -230,9 +230,10 @@ public class IndicatorServiceImpl extends ServiceImpl<IndicatorMapper, Indicator
|
|
|
//获取指标
|
|
|
IndicatorDTO indicatorDTO = baseMapper.selectById(id);
|
|
|
//根据指标获取明细组
|
|
|
- List<IndicatorDictionaryDTO> dtoList = indicatorDictionaryService.list(indicatorDTO.getId(),"","");
|
|
|
- indicatorDTO.setDtoList(dtoList);
|
|
|
-
|
|
|
+ if(null != indicatorDTO) {
|
|
|
+ List<IndicatorDictionaryDTO> dtoList = indicatorDictionaryService.list(indicatorDTO.getId(), "", "");
|
|
|
+ indicatorDTO.setDtoList(dtoList);
|
|
|
+ }
|
|
|
return indicatorDTO;
|
|
|
}
|
|
|
|