|
@@ -104,8 +104,8 @@
|
|
|
ms.del_flag_ = 0
|
|
|
<if test="longs != null and longs.size() != 0">
|
|
|
and
|
|
|
- <foreach collection="longs" item="item" open="" close="" >
|
|
|
- find_in_set(ms.music_tag_)
|
|
|
+ <foreach collection="longs" item="item" open="(" close=")" separator="or">
|
|
|
+ find_in_set(#{item},ms.music_tag_)
|
|
|
</foreach>
|
|
|
</if>
|
|
|
</where>
|
|
@@ -115,10 +115,11 @@
|
|
|
|
|
|
select count(1) from music_album ms
|
|
|
<where>
|
|
|
+ ms.del_flag_ = 0
|
|
|
<if test="longs != null and longs.size() != 0">
|
|
|
and
|
|
|
- <foreach collection="longs" item="item" open="" close="" >
|
|
|
- find_in_set(ms.album_tag_)
|
|
|
+ <foreach collection="longs" item="item" open="(" close=")" separator="or">
|
|
|
+ find_in_set(#{item},ms.album_tag_)
|
|
|
</foreach>
|
|
|
</if>
|
|
|
</where>
|