66880 文档库导入去除编号校验。
This commit is contained in:
+3
-2
@@ -6413,8 +6413,9 @@ public class BussDocumentLibraryEOServiceImpl extends ServiceImpl<BussDocumentLi
|
|||||||
FileUnZip.deleteDir(saveDirectory);
|
FileUnZip.deleteDir(saveDirectory);
|
||||||
throw new JeroBootException(html);
|
throw new JeroBootException(html);
|
||||||
} else {
|
} else {
|
||||||
|
// 66880 导入去除编号校验。
|
||||||
//验证重复的标准号
|
//验证重复的标准号
|
||||||
List<String> serialNumberList = new ArrayList<>();
|
/*List<String> serialNumberList = new ArrayList<>();
|
||||||
if (mapList.size() != 0) {
|
if (mapList.size() != 0) {
|
||||||
for (Map<String, Object> map : mapList) {
|
for (Map<String, Object> map : mapList) {
|
||||||
serialNumberList.add(StringUtils.valueOf(map.get("serial_number")));
|
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");
|
throw new JeroBootException(StringUtils.join(collect,",")+" already exists and cannot be added again");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if (mapList.size() != 0) {
|
if (mapList.size() != 0) {
|
||||||
for (Map<String, Object> map : mapList) {
|
for (Map<String, Object> map : mapList) {
|
||||||
|
|||||||
Reference in New Issue
Block a user