From c025df74c8ba40c1af7702a169adc6a6d8e316f9 Mon Sep 17 00:00:00 2001 From: zhangtq <2452618307@qq.com> Date: Wed, 22 Jan 2025 15:37:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=BA=E5=91=98=E5=AF=BC=E5=85=A5=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/bonus/project/service/impl/ImportServiceImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bonus-modules/bonus-project/src/main/java/com/bonus/project/service/impl/ImportServiceImpl.java b/bonus-modules/bonus-project/src/main/java/com/bonus/project/service/impl/ImportServiceImpl.java index 53fc441..cedb82a 100644 --- a/bonus-modules/bonus-project/src/main/java/com/bonus/project/service/impl/ImportServiceImpl.java +++ b/bonus-modules/bonus-project/src/main/java/com/bonus/project/service/impl/ImportServiceImpl.java @@ -211,7 +211,9 @@ public class ImportServiceImpl implements ImportService { }else{ ajaxResult.put("result",builder); } - + if(inLibraryList.isEmpty()){ + ajaxResult.put("result","此zip内文件在系统内无对应人员,导入失败!"); + } } catch (Exception e) { ajaxResult.isError(); // throw new Exception("文件上传失败"+e);