Browse Source

新生账号激活bug修复

dzx 4 months ago
parent
commit
18218cfb1b

+ 1 - 1
src/main/java/com/xjrsoft/module/student/controller/BaseNewStudentController.java

@@ -274,7 +274,7 @@ public class BaseNewStudentController {
                 new QueryWrapper<WhitelistManagement>().lambda()
                         .eq(WhitelistManagement::getUserId, dto)
         );
-        if(!managementList.isEmpty()){
+        if(managementList.isEmpty()){
             WhitelistManagement whitelistManagement = new WhitelistManagement() {{
                 setName(user.getName());
                 setUserId(user.getId());