Commit 5acf550b authored by xxxxxwwwww's avatar xxxxxwwwww

修改

parent 803d18fe
......@@ -13,13 +13,12 @@
from ocp_tenant_base base
INNER JOIN ocp_tenant_iocn icon ON base.tenant_code = icon.code_no
INNER JOIN ocp_tenant_extent extent ON extent.tenant_code = base.tenant_code
INNER JOIN ocp_tenant_group g ON g.tenant_group_code = base.tenant_group_code
WHERE icon.iocn_type = 'tenant' and icon.iocn_kind is null
WHERE icon.iocn_type = 'tenant' and icon.iocn_kind is null and base.is_delete = '0'
<if test="dto.kind != null and dto.kind != ''">
and base.professional_kind like '${dto.kind}'
</if>
<if test="dto.type != null and dto.type != ''">
and g.tenant_group_name like '${dto.type}'
and base.tenant_group_code like '${dto.type}'
</if>
</select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment