Selaa lähdekoodia

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

private_deployment
lrh 1 vuosi sitten
vanhempi
commit
e2bb95bcc0
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      suimangService/src/main/resources/mapper/MusicServiceMapper.xml

+ 2
- 2
suimangService/src/main/resources/mapper/MusicServiceMapper.xml Näytä tiedosto

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


Ladataan…
Peruuta
Tallenna