Explorar el Código

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

private_deployment
lrh hace 1 año
padre
commit
e2bb95bcc0
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      suimangService/src/main/resources/mapper/MusicServiceMapper.xml

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

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


Cargando…
Cancelar
Guardar