浏览代码

标签删除bug修正

wangyu 5 年之前
父节点
当前提交
a86ea03ded
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      icssman-service/src/main/java/com/diagbot/facade/QuestionFacade.java

+ 1 - 1
icssman-service/src/main/java/com/diagbot/facade/QuestionFacade.java

@@ -521,7 +521,7 @@ public class QuestionFacade extends QuestionInfoServiceImpl {
             GetQuestiongAndModuleRelationsVO getQuestiongAndModuleRelationsVO = new GetQuestiongAndModuleRelationsVO();
             GetQuestiongAndModuleRelationsVO getQuestiongAndModuleRelationsVO = new GetQuestiongAndModuleRelationsVO();
             getQuestiongAndModuleRelationsVO.setQuestionId(Long.parseLong(id));
             getQuestiongAndModuleRelationsVO.setQuestionId(Long.parseLong(id));
             GetQuestiongAndModuleRelationsDTO getQuestiongAndModuleRelationsDTO = moduleInfoFacade.getQuestiongAndModuleRelations(getQuestiongAndModuleRelationsVO);
             GetQuestiongAndModuleRelationsDTO getQuestiongAndModuleRelationsDTO = moduleInfoFacade.getQuestiongAndModuleRelations(getQuestiongAndModuleRelationsVO);
-            if(null != getQuestiongAndModuleRelationsDTO){
+            if(null != getQuestiongAndModuleRelationsDTO && StringUtil.isNotBlank(getQuestiongAndModuleRelationsDTO.getRelationInfos().toString())){
                 throw new CommonException(CommonErrorCode.SERVER_IS_ERROR,
                 throw new CommonException(CommonErrorCode.SERVER_IS_ERROR,
                         getQuestiongAndModuleRelationsDTO.getRelationInfos().toString());
                         getQuestiongAndModuleRelationsDTO.getRelationInfos().toString());
             }
             }