diff --git a/mhd-user-center/src/main/resources/mapper/UserMapper.xml b/mhd-user-center/src/main/resources/mapper/UserMapper.xml index a0799d041..7255f64c7 100644 --- a/mhd-user-center/src/main/resources/mapper/UserMapper.xml +++ b/mhd-user-center/src/main/resources/mapper/UserMapper.xml @@ -264,8 +264,8 @@ - and a.organization_id = #{organizationId} - and a.organization_name IS NOT NULL + and (a.organization_id = #{organizationId} + or b.ORG_CODE like concat('%', to_char(#{organizationId}), '%'))