|
@@ -138,8 +138,15 @@
|
|
|
WHERE
|
|
|
c.is_deleted = 'N'
|
|
|
AND c.module_id = #{moduleId}
|
|
|
+ AND c.question_id != ''
|
|
|
)
|
|
|
</if>
|
|
|
+ <if test="noIds != null and noIds.size != 0">
|
|
|
+ AND a.id NOT IN
|
|
|
+ <foreach collection="noIds" item="noId" open="(" separator="," close=")">
|
|
|
+ #{noId}
|
|
|
+ </foreach>
|
|
|
+ </if>
|
|
|
<if test="tagName != null and tagName != ''">
|
|
|
AND a.tag_name like CONCAT('%', #{tagName}, '%')
|
|
|
</if>
|