|
@@ -127,8 +127,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="issue != null and issue != ''"> and issue = #{issue}</if>
|
|
|
<if test="opts != null and opts != ''"> and opts = #{opts}</if>
|
|
|
<if test="questionType != null "> and question_type = #{questionType}</if>
|
|
|
- <if test="model != null and model != ''"> AND model like concat('%', #{model}, '%') </if>
|
|
|
- <if test="columnAll != null and columnAll != ''"> and column_all like concat('%', #{columnAll}, '%')</if>
|
|
|
+ <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="chapterId != null "> and chapter_id = #{chapterId}</if>
|
|
|
<if test="diffDegree != null "> and diff_degree = #{diffDegree}</if>
|