|
@@ -683,13 +683,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</foreach>
|
|
|
</if>
|
|
|
<if test="questionIds != null and questionIds.size()!=0 ">
|
|
|
+ AND
|
|
|
<foreach collection="questionIds" item="item" index="index">
|
|
|
<choose>
|
|
|
<when test="index == questionIds.size()-1">
|
|
|
up.do_question_ids LIKE concat('%', #{item}, '%')
|
|
|
</when>
|
|
|
<otherwise>
|
|
|
- AND up.do_question_ids LIKE concat('%', #{item}, '%') OR
|
|
|
+ up.do_question_ids LIKE concat('%', #{item}, '%') OR
|
|
|
</otherwise>
|
|
|
</choose>
|
|
|
</foreach>
|