Browse Source

别名修改7

rgb 6 years ago
parent
commit
1b205a30a0

+ 3 - 3
icssman-service/src/main/java/com/diagbot/facade/RetrievalFacade.java

@@ -118,17 +118,17 @@ public class RetrievalFacade extends RetrievalServiceImpl {
     public Boolean addTagRetrieval(AddTagRetrievalVO addTagRetrievalVO) {
         if (addTagRetrievalVO.getItemList().stream().distinct().count() != addTagRetrievalVO.getItemList().size()) {
             throw new CommonException(CommonErrorCode.RPC_ERROR,
-                    "导入本体/同义/子项名称重复("+addTagRetrievalVO.getQuestionName()+")!");
+                    "本体/同义/子项名称重复("+addTagRetrievalVO.getQuestionName()+")!");
         }
         
         long typeOneCou = addTagRetrievalVO.getItemList().stream().filter(i->i.getRetrievalType()==1).count();
         if(typeOneCou==0){
         	throw new CommonException(CommonErrorCode.RPC_ERROR,
-                    "导入数据不完整("+addTagRetrievalVO.getQuestionName()+")!");
+                    "数据不完整("+addTagRetrievalVO.getQuestionName()+")!");
         }
         if(typeOneCou>1){
         	throw new CommonException(CommonErrorCode.RPC_ERROR,
-                    "导入本体类型数据重复("+addTagRetrievalVO.getQuestionName()+")!");
+                    "本体类型数据重复("+addTagRetrievalVO.getQuestionName()+")!");
         }
 
         Date now = DateUtil.now();