xiatian 2 年之前
父節點
當前提交
4cdea4826e
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/main/java/cn/com/qmth/mps/service/impl/PaperServiceImpl.java

+ 2 - 1
src/main/java/cn/com/qmth/mps/service/impl/PaperServiceImpl.java

@@ -147,7 +147,7 @@ public class PaperServiceImpl extends ServiceImpl<PaperDao, PaperEntity> impleme
 				try {
 					this.save(cur);
 				} catch (DuplicateKeyException e) {
-					failRecords.add(newError(i + 1, "科目已存在"));
+//					failRecords.add(newError(i + 1, "科目已存在"));
 				} catch (Exception e) {
 					failRecords.add(newError(i + 1, "系统异常"));
 					log.error("科目导入系统异常", e);
@@ -170,6 +170,7 @@ public class PaperServiceImpl extends ServiceImpl<PaperDao, PaperEntity> impleme
 			}
 		}
 	}
+	
 
 	private String trimAndNullIfBlank(String s) {
 		if (StringUtils.isBlank(s)) {