|
@@ -167,12 +167,8 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="getList" resultType="com.diagbot.dto.QuestionPageDTO">
|
|
|
- SELECT a.*, b.type dis_type FROM `icss_question_info` a
|
|
|
- left join icss_dis_type b on a.id = b.dis_id
|
|
|
+ SELECT a.* FROM `icss_question_info` a
|
|
|
WHERE a.is_deleted = 'N'
|
|
|
- <if test="disType != null">
|
|
|
- AND b.type = #{disType}
|
|
|
- </if>
|
|
|
<if test="type != null and type != ''">
|
|
|
AND a.type = #{type}
|
|
|
</if>
|