|
|
@@ -72,7 +72,7 @@
|
|
|
|
|
|
<select id="getHubListTotal" resultType="Integer">
|
|
|
SELECT
|
|
|
- count(distinct (a.id))
|
|
|
+ count(*)
|
|
|
FROM mc_work_contact_employee AS a
|
|
|
LEFT JOIN mc_work_employee AS e ON a.employee_id = e.id
|
|
|
LEFT JOIN mc_work_contact AS c ON a.contact_id = c.id
|
|
|
@@ -105,7 +105,6 @@
|
|
|
LEFT JOIN mc_work_contact_employee_openid AS d ON d.id = a.id
|
|
|
LEFT JOIN mc_corp AS p ON p.id = a.corp_id
|
|
|
where 1 = 1 AND ${ew.sqlSegment}
|
|
|
- group by a.id
|
|
|
LIMIT #{limit} offset #{offset}
|
|
|
</select>
|
|
|
|