@@ -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}
</where>