zhangbin 1 год назад
Родитель
Сommit
49c99f664c

+ 1 - 0
jpcj-service/src/main/resources/mapper/question/QuestionInfoKtNewMapper.xml

@@ -130,6 +130,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="model != null and model != ''"> AND FIND_IN_SET(#{model}, model) </if>
             <if test="columnAll != null  and columnAll != ''"> AND FIND_IN_SET(#{columnAll}, column_all) </if>
             <if test="subject != null  and subject != ''"> and subject = #{subject}</if>
+            <if test="subject == 1"> and question_type != 3 </if>
             <if test="chapterId != null "> and chapter_id = #{chapterId}</if>
             <if test="diffDegree != null "> and diff_degree = #{diffDegree}</if>
             <if test="isNew != null "> and is_new = #{isNew}</if>