Sfoglia il codice sorgente

将音乐的个人仓库和默认仓库分成两个接口

private_deployment
lrh 1 anno fa
parent
commit
38549d3152
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      suimangService/src/main/resources/mapper/MusicServiceMapper.xml

+ 2
- 0
suimangService/src/main/resources/mapper/MusicServiceMapper.xml Vedi File

@@ -5,12 +5,14 @@
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 user_id = 0
ORDER BY create_date DESC
</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} and user_id = #{userId}
ORDER BY create_date DESC
</select>

<update id="deleteById">


Caricamento…
Annulla
Salva