@@ -8,7 +8,10 @@ | |||
INNER JOIN tauv_inspect_driver AS i ON q.inspect_driver_id=i.id | |||
INNER JOIN tauv_question_options AS o ON q.question_id=o.id | |||
INNER JOIN sys_city AS c ON c.id=i.driver_area | |||
WHERE q.`status`=#{param.status} AND q.mark=1 AND i.mark=1 | |||
WHERE q.mark=1 AND i.mark=1 | |||
<if test="param.status != null and param.status > 0"> | |||
AND q.`status`=#{param.status} | |||
</if> | |||
</select> | |||
<!-- 获取问题详情 --> |