小程序点歌 新增获取正在演唱歌曲接口
This commit is contained in:
@@ -64,6 +64,6 @@ public interface TbShopSongOrderMapper {
|
||||
" a.open_id = #{openId} and a.state in (1, 2, 3)")
|
||||
List<Map<String, Object>> selectActiveOrderByUserId(@Param("openId") String openId);
|
||||
|
||||
@Select("SELECT song_name, id FROM `tb_shop_song_order` where open_id=#{openId} and state=2 limit 1")
|
||||
@Select("SELECT a.song_name songName, a.id, b.img FROM `tb_shop_song_order` as a left join tb_shop_song as b on a.song_id=b.id where open_id=#{openId} and state=2 limit 1")
|
||||
Map<String, Object> selectSinging(@Param("openId") String openId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user