WANG 6 年之前
父節點
當前提交
5c090e1cee

+ 1 - 1
examcloud-core-basic-api-provider/src/main/java/cn/com/qmth/examcloud/core/basic/api/controller/UserController.java

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