he2802 před 3 roky
rodič
revize
b75b0d0ae3

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

@@ -227,10 +227,10 @@
         <if test="type != null and type != ''">
             AND q.type = #{type}
         </if>
-        <if test="businessId != null ">
+        <if test="businessId != null and businessId != ''">
             AND qb.business_id = #{businessId}
         </if>
-        <if test="publishStatus != null and publishStatus != ''">
+        <if test="publishStatus != null ">
             AND q.publish_status = #{publishStatus}
         </if>
         <if test="prefixName != null and prefixName != ''">