@Query("select c.id as recordId, c.name as targetName, c.avatar, c.classId,c.className, n.id as recordNodeId, c.targetId, c.targetType, n.creator, n.createTime, n.appraiseNode.name as appraiseName, n.appraiseNode.isPraise, n.device,n.appraiseNode.path from Student as c join n in c.nodes where "+
@Query("select * from Exam as s where s.code = @code and array_contains(s.classes,@classId) and s.period.id = @periodId and s.progress = 'finish' order by s.createTime ")
@Query("select s.id,s.name,s.average,s.createTime from Exam as s join p in s.subjects where s.code = @code and array_contains(s.classes,@classId) and s.period.id = @periodId and s.progress = 'finish' and p.id =@subjectId order by s.createTime ")