@@ -19,4 +19,5 @@ public class QuestionPageVO extends Page {
private String tagName;
private List<Integer> tagTypeList;
private List<Integer> controlTypeList;
+ private Integer disType;
}
@@ -164,6 +164,9 @@
SELECT a.*, b.type dis_type FROM `icss_question_info` a
left join icss_dis_type b on a.id = b.dis_id
WHERE a.is_deleted = 'N'
+ <if test="disType != null">
+ AND b.type = #{disType}
+ </if>
<if test="type != null and type != ''">
AND a.type = #{type}
</if>