qirong
2023-08-17 81dfe248054eaa3c2751ba32576f48598adcd04f
src/main/resources/mapper/QuestionMapper.xml
@@ -197,7 +197,6 @@
                 close=")">
          #{subjectId}
        </foreach>
      </if>
      <if test="questionType != null ">
        and q.question_type= #{questionType}
@@ -206,6 +205,7 @@
        and q.info_text_content_id in (SELECT id FROM t_text_content WHERE content like concat('%',#{content},'%') )
      </if>
    </where>
    group by q.id
  </select>
@@ -234,4 +234,8 @@
      GROUP BY create_time
   </select>
  <select id="getAll"  resultMap="BaseResultMap">
    SELECT <include refid="Base_Column_List"/>
        from t_question where  deleted=0
  </select>
</mapper>