Explorar el Código

新生账号激活bug修复

dzx hace 4 meses
padre
commit
a930fd6c14

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

@@ -273,7 +273,7 @@ public class BaseNewStudentController {
         //新增白名单信息
         List<WhitelistManagement> managementList = whitelistManagementService.list(
                 new QueryWrapper<WhitelistManagement>().lambda()
-                        .eq(WhitelistManagement::getUserId, dto)
+                        .eq(WhitelistManagement::getUserId, dto.getId())
         );
         if(managementList.isEmpty()){
             WhitelistManagement whitelistManagement = new WhitelistManagement() {{