From 5acf550bccab91f50d4a93e98eec23f9cd5b733d Mon Sep 17 00:00:00 2001 From: xxxxxwwwww <3040838740@qq.com> Date: Wed, 30 Mar 2022 19:55:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/mapper/AppRegisterMapper.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/resources/mapper/AppRegisterMapper.xml b/src/main/resources/mapper/AppRegisterMapper.xml index fe5b33b..89d5f00 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}' -- 2.26.0