studentList.forEach(str->
{
RecruitDict dict = new RecruitDict();
dict.setDeleteFlag(0);
dict.setStatus(6);
dict.setName(str.getStatus());
List<RecruitDict> list = recruitDictMapper.queryAll(dict);
String identity = fzxyRegistStudentMapper.getIdentity(str.getIdentity());
fzxyRegistStudentMapper.updateByStatus(str.getStatus(),list.get(0).getId(),str.getStudentName(),identity);
}
);
@Test
public void test66() {
ArrayList<Girl> list = new ArrayList<>();
list.add(new Girl("liubei","111"));
list.add(new Girl("zhangfei","222"));
list.add(new Girl("guanyu","333"));
list.stream().map(n->n.getName())
.forEach(n-> System.out.println(n));//这里打印的遍历的姓名

List<String> collect = list.stream().map(n -> n.getName()).collect(Collectors.toList());
System.out.println(JSONObject.toJSONString(collect));//这里是接受的姓名集合


}