Pārlūkot izejas kodu

add 题库类型查询

he2802 4 gadi atpakaļ
vecāks
revīzija
ad4906be3b

+ 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>