@@ -51,7 +51,7 @@ public class Question implements Serializable {
private Integer infoTextContentId;
/**
- * 题库类型
+ * 题库类型 1练习题目库 2问卷题目库
*/
private String bankType;
@@ -212,6 +212,9 @@
<if test="bo.content != null">
and info_text_content_id in (SELECT id FROM t_text_content WHERE content like concat('%',#{bo.content},'%') )
</if>
+ <if test="bo.bankType != null">
+ and bank_type = #{bo.bankType}
+ </if>
</where>
order by create_time desc
</select>