luoweijian 2 weeks ago
parent
commit
8b0b3df1eb
  1. 4
      src/main/java/com/project/exam/domain/service/impl/AdminSearchExamRecordDomainServiceImpl.java

4
src/main/java/com/project/exam/domain/service/impl/AdminSearchExamRecordDomainServiceImpl.java

@ -100,7 +100,9 @@ public class AdminSearchExamRecordDomainServiceImpl implements AdminSearchExamRe
dto.setPictureDTOList(pictureDTOList);
if (Objects.nonNull(dto.getSubLineId())) {
ProductLineEntity productLine = productLineBaseService.getById(dto.getSubLineId());
dto.setSubLineName(productLine.getName());
if (Objects.nonNull(productLine)) {
dto.setSubLineName(productLine.getName());
}
}
if (BooleanUtil.isTrue(dto.getPass())) {
dto.setPassText(ExamRecordPassTextEnum.Pass.getValue());

Loading…
Cancel
Save