@@ -18,8 +18,8 @@ | |||
LEFT JOIN th_question q on woq.question_id = q.id | |||
LEFT JOIN th_question_handle qh on q.id = qh.question_id | |||
LEFT JOIN sys_user u on qh.handler_user = u.id | |||
<if test="request.type != '' and request.type != null"> | |||
AND q.type = #{request.type} | |||
<if test="request.questionType != '' and request.questionType != null"> | |||
AND q.type = #{request.questionType} | |||
</if> | |||
<if test="request.status != null"> | |||
AND woq.`status` = #{request.status} |