Commit 3ee00bfc authored by 郭凡凡's avatar 郭凡凡

右侧列表

parent ddb7485f
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
otb.obj_id,otb.tenant_code,otb.tenant_name,otg.tenant_group_name,otb.tenant_url,ote.cluster_name,ote.space_name, otb.obj_id,otb.tenant_code,otb.tenant_name,otg.tenant_group_name,otb.tenant_url,ote.cluster_name,ote.space_name,
otb.tenant_zone,otb.tenant_ctime,otb.tenant_unit otb.tenant_zone,otb.tenant_ctime,otb.tenant_unit
from ocp_tenant_base otb from ocp_tenant_base otb
join ocp_tenant_extent ote on otb.tenant_code=ote.tenant_code
join ocp_tenant_group otg on otb.tenant_group_code =otg.tenant_group_code join ocp_tenant_group otg on otb.tenant_group_code =otg.tenant_group_code
left join ocp_tenant_extent ote on otb.tenant_code=ote.tenant_code
WHERE otg.is_delete=0 WHERE otg.is_delete=0
<if test="apiGroupCodeList !=null "> <if test="apiGroupCodeList !=null ">
and otb.tenant_group_code in and otb.tenant_group_code in
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</foreach> </foreach>
</if> </if>
<if test="tenantUnit !=null and tenantUnit!=''"> <if test="tenantUnit !=null and tenantUnit!=''">
and otb.tenant_unit = #{tenantUnit} and otb.tenant_unit = #{tenantUnit}
</if> </if>
<if test="startCTime !=null "> <if test="startCTime !=null ">
...@@ -66,9 +66,9 @@ ...@@ -66,9 +66,9 @@
<if test="keyword !=null and keyword != '' "> <if test="keyword !=null and keyword != '' ">
and otb.tenant_name like CONCAT('%', #{keyword}::text,'%') and otb.tenant_name like CONCAT('%', #{keyword}::text,'%')
</if> </if>
<!-- <if test="keyword !=null and keyword != '' ">--> <!-- <if test="keyword !=null and keyword != '' ">-->
<!-- and otb.tenant_code like CONCAT('%', #{keyword}::text,'%')--> <!-- and otb.tenant_code like CONCAT('%', #{keyword}::text,'%')-->
<!-- </if>--> <!-- </if>-->
</select> </select>
<select id="selectRegister" resultType="com.pms.ocp.model.entity.OcpTenantGroup"> <select id="selectRegister" resultType="com.pms.ocp.model.entity.OcpTenantGroup">
select * from ocp_tenant_group where is_delete = 0 select * from ocp_tenant_group where is_delete = 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment