优化音乐库获取专辑时附带md5值
This commit is contained in:
@@ -308,13 +308,13 @@
|
||||
from music_data
|
||||
where `file` REGEXP #{regexp,jdbcType=VARCHAR}
|
||||
</select>
|
||||
<select id="selectAllAlbum" resultType="java.lang.String">
|
||||
SELECT album
|
||||
FROM music_data
|
||||
<select id="selectAllAlbum" resultType="com.yutou.nas.mybatis.model.MusicData">
|
||||
SELECT album,`md5`
|
||||
FROM music_data a
|
||||
group by `album`;
|
||||
</select>
|
||||
<select id="selectAllArtist" resultType="java.lang.String">
|
||||
SELECT artist
|
||||
<select id="selectAllArtist" resultType="com.yutou.nas.mybatis.model.MusicData">
|
||||
SELECT artist,`md5`
|
||||
FROM music_data
|
||||
group by `artist`;
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user