hym 4 rokov pred
rodič
commit
434c2544e9

+ 1 - 1
user_center/src/main/resources/mapper/UserGroupMapper.xml

@@ -227,7 +227,7 @@
           and  b.GROUP_ID is null
         </if>
         <if test="tenantId != null and tenantId != ''">
-            and TENANT_ID = #{tenantId}
+            and a.TENANT_ID = #{tenantId}
         </if>
     </select>
     <update id="deleteUserGroupRelations">