소스 검색

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

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


불러오는 중...
취소
저장