|
@@ -230,7 +230,7 @@ public class UserController extends ControllerSupport {
|
|
|
|
|
|
OrgEntity rootOrg = null;
|
|
|
|
|
|
- if (null == rootOrgId) {
|
|
|
+ if (null != rootOrgId) {
|
|
|
rootOrg = orgRepo.findOne(rootOrgId);
|
|
|
if (null == rootOrg) {
|
|
|
throw new StatusException("B-150003", "机构不存在");
|