if exam name is not available take the externalId as name
This commit is contained in:
parent
99d0b9dcb2
commit
7b582f95dc
1 changed files with 3 additions and 1 deletions
|
@ -735,7 +735,9 @@ public class ExamDAOImpl implements ExamDAO {
|
|||
record.getLmsSetupId(),
|
||||
record.getExternalId(),
|
||||
BooleanUtils.toBooleanObject(record.getLmsAvailable()),
|
||||
record.getQuizName(),
|
||||
StringUtils.isNotBlank(record.getQuizName())
|
||||
? record.getQuizName()
|
||||
: Constants.SQUARE_BRACE_OPEN + record.getExternalId() + Constants.SQUARE_BRACE_CLOSE,
|
||||
record.getQuizStartTime(),
|
||||
record.getQuizEndTime(),
|
||||
ExamType.valueOf(record.getType()),
|
||||
|
|
Loading…
Reference in a new issue