增加:导入学生时创建的账号增加orgId参数
This commit is contained in:
parent
8ad4877995
commit
01f7105f02
@ -487,6 +487,7 @@ public class OrgUserService implements IOrgUserService {
|
|||||||
SysAccount user = iSysUserService.findEntity(importOrgUser.getAccount(), topOrg.getId());
|
SysAccount user = iSysUserService.findEntity(importOrgUser.getAccount(), topOrg.getId());
|
||||||
if (user == null) {
|
if (user == null) {
|
||||||
SysAccount account = importOrgUser.convert2DB();
|
SysAccount account = importOrgUser.convert2DB();
|
||||||
|
account.setOrgId(topOrg.getId());
|
||||||
iSysUserService.createUser(account);
|
iSysUserService.createUser(account);
|
||||||
create(orgId, account.getId(), BusinessConsts.OrgRole.Student);
|
create(orgId, account.getId(), BusinessConsts.OrgRole.Student);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user