mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-28 04:53:45 +08:00
(improvement)(headless)Decrease the number of database queries to the s2_tag table.
This commit is contained in:
@@ -117,7 +117,7 @@
|
||||
</update>
|
||||
|
||||
<select id="query" resultMap="ResultMapWithBLOBs">
|
||||
select *
|
||||
select t.*, (case when t1.id is not null then 1 else 0 end) as isTag
|
||||
from s2_dimension t
|
||||
left join (
|
||||
select *
|
||||
|
||||
Reference in New Issue
Block a user