hym пре 4 година
родитељ
комит
f5adf83b06
1 измењених фајлова са 3 додато и 3 уклоњено
  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>