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

右侧列表

parent ddb7485f
......@@ -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.tenant_zone,otb.tenant_ctime,otb.tenant_unit
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
left join ocp_tenant_extent ote on otb.tenant_code=ote.tenant_code
WHERE otg.is_delete=0
<if test="apiGroupCodeList !=null ">
and otb.tenant_group_code in
......@@ -66,9 +66,9 @@
<if test="keyword !=null and keyword != '' ">
and otb.tenant_name like CONCAT('%', #{keyword}::text,'%')
</if>
<!-- <if test="keyword !=null and keyword != '' ">-->
<!-- and otb.tenant_code like CONCAT('%', #{keyword}::text,'%')-->
<!-- </if>-->
<!-- <if test="keyword !=null and keyword != '' ">-->
<!-- and otb.tenant_code like CONCAT('%', #{keyword}::text,'%')-->
<!-- </if>-->
</select>
<select id="selectRegister" resultType="com.pms.ocp.model.entity.OcpTenantGroup">
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