66880 文档库导入去除编号校验。

This commit is contained in:
wangzhijiang
2023-03-27 13:25:23 +08:00
parent 9b57885c44
commit 72173d4782
@@ -6413,8 +6413,9 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
FileUnZip.deleteDir(saveDirectory);
throw new JeroBootException(html);
} else {
// 66880 导入去除编号校验
//验证重复的标准号
List<String> serialNumberList = new ArrayList<>();
/*List<String> serialNumberList = new ArrayList<>();
if (mapList.size() != 0) {
for (Map<String, Object> map : mapList) {
serialNumberList.add(StringUtils.valueOf(map.get("serial_number")));
@@ -6432,7 +6433,7 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
throw new JeroBootException(StringUtils.join(collect,",")+" already exists and cannot be added again");
}
}
}
}*/
if (mapList.size() != 0) {
for (Map<String, Object> map : mapList) {