From 447fd369b30d2c53e942e78de04aa8106b592043 Mon Sep 17 00:00:00 2001 From: Carina Date: Tue, 29 Mar 2022 17:21:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20=E7=99=BB=E5=85=A5?= =?UTF-8?q?=E6=97=A5=E5=BF=97=20=E7=BB=84=E7=BB=87=E6=9C=BA=E6=9E=84?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=20=E9=BB=98=E8=AE=A4=E5=8F=96=20request=20to?= =?UTF-8?q?ken=20=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../opsli/modulars/system/logs/factory/UserLoginLogFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/logs/factory/UserLoginLogFactory.java b/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/logs/factory/UserLoginLogFactory.java index f93e804..b99dfc3 100644 --- a/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/logs/factory/UserLoginLogFactory.java +++ b/opsli-modulars/opsli-modulars-system/src/main/java/org/opsli/modulars/system/logs/factory/UserLoginLogFactory.java @@ -35,7 +35,7 @@ public final class UserLoginLogFactory { loginInfo.setCreateBy(user.getId()); loginInfo.setUpdateBy(user.getId()); UserOrgRefModel orgByUserId = UserUtil.getUserDefOrgByUserId(user.getId()); - loginInfo.setOrgIds(ObjectUtils.isEmpty(orgByUserId)? null : orgByUserId.getOrgIds() ); + loginInfo.setOrgIds(ObjectUtils.isEmpty(orgByUserId)? "0" : orgByUserId.getOrgIds() ); loginInfo.setTenantId(StrUtil.blankToDefault(user.getTenantId(),null)); if(isLogin){