@ -221,14 +221,6 @@
<if test='null != endDate'>
and l.LOGIN_TIME <= #{endDate}
</if>
<choose >
<when test='isActivity!= null and isActivity == "1" and isActivity.trim() != ""'>
AND l.AGENCY_ID is NOT NULL
</when>
<otherwise>
AND l.AGENCY_ID is NULL
</otherwise>
</choose>
GROUP BY
a.ID
) t;