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