|
@@ -505,6 +505,11 @@ public class ConceptFacade extends ConceptServiceImpl {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ /*****************excel文件本身问题提醒************************/
|
|
|
+ if(sbf.length()>0){
|
|
|
+ throw new CommonException(CommonErrorCode.RPC_ERROR,sbf.toString());
|
|
|
+ }
|
|
|
+
|
|
|
/**********************非规范的excel导入提醒*****************************************/
|
|
|
if(title_1.indexOf("标准术语")==-1
|
|
|
||title_2.indexOf("类型")==-1
|
|
@@ -513,11 +518,6 @@ public class ConceptFacade extends ConceptServiceImpl {
|
|
|
throw new CommonException(CommonErrorCode.RPC_ERROR,"导入数据不正确,请选择正确数据导入!");
|
|
|
}
|
|
|
|
|
|
- /*****************excel文件本身问题提醒************************/
|
|
|
- if(sbf.length()>0){
|
|
|
- throw new CommonException(CommonErrorCode.RPC_ERROR,sbf.toString());
|
|
|
- }
|
|
|
-
|
|
|
/****************************导入空文件************************/
|
|
|
if(addConceptInfoVOList.size()==0){
|
|
|
throw new CommonException(CommonErrorCode.RPC_ERROR,"导入数据不能为空!");
|