he2802 4 年之前
父节点
当前提交
83a750d330
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      zhongzheng-system/src/main/resources/mapper/modules/bank/QuestionMapper.xml

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

@@ -169,6 +169,9 @@
         <if test="businessId != null and businessId != ''">
             AND qb.business_id = #{businessId}
         </if>
+        <if test="type != null and type != ''">
+            AND q.type = #{type}
+        </if>
         <if test="prefixName != null and prefixName != ''">
             AND q.prefix_name like concat('%', #{prefixName}, '%')
         </if>