WANG 6 жил өмнө
parent
commit
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;
 
-		if (null == rootOrgId) {
+		if (null != rootOrgId) {
 			rootOrg = orgRepo.findOne(rootOrgId);
 			if (null == rootOrg) {
 				throw new StatusException("B-150003", "机构不存在");