更新
This commit is contained in:
parent
dbe85b61a0
commit
331e66ee04
@ -50,6 +50,7 @@
|
|||||||
from base_company bc
|
from base_company bc
|
||||||
left join system_tenant st on bc.tenant_id = st.id
|
left join system_tenant st on bc.tenant_id = st.id
|
||||||
where FIND_IN_SET(#{map.serviceCodes}, bc.service_codes) > 0
|
where FIND_IN_SET(#{map.serviceCodes}, bc.service_codes) > 0
|
||||||
|
and bc.deleted = 0
|
||||||
<if test="map.tenantId != null">
|
<if test="map.tenantId != null">
|
||||||
and bc.tenant_id = #{map.tenantId}
|
and bc.tenant_id = #{map.tenantId}
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user