dzx 4 месяцев назад
Родитель
Сommit
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() {{