|
@@ -108,11 +108,11 @@
|
|
|
<select id="getList" resultType="com.diagbot.dto.QuestionPageDTO">
|
|
|
SELECT a.* FROM `icss_question_info` a WHERE
|
|
|
a.is_deleted = 'N'
|
|
|
- <if test="questionPageVO.type != null and questionPageVO.type != ''">
|
|
|
- AND a.type = #{questionPageVO.type}
|
|
|
+ <if test="type != null and type != ''">
|
|
|
+ AND a.type = #{type}
|
|
|
</if>
|
|
|
- <if test="questionPageVO.tagName != null and questionPageVO.tagName != ''">
|
|
|
- AND a.name like concat ('%', #{questionPageVO.tagName}, '%')
|
|
|
+ <if test="tagName != null and tagName != ''">
|
|
|
+ AND a.name like concat ('%', #{tagName}, '%')
|
|
|
</if>
|
|
|
order by a.gmt_create desc
|
|
|
|