Browse Source

fix 题库类型查询

he2802 4 years ago
parent
commit
9bb09b8927

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

@@ -31,6 +31,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="name != null and name != ''">
             AND qbs.name like concat('%', #{name}, '%')
         </if>
+        <if test="bankChapterId != null and bankChapterId != ''">
+            AND qbs.bankChapterId = #{bankChapterId}
+        </if>
         GROUP BY
             qbs.bank_section_id
     </select>