diff --git a/src/main/resources/mapper/AppRegisterMapper.xml b/src/main/resources/mapper/AppRegisterMapper.xml index fe5b33b70dc3ee5d1f85cf370599bf28a2d12301..89d5f00ab6fb60a21112a33dd8cbc7f44576c5f8 100644 --- a/src/main/resources/mapper/AppRegisterMapper.xml +++ b/src/main/resources/mapper/AppRegisterMapper.xml @@ -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' and base.professional_kind like '${dto.kind}' - and g.tenant_group_name like '${dto.type}' + and base.tenant_group_code like '${dto.type}'