From ab6758c9a881d1011e880de5a89c7922f23352fd Mon Sep 17 00:00:00 2001 From: lijinyu <3023846734@qq.com> Date: Fri, 28 Jul 2023 09:32:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E5=9D=97=E7=AE=A1=E7=90=86=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E5=8A=9F=E8=83=BD=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jeecg/modules/modulex/service/impl/ModulexServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/modulex/service/impl/ModulexServiceImpl.java b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/modulex/service/impl/ModulexServiceImpl.java index 66ee4f6..33c1f54 100644 --- a/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/modulex/service/impl/ModulexServiceImpl.java +++ b/jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/modulex/service/impl/ModulexServiceImpl.java @@ -711,7 +711,7 @@ public class ModulexServiceImpl extends ServiceImpl impl List managerUserName= Arrays.stream(split).map(String::valueOf).collect(Collectors.toList()); sysUserLambdaQueryWrapper.in(SysUser::getUsername,managerUserName); List iSysUserServiceOne = iSysUserService.list(sysUserLambdaQueryWrapper); - if(iSysUserServiceOne==null){ + if(iSysUserServiceOne==null || iSysUserServiceOne.size()==0){ message.put("isError", "true"); message.put("status","导入失败,第" + (i+4) +"行" +"责任人信息查询不到"); message.put("closeable","true");