feat(training): 添加按记录ID列表查询培训申请审批详情功能

dev
zhaokai 2026-03-07 17:24:54 +08:00
parent 9894cff3b6
commit 3463ad5390
1 changed files with 9 additions and 6 deletions

View File

@ -167,12 +167,15 @@ 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());
StudentExamRecordCO studentExamRecordCO = new StudentExamRecordCO(); if(studentExamRecordDO != null){
BeanUtils.copyProperties(studentExamRecordDO, studentExamRecordCO); StudentExamRecordCO studentExamRecordCO = new StudentExamRecordCO();
List<StudentExamRecordItemDO> recordList = studentExamRecordItemRepository.listByExamRecordId(studentExamRecordDO.getStudentExamRecordId()); BeanUtils.copyProperties(studentExamRecordDO, studentExamRecordCO);
List<StudentExamRecordItemCO> recordCoList = studentExamRecordItemCoConvertor.converDOsToCOs(recordList); List<StudentExamRecordItemDO> recordList = studentExamRecordItemRepository.listByExamRecordId(studentExamRecordDO.getStudentExamRecordId());
studentExamRecordCO.setExamRecordItemList(recordCoList); List<StudentExamRecordItemCO> recordCoList = studentExamRecordItemCoConvertor.converDOsToCOs(recordList);
personArchivesDTO.setStudentExamRecord(studentExamRecordCO); studentExamRecordCO.setExamRecordItemList(recordCoList);
personArchivesDTO.setStudentExamRecord(studentExamRecordCO);
}
} }
// 新增档案下载记录 // 新增档案下载记录
ArchivesPdfFileE archivesPdfFileE = new ArchivesPdfFileE(); ArchivesPdfFileE archivesPdfFileE = new ArchivesPdfFileE();