|
|
|
@ -142,7 +142,7 @@ public class UniversitiesCollegesService extends CoreBaseService<UniversitiesCol
|
|
|
|
|
// 这里不抛出异常,如果没有验证通过,则不新增用户
|
|
|
|
|
if(beanValidationResult.isSuccess()) {
|
|
|
|
|
// 默认创建院校管理员权限的用户
|
|
|
|
|
Long defaultAdminUserId = webPlatformService.createUser(dto.getUserCode(), dto.getPassword(), universitiesColleges.getOrgId(), JT_01, JT_S_04);
|
|
|
|
|
Long defaultAdminUserId = webPlatformService.createUserWithRole(dto.getUserCode(), dto.getPassword(), universitiesColleges.getOrgId(), JT_01, JT_S_04);
|
|
|
|
|
|
|
|
|
|
// 用户添加成功后,将用户ID 回传给该学校的默认管理员字段
|
|
|
|
|
UniversitiesColleges u = new UniversitiesColleges();
|
|
|
|
|