This commit is contained in:
xyc 2025-04-20 18:47:00 +08:00
parent dbe85b61a0
commit 331e66ee04

View File

@ -50,6 +50,7 @@
from base_company bc
left join system_tenant st on bc.tenant_id = st.id
where FIND_IN_SET(#{map.serviceCodes}, bc.service_codes) > 0
and bc.deleted = 0
<if test="map.tenantId != null">
and bc.tenant_id = #{map.tenantId}
</if>