| | |
| | | </select> |
| | | |
| | | <select id="selectPaperStudentList" resultMap="SimplePaperStudentResult"> |
| | | select a.*,e.name as create_name,b.phone as student_phone,b.name as student_name,c.name as paper_name,c.code as paper_code,c.limited,c.limit_time,c.deadline,d.name as category_name |
| | | select a.*,c.create_by as create_name,b.phone as student_phone,b.name as student_name,c.name as paper_name,c.code as paper_code,c.limited,c.limit_time,c.deadline,d.name as category_name |
| | | <if test="studentId!=null"> |
| | | ,(select question_id from ex_student_answer where paper_id=a.paper_id and student_id=#{studentId} order by id desc limit 1) as question_id |
| | | </if> |