|
|
|
@@ -1011,8 +1011,8 @@ |
|
|
|
|
|
|
|
<select id="findImportUserCount" resultType="java.lang.Long"> |
|
|
|
SELECT count(distinct cubi.id) FROM wx_c_user_basic_info cubi |
|
|
|
left join wx_c_user cu on cubi.id=cu.user_id where cu.id is null |
|
|
|
where 1=1 |
|
|
|
left join wx_c_user cu on cubi.id=cu.user_id |
|
|
|
where cu.id is null |
|
|
|
<if test=" null != finalTenantId and '' != finalTenantId"> |
|
|
|
and cubi.`final_tenant_id` = #{finalTenantId} |
|
|
|
</if> |
|
|
|
@@ -1020,8 +1020,8 @@ |
|
|
|
|
|
|
|
<select id="findImportUserCount1" resultType="java.lang.Long"> |
|
|
|
SELECT count(distinct cubi.id) FROM wx_c_user_basic_info cubi |
|
|
|
left join wx_c_user cu on cubi.id=cu.user_id where cu.id is null |
|
|
|
where 1=1 |
|
|
|
left join wx_c_user cu on cubi.id=cu.user_id |
|
|
|
where cu.id is null |
|
|
|
<if test=" null != tenantId and '' != tenantId"> |
|
|
|
and cu.`tenant_id` = #{tenantId} |
|
|
|
</if> |
|
|
|
|