|
|
@@ -4,13 +4,13 @@ |
|
|
|
<select id="findList" resultType="com.iformall.domain.po.sm.MusicInfo"> |
|
|
|
SELECT id, update_date, size, name, time, is_del, url, create_date, user_id, type |
|
|
|
FROM music_info |
|
|
|
WHERE is_del = 0 and type = #{type} and userId = 0 |
|
|
|
WHERE is_del = 0 and type = #{type} and user_id = 0 |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="userMusic" resultType="com.iformall.domain.po.sm.MusicInfo"> |
|
|
|
SELECT id, update_date, size, name, time, is_del, url, create_date, user_id, type |
|
|
|
FROM music_info |
|
|
|
WHERE is_del = 0 and type = #{type} userId = #{userId} |
|
|
|
WHERE is_del = 0 and type = #{type} and user_id = #{userId} |
|
|
|
</select> |
|
|
|
|
|
|
|
<update id="deleteById"> |
|
|
|