浏览代码

add 题库类型查询

he2802 4 年之前
父节点
当前提交
ad4906be3b
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      zhongzheng-system/src/main/resources/mapper/modules/bank/QuestionBankMapper.xml

+ 3 - 0
zhongzheng-system/src/main/resources/mapper/modules/bank/QuestionBankMapper.xml

@@ -37,6 +37,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="categoryId != null and categoryId != ''">
             AND qb.category_id = #{categoryId}
         </if>
+        <if test="typeId != null and typeId != ''">
+            AND qb.typeId = #{typeId}
+        </if>
     </select>
 
 </mapper>