|
@@ -88,13 +88,13 @@
|
|
|
</if>
|
|
|
<if test="param.musicTagIds != null and param.musicTagIds != ''">
|
|
|
and
|
|
|
- <foreach collection="param.musicTagIdList" separator="or" item="item">
|
|
|
+ <foreach collection="param.musicTagIdList" open="(" close=")" separator="or" item="item">
|
|
|
find_in_set(#{item},t.music_tag_)
|
|
|
</foreach>
|
|
|
</if>
|
|
|
<if test="param.subjectIds != null and param.subjectIds != ''">
|
|
|
and
|
|
|
- <foreach collection="param.subjectIdList" separator="or" item="item">
|
|
|
+ <foreach collection="param.subjectIdList" separator="or" item="item" open="(" close=")" >
|
|
|
find_in_set(#{item},t.music_subject_)
|
|
|
</foreach>
|
|
|
</if>
|
|
@@ -133,13 +133,13 @@
|
|
|
</if>
|
|
|
<if test="param.musicTagIds != null and param.musicTagIds != ''">
|
|
|
and
|
|
|
- <foreach collection="param.musicTagIdList" separator="and" item="item">
|
|
|
+ <foreach collection="param.musicTagIdList" separator="or" item="item" open="(" close=")" >
|
|
|
find_in_set(#{item},t.music_tag_)
|
|
|
</foreach>
|
|
|
</if>
|
|
|
<if test="param.subjectIds != null and param.subjectIds != ''">
|
|
|
and
|
|
|
- <foreach collection="param.subjectIdList" separator="and" item="item">
|
|
|
+ <foreach collection="param.subjectIdList" separator="or" item="item" open="(" close=")" >
|
|
|
find_in_set(#{item},t.music_subject_)
|
|
|
</foreach>
|
|
|
</if>
|
|
@@ -375,7 +375,7 @@
|
|
|
</if>
|
|
|
<if test="param.musicTagList != null and param.musicTagList.size() != 0">
|
|
|
and
|
|
|
- <foreach collection="param.musicTagList" separator="and" item="item">
|
|
|
+ <foreach collection="param.musicTagList" separator="or" item="item" open="(" close=")" >
|
|
|
find_in_set(#{item},ms.music_tag_)
|
|
|
</foreach>
|
|
|
</if>
|