Commit 3533c39c authored by 耿迪迪's avatar 耿迪迪

考试发布 gengdidi

parent d1e3491e
......@@ -196,7 +196,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("staffId")).collect(Collectors.toList());
List<String> persons = personList.stream().map(item ->(String)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