地区-增加enable状态开关

This commit is contained in:
2025-08-18 11:00:33 +08:00
parent d15f1e72d4
commit f51701efb9

View File

@@ -14,6 +14,7 @@
FROM
region_info ri
LEFT JOIN partition_info pi ON ri.partition_id = pi.id
where ri.enable = 1
order by ri.seq desc
</select>
@@ -27,8 +28,8 @@
ri.`icon`
FROM
region_info ri
where
ri.partition_flag = 0 or ri.partition_flag &amp; #{partitionId} != 0
where ri.enable = 1
and ri.partition_flag = 0 or ri.partition_flag &amp; #{partitionId} != 0
order by ri.seq desc
</select>