|
|
@ -20,7 +20,6 @@
|
|
|
|
FROM sys_clients_devices_token t
|
|
|
|
FROM sys_clients_devices_token t
|
|
|
|
INNER JOIN sys_clients_devices d ON t.dev_id = d.dev_id and d.account_id=#{account_id} and d.is_offline=0
|
|
|
|
INNER JOIN sys_clients_devices d ON t.dev_id = d.dev_id and d.account_id=#{account_id} and d.is_offline=0
|
|
|
|
WHERE t.is_valid = 1
|
|
|
|
WHERE t.is_valid = 1
|
|
|
|
GROUP BY token
|
|
|
|
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="listAllTokensByClient_id" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
|
<select id="listAllTokensByClient_id" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
|