瀏覽代碼

fix 题库类型查询

he2802 5 年之前
父節點
當前提交
1879318007
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      zhongzheng-system/src/main/resources/mapper/modules/bank/QuestionBankExamMapper.xml

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

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