(improvement)(headless)Decrease the number of database queries to the s2_tag table.

This commit is contained in:
jerryjzhang
2024-08-08 13:56:59 +08:00
parent 9dbc8657e2
commit 794a448619
8 changed files with 9 additions and 88 deletions

View File

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