feat(training): 添加按记录ID列表查询培训申请审批详情功能
parent
9894cff3b6
commit
3463ad5390
|
|
@ -167,6 +167,7 @@ public class ArchivesQueryExe {
|
||||||
BeanUtils.copyProperties(personArchivesE, personArchivesDTO);
|
BeanUtils.copyProperties(personArchivesE, personArchivesDTO);
|
||||||
if (qry.getTypeList().contains(5)) {
|
if (qry.getTypeList().contains(5)) {
|
||||||
StudentExamRecordDO studentExamRecordDO = studentExamRecordRepository.getInfoByStudentId(studentDO.getStudentId());
|
StudentExamRecordDO studentExamRecordDO = studentExamRecordRepository.getInfoByStudentId(studentDO.getStudentId());
|
||||||
|
if(studentExamRecordDO != null){
|
||||||
StudentExamRecordCO studentExamRecordCO = new StudentExamRecordCO();
|
StudentExamRecordCO studentExamRecordCO = new StudentExamRecordCO();
|
||||||
BeanUtils.copyProperties(studentExamRecordDO, studentExamRecordCO);
|
BeanUtils.copyProperties(studentExamRecordDO, studentExamRecordCO);
|
||||||
List<StudentExamRecordItemDO> recordList = studentExamRecordItemRepository.listByExamRecordId(studentExamRecordDO.getStudentExamRecordId());
|
List<StudentExamRecordItemDO> recordList = studentExamRecordItemRepository.listByExamRecordId(studentExamRecordDO.getStudentExamRecordId());
|
||||||
|
|
@ -174,6 +175,8 @@ public class ArchivesQueryExe {
|
||||||
studentExamRecordCO.setExamRecordItemList(recordCoList);
|
studentExamRecordCO.setExamRecordItemList(recordCoList);
|
||||||
personArchivesDTO.setStudentExamRecord(studentExamRecordCO);
|
personArchivesDTO.setStudentExamRecord(studentExamRecordCO);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
// 新增档案下载记录
|
// 新增档案下载记录
|
||||||
ArchivesPdfFileE archivesPdfFileE = new ArchivesPdfFileE();
|
ArchivesPdfFileE archivesPdfFileE = new ArchivesPdfFileE();
|
||||||
archivesPdfFileE.init("student", personArchivesDTO.getStudentId(), 1, AuthContext.getTenantId(), personArchivesDTO.getName()+"-"+personArchivesDTO.getClassName());
|
archivesPdfFileE.init("student", personArchivesDTO.getStudentId(), 1, AuthContext.getTenantId(), personArchivesDTO.getName()+"-"+personArchivesDTO.getClassName());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue