|
@@ -48,7 +48,10 @@ public class DocumentLibraryServiceImpl implements DocumentLibraryService {
|
|
|
} catch (Exception e) {
|
|
|
log.info("读取excel错误:{}", e.toString());
|
|
|
}
|
|
|
-
|
|
|
+ if (documentList == null || documentList.size() == 0) {
|
|
|
+ result.success("文件为空");
|
|
|
+ return result;
|
|
|
+ }
|
|
|
try {
|
|
|
if (accountIds != null && !documentList.isEmpty() && !accountIds.isEmpty()) {
|
|
|
|