Commit ac7a59f7 authored by 耿迪迪's avatar 耿迪迪

考试发布问题修改 gengdidi

parent b8757114
......@@ -205,7 +205,7 @@ public class TTrainCourseServiceImpl implements ITTrainCourseService
}
//新增考试人员
List<JSONObject> personList = JSONObject.parseArray(course.getTestPersons(),JSONObject.class);
List<String> persons = personList.stream().map(item ->(String)item.get("peoPleId")).collect(Collectors.toList());
List<String> persons = personList.stream().map(item ->String.valueOf(item.get("peoPleId"))).collect(Collectors.toList());
tTrainCourseMapper.insertUserCourse(tTrainCourse.getCourseId(),persons,tTrainCourse.getPersonnelType());
tTrainCourse.setStatus(1);
tTrainCourse.setReleaseTime(new Date());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment