|
|
@@ -1,6 +1,7 @@
|
|
|
package com.xjrsoft.module.internship.service.impl;
|
|
|
|
|
|
import cn.dev33.satoken.stp.StpUtil;
|
|
|
+import cn.hutool.core.bean.BeanUtil;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
import com.github.yulichang.base.MPJBaseServiceImpl;
|
|
|
@@ -128,7 +129,7 @@ public class InternshipPlanManageParticipantServiceImpl extends MPJBaseServiceIm
|
|
|
notInIds.add(Long.parseLong(objectMap.get("id").toString()));
|
|
|
}
|
|
|
|
|
|
- BaseStudentInfoPageDto studentInfoPageDto = new BaseStudentInfoPageDto();
|
|
|
+ BaseStudentInfoPageDto studentInfoPageDto = BeanUtil.toBean(dto, BaseStudentInfoPageDto.class);
|
|
|
studentInfoPageDto.setNotInIds(notInIds);
|
|
|
|
|
|
List<String> roleList = StpUtil.getRoleList();
|
|
|
@@ -191,7 +192,7 @@ public class InternshipPlanManageParticipantServiceImpl extends MPJBaseServiceIm
|
|
|
|
|
|
Map<Long, String> collect = list.stream().filter(x -> x.getResult() != null).collect(Collectors.toMap(InternshipPlanManageParticipant::getParticipantUserId, InternshipPlanManageParticipant::getResult));
|
|
|
|
|
|
- BaseStudentInfoPageDto studentInfoPageDto = new BaseStudentInfoPageDto();
|
|
|
+ BaseStudentInfoPageDto studentInfoPageDto = BeanUtil.toBean(dto, BaseStudentInfoPageDto.class);
|
|
|
studentInfoPageDto.setInIds(list.stream().map(InternshipPlanManageParticipant::getParticipantUserId).collect(Collectors.toList()));
|
|
|
studentInfoPageDto.setKeyWord(dto.getKeyword());
|
|
|
|
|
|
@@ -212,7 +213,7 @@ public class InternshipPlanManageParticipantServiceImpl extends MPJBaseServiceIm
|
|
|
|
|
|
Map<Long, String> collect = list.stream().filter(x -> x.getResult() != null).collect(Collectors.toMap(InternshipPlanManageParticipant::getParticipantUserId, InternshipPlanManageParticipant::getResult));
|
|
|
|
|
|
- BaseStudentInfoPageDto studentInfoPageDto = new BaseStudentInfoPageDto();
|
|
|
+ BaseStudentInfoPageDto studentInfoPageDto = BeanUtil.toBean(dto, BaseStudentInfoPageDto.class);
|
|
|
studentInfoPageDto.setInIds(list.stream().map(InternshipPlanManageParticipant::getParticipantUserId).collect(Collectors.toList()));
|
|
|
studentInfoPageDto.setKeyWord(dto.getKeyword());
|
|
|
|