From 01f7105f027de86a1a88f03667d8c540ad37799a Mon Sep 17 00:00:00 2001 From: joylink_zhangsai Date: Tue, 28 Mar 2023 11:08:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=EF=BC=9A=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E5=AD=A6=E7=94=9F=E6=97=B6=E5=88=9B=E5=BB=BA=E7=9A=84=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7=E5=A2=9E=E5=8A=A0orgId=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/club/joylink/rtss/services/org/OrgUserService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/club/joylink/rtss/services/org/OrgUserService.java b/src/main/java/club/joylink/rtss/services/org/OrgUserService.java index 6fc7d8acb..ce059851e 100644 --- a/src/main/java/club/joylink/rtss/services/org/OrgUserService.java +++ b/src/main/java/club/joylink/rtss/services/org/OrgUserService.java @@ -487,6 +487,7 @@ public class OrgUserService implements IOrgUserService { SysAccount user = iSysUserService.findEntity(importOrgUser.getAccount(), topOrg.getId()); if (user == null) { SysAccount account = importOrgUser.convert2DB(); + account.setOrgId(topOrg.getId()); iSysUserService.createUser(account); create(orgId, account.getId(), BusinessConsts.OrgRole.Student); } else {