Commit 18c3b5d0 by wangjian

2024-04-07 招聘 V1

parent fb3f0036
......@@ -211,6 +211,12 @@ public class SchoolRecruitStudentServiceImpl extends ServiceImpl<SchoolRecruitSt
List<SchoolRecruitStudentFamily> familyList = recruitStudentFamilyMapper.selectList(lqw2);
s.setRemeberData(familyList);
LambdaQueryWrapper<SchoolRecruitStudentFjb> lqw3 = new LambdaQueryWrapper<>();
lqw3.eq(SchoolRecruitStudentFjb::getStudentId, s.getId());
lqw3.eq(SchoolRecruitStudentFjb::getDelFlag, "0");
List<SchoolRecruitStudentFjb> fList = recruitStudentFjbMapper.selectList(lqw3);
s.setFileList(fList);
return s;
}
......@@ -379,7 +385,16 @@ public class SchoolRecruitStudentServiceImpl extends ServiceImpl<SchoolRecruitSt
recruitStudentFamilyMapper.insert(j);
}
//附件
LambdaQueryWrapper<SchoolRecruitStudentFjb> lqw3 = new LambdaQueryWrapper<>();
lqw3.eq(SchoolRecruitStudentFjb::getStudentId, s.getId());
recruitStudentFjbMapper.delete(lqw3);
List<SchoolRecruitStudentFjb> fileList = student.getFileList();
for(SchoolRecruitStudentFjb j:fileList){
j.setId(null);
j.setStudentId(student.getId());
recruitStudentFjbMapper.insert(j);
}
......@@ -457,7 +472,16 @@ public class SchoolRecruitStudentServiceImpl extends ServiceImpl<SchoolRecruitSt
recruitStudentFamilyMapper.insert(j);
}
//附件
LambdaQueryWrapper<SchoolRecruitStudentFjb> lqw3 = new LambdaQueryWrapper<>();
lqw3.eq(SchoolRecruitStudentFjb::getStudentId, s.getId());
recruitStudentFjbMapper.delete(lqw3);
List<SchoolRecruitStudentFjb> fileList = student.getFileList();
for(SchoolRecruitStudentFjb j:fileList){
j.setId(null);
j.setStudentId(student.getId());
recruitStudentFjbMapper.insert(j);
}
......
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