Commit bf4cbfc4 authored by wujipeng's avatar wujipeng
Browse files

优化

parent df104949
......@@ -105,7 +105,7 @@
from exam_student higher
where higher.exam_id = attempt.exam_id
and coalesce(higher.mark_flag, 0) = 1
and higher.score > attempt.score) as rank,
and higher.score > attempt.score) as 'rank',
coalesce(from_unixtime(attempt.end_time / 1000), e.exam_time) as scoreTime
from exam_student attempt
inner join exam e on e.id = attempt.exam_id
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment