Ver código fonte

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

private_deployment
lrh 1 ano atrás
pai
commit
38549d3152
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      suimangService/src/main/resources/mapper/MusicServiceMapper.xml

+ 2
- 0
suimangService/src/main/resources/mapper/MusicServiceMapper.xml Ver arquivo

@@ -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">


Carregando…
Cancelar
Salvar