Commit d9609ef7 by 阳浪

4.21bug优化

parent 9c450814
......@@ -39,7 +39,7 @@
SELECT library_id, type, SUM(num) AS number, score
FROM tr_exam_system_question
WHERE exam_id=#{examId} AND state=1 AND IFNULL(num,0) > 0
GROUP BY library_id, type
GROUP BY library_id, type,score
</select>
<!-- 获取必答考题,按默认排序 -->
......
......@@ -21,8 +21,6 @@
AND c.answer != ''
WHERE
a.answer_id = #{answerId}
GROUP BY
a.sort
ORDER BY
a.sort
</select>
......
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