From 71f743a4d2e9bcd75b14eff85f15ea82aeb64c6d Mon Sep 17 00:00:00 2001 From: chengqf <584883665@139.com> Date: Tue, 16 May 2023 12:02:17 +0800 Subject: [PATCH] register --- .../java/com/glxp/api/controller/auth/RegisterController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/glxp/api/controller/auth/RegisterController.java b/src/main/java/com/glxp/api/controller/auth/RegisterController.java index 6f1a82d..71abe4b 100644 --- a/src/main/java/com/glxp/api/controller/auth/RegisterController.java +++ b/src/main/java/com/glxp/api/controller/auth/RegisterController.java @@ -89,7 +89,7 @@ public class RegisterController { if (userRegisterEntity2 !=null ) { if(userRegisterEntity.getId()==null) return ResultVOUtils.error(500, "该单位已被注册!"); - if(!userRegisterEntity2.getId().equals(userRegisterEntity.getId())) + if(userRegisterEntity2.getId()!=userRegisterEntity.getId()) return ResultVOUtils.error(500, "该单位已被注册!"); } if(StringUtils.isEmpty(userRegisterEntity.getCheckStatus()))