- SELECT DISTINCT t.account_id as 'accountId' from ctop_user_allocation t
+ SELECT DISTINCT t.account_id as 'accountId' from ctop_user_allocation t where account_status=0
</select>
<select id="getKuaiShouGroup" resultType="Map">
SELECT t1.account_id as 'accountId',t1.auth_name as 'accountName',t1.user_name as 'userName',t.unit_id as 'unitId',t.group_create_time as 'groupCreatTime',DATE_FORMAT(DATE_ADD(t.group_create_time,INTERVAL 7 DAY),'%Y-%m-%d') as 'afterTime'