فهرست منبع

fix 题库类型查询

he2802 4 سال پیش
والد
کامیت
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>