|
@@ -104,7 +104,7 @@ public class OrgService {
|
|
* @param tempOrg
|
|
* @param tempOrg
|
|
*/
|
|
*/
|
|
private void createOrgUser(Org tempOrg){
|
|
private void createOrgUser(Org tempOrg){
|
|
- User user = new User(tempOrg.getName(), UserScope.ORG, tempOrg.getRootId(), tempOrg.getParentId(), UserType.NOT_STUDENT);
|
|
|
|
|
|
+ User user = new User(tempOrg.getName(), UserScope.ORG, tempOrg.getRootId(), tempOrg.getId(), UserType.NOT_STUDENT);
|
|
user.setLoginName(tempOrg.getCode());
|
|
user.setLoginName(tempOrg.getCode());
|
|
user.setEnable(true);
|
|
user.setEnable(true);
|
|
user.setCreateTime(new Date());
|
|
user.setCreateTime(new Date());
|