zhoutg 6 lat temu
rodzic
commit
2461845411

+ 1 - 1
icssman-service/src/main/resources/mapper/QuestionInfoMapper.xml

@@ -128,7 +128,7 @@
 
     <select id="getList" resultType="com.diagbot.dto.QuestionPageDTO">
         SELECT a.* FROM `icss_question_info` a WHERE a.is_deleted = 'N'
-        <if test="type != null">
+        <if test="type != null and type != ''">
             AND a.type = #{type}
         </if>
         <if test="tagName != null and tagName != ''">