瀏覽代碼

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

private_deployment
lrh 1 年之前
父節點
當前提交
e2bb95bcc0
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      suimangService/src/main/resources/mapper/MusicServiceMapper.xml

+ 2
- 2
suimangService/src/main/resources/mapper/MusicServiceMapper.xml 查看文件

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


Loading…
取消
儲存