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 != ''">
         <if test="businessId != null and businessId != ''">
             AND qb.business_id = #{businessId}
             AND qb.business_id = #{businessId}
         </if>
         </if>
+        <if test="type != null and type != ''">
+            AND q.type = #{type}
+        </if>
         <if test="prefixName != null and prefixName != ''">
         <if test="prefixName != null and prefixName != ''">
             AND q.prefix_name like concat('%', #{prefixName}, '%')
             AND q.prefix_name like concat('%', #{prefixName}, '%')
         </if>
         </if>