修改企业查询信息
parent
c59fe23cac
commit
2f8ac4c78a
|
@ -52,9 +52,11 @@
|
|||
|
||||
<!-- 先查询分页的主表ID -->
|
||||
<select id="selectPageIds" resultType="java.lang.Long" parameterType="com.zcloud.modules.bussiness.dto.req.CompanyQueryDto">
|
||||
select c.id
|
||||
select distinct c.id
|
||||
from bus_company_info c
|
||||
left join bus_service_platform s on c.service_platform_id = s.id and s.is_delete = 0
|
||||
left join bus_company_third_relation st on s.id = st.service_id and c.id=st.company_id and st.is_delete = 0
|
||||
left join bus_third_platform t on t.id = st.third_platform_id and t.is_delete = 0
|
||||
<include refid="Where_Condition"></include>
|
||||
order by c.create_time desc
|
||||
limit #{offset}, #{limit}
|
||||
|
|
Loading…
Reference in New Issue