Selaa lähdekoodia

增加租户标识

hym 4 vuotta sitten
vanhempi
commit
f5adf83b06
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      user_center/src/main/resources/mapper/OrgMapper.xml

+ 3 - 3
user_center/src/main/resources/mapper/OrgMapper.xml

@@ -263,12 +263,12 @@
           select ID, TENANT_ID, PARENT_ORG_ID,ORG_NAME
            from uims_org
            <where>
-               status!=-1
+              and status!=-1
                <if test="tenantId!=null ">
-                   TENANT_ID=#{tenantId}
+                  and TENANT_ID=#{tenantId}
                </if>
                <if test="orgType=='company'">
-                   ORG_TYPE=#{orgType}
+                  and ORG_TYPE=#{orgType}
                </if>
            </where>