增加:导入学生时创建的账号增加orgId参数

This commit is contained in:
joylink_zhangsai 2023-03-28 11:08:31 +08:00
parent 8ad4877995
commit 01f7105f02

View File

@ -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 {