Commit dd281bf5 by 阳浪

4.24bug优化

parent d9609ef7
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
select * from select * from
<!--已阅卷状态只查询最高分一条记录--> <!--已阅卷状态只查询最高分一条记录-->
(select * from (select t.account_id,1 as joinState,1 as submitState,2 as state,o.sum_score as score,t.start_time (select * from (select distinct t.account_id,1 as joinState,1 as submitState,2 as state,o.sum_score as score,t.start_time
as startTime,t.duration as duration, as startTime,t.duration as duration,
t.submit_time as finishTime,o.objective_score as objectiveScore,o.subjective_score as subjectiveScore, t.submit_time as finishTime,o.objective_score as objectiveScore,o.subjective_score as subjectiveScore,
CASE o.sum_score>=e.qualified_score CASE o.sum_score>=e.qualified_score
...@@ -152,7 +152,6 @@ ...@@ -152,7 +152,6 @@
</foreach> </foreach>
</if> </if>
ORDER BY t.score desc)a ORDER BY t.score desc)a
GROUP BY a.account_id
UNION UNION
......
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