فهرست منبع

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>